Re: [sage-support] Re: SageMath on Microsoft Windows

2022-02-28 Thread Eric Gourgoulhon

Le lundi 28 février 2022 à 00:26:35 UTC+1, dim...@gmail.com a écrit :

> On Sun, Feb 27, 2022 at 11:21 PM Fernando Gouvea  
> wrote: 
> > 
> > Ubuntu includes python3, but not python without a number. I guess I 
> could make a symlink? 
>
> yes, this will solve this problem. 
>

 Alternatively, you can install the Ubuntu package python-is-python3, which 
makes the symlink for you. 

Eric.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/a0080c4a-5861-4522-a751-5edb69b405a4n%40googlegroups.com.


Re: [sage-support] nonlinear equation system

2022-02-28 Thread Dima Pasechnik
On Mon, Feb 28, 2022 at 7:24 AM cyrille.piate...@univ-orleans.fr
 wrote:
>
> I am not a mathematician but what seems obvious is that you have 8 equations 
> with 8 variables. You could conjecture there is at least a real solution even 
> if there could be 8. But, your system is highly nonlinear.

Generically, one might expect up to 2^8 solutions here (8 variables, 8
equations of degree 2).
This is called Bezout theorem.
No guarantee that any solution is real, though.



 So you can not expect a solution by quadrature. You must try to solve
you system numerically.
>
>
> - Mail d’origine -
> De: Scott Wilson 
> À: sage-support 
> Envoyé: Sun, 27 Feb 2022 20:40:43 +0100 (CET)
> Objet: [sage-support] nonlinear equation system
>
> Hello, I am new to sage math and tried to get the solution to the following 
> nonlinear equation system. Sage has been working on this since yesterday and 
> I am wondering how long I should typically wait. All comments are 
> appreciated. Thanks in advance.
>
> var('A B E F I J R T')
>
> eq1 = A*E-B^2-B*F+E^2==1
> eq4 = A*I-B*J+I^2+R^2==-1/2
> eq5 = A*R-B*T+2*R*I==0
> eq6 = B*I-E*J+I*J+R*T==0
> eq8 = -B*R+E*T-R*J-I*T==0
> eq9 = E*I-F*J+J^2+T^2==1/2
> eq11 = -E*R+F*T-2*T*J==0
> eq12 = I^2-R^2-J^2+T^2==-1
>
> solve([eq1,eq4,eq5,eq6,eq8,eq9,eq11,eq12],A,B,E,F,I,J,R,T)
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/47695a04-777d-4fbb-af5d-7371db01a31an%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/599338425.36980299.1646033057570.JavaMail.zimbra%40univ-orleans.fr.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2J7z%3DmeT%3DhspQtHq9v4nYMijE-R2-ZVqN70LTUg64HWw%40mail.gmail.com.


Re: [sage-support] Re: mathematica_free error

2022-02-28 Thread Henri Girard
Jupyter notebook works with wolfram engine 13 on ubuntu (gwls2 and 
ubuntu22.04 i am using), but maybe it shouldn't be difficult to adapt it ?


I am not good enaugh for this but I think we are on a near way ?

Le 28/02/2022 à 17:52, Emmanuel Charpentier a écrit :



Le dimanche 20 février 2022 à 11:24:51 UTC+1, dim...@gmail.com a écrit :

On Sat, Feb 19, 2022 at 12:54 PM Emmanuel Charpentier
 wrote:
>
> I have had similar problems. Wolfram may have changed (again !)
something in their output format... Since I know zilch about HTML
mysteries and miseries, I can't offer anything but my warmest
condolences...

By the way, has anyone tried https://www.wolfram.com/engine/ ?
We can think of making an interface to it, as it's a free and locally
installable.


[ Sorry for the late answer : I moved (only a couple miles, bit that's 
still a quarter of a century of life...), and I managed to dig up my 
computer from the resulting mess only this morning... :-) ]


Yes, yes, yes : easy comparison to Wolfram's (Mathematica's) result 
may be important in various contexts (and may offer a solution where 
none of Sage's tools works, e. g. various primitive search problems).


A "nice" presentation could be, like our current Mathematica 
interface,  a standard package compilable without Wolfram Engine 
having to be present on the target machine, giving an informative 
error message if called on a machine without the engine, but giving 
back the expected result if present.


The documentation should include (a pointer to) instructions on how to 
install the Wolfram engine.


That could revive my log of untranslatable Mathematica results, for 
which I have some proposals (but didn't bother to formally file, since 
enhancing access to a non-free product may not be a priority...). If 
something gratis, not (too much) encumbered and not-too-hard to 
install  can  be obtained without too much hassle, that should become 
a priority.



Dima
>
> Le lundi 14 février 2022 à 17:17:20 UTC+1, rodrigos...@gmail.com
a écrit :
>>
>> Good afternoon,
>>
>> In this worksheet, the algorithm mathematica_free of integrate
returns the following error:
>>
>> Error in lines 2-2 Traceback (most recent call last): File
"/cocalc/lib/python3.9/site-packages/smc_sagews/sage_server.py",
line 1230, in execute exec( File "", line 1, in  File
"sage/symbolic/expression.pyx", line 13138, in
sage.symbolic.expression.Expression.integral
(build/cythonized/sage/symbolic/expression.cpp:95197) return
integral(self, *args, **kwds) File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/symbolic/integration/integral.py",
line 1047, in integrate return integrator(expression, v, a, b)
File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/symbolic/integration/external.py",
line 127, in mma_free_integrator all_outputs =
parse_moutput_from_json(json_page_data) File

"/ext/sage/9.5/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/interfaces/mathematica.py",
line 1235, in parse_moutput_from_json raise ValueError('json
object contains no pods') ValueError: json object contains no pods
>>
>> Why is this happening?
>
> --
> You received this message because you are subscribed to the
Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from
it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/06a0ded3-42e2-4e76-b2e1-db466b3c5fean%40googlegroups.com.


--
You received this message because you are subscribed to the Google 
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/df320e87-74c1-4555-8d80-2805e375bdb3n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/398606e0-4a8a-f2f4-c908-bcc1c915a856%40gmail.com.


Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread John H Palmieri
Should there be a small list of functions which we import automatically? 
For example in sage.all we could do: "from numpy import mean, median". It 
seems strange to not have a top-level "mean" or "median" function, given 
all of the other esoteric top-level functions.


On Friday, February 25, 2022 at 10:28:17 PM UTC-8 Matthias Koeppe wrote:

> On Friday, February 25, 2022 at 8:32:39 PM UTC-8 wst...@gmail.com wrote:
>
>> Also, if you want to argue that users should explicitly import 
>> everything...
>
>
> No, that's not what I'm arguing. 
>
> The deprecation of the basic_stats module happened because Sage has 
> nothing to offer in this area;
> it's a module with 5 functions that hasn't seen development since 2009. 
> Underdeveloped modules like this reflect poorly on the rest of Sage.
>
> It's a disservice to learners to offer these facilities of Sage as the 
> standard vocabulary of doing basic stats on the computer.
> They will be better off with virtually any other solution: With the 
> built-in stats module of Python; with Numpy/SciPy; with Pandas; with R.
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ad50aa77-c5fc-4b6d-8b2b-c364518b83bcn%40googlegroups.com.


Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread Kwankyu
Here is the ticket for this:

https://trac.sagemath.org/ticket/33432

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/9d5e6b77-40b3-4a20-94bb-fe4bc9e5d4f9n%40googlegroups.com.


Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread Matthias Koeppe
The functionality has not been removed. We can do a slower deprecation 
here, i.e., not remove the module after a year, but perhaps after n years.

On Monday, February 28, 2022 at 3:26:08 PM UTC-8 John H Palmieri wrote:

> Should there be a small list of functions which we import automatically? 
> For example in sage.all we could do: "from numpy import mean, median". It 
> seems strange to not have a top-level "mean" or "median" function, given 
> all of the other esoteric top-level functions.
>
>
> On Friday, February 25, 2022 at 10:28:17 PM UTC-8 Matthias Koeppe wrote:
>
>> On Friday, February 25, 2022 at 8:32:39 PM UTC-8 wst...@gmail.com wrote:
>>
>>> Also, if you want to argue that users should explicitly import 
>>> everything...
>>
>>
>> No, that's not what I'm arguing. 
>>
>> The deprecation of the basic_stats module happened because Sage has 
>> nothing to offer in this area;
>> it's a module with 5 functions that hasn't seen development since 2009. 
>> Underdeveloped modules like this reflect poorly on the rest of Sage.
>>
>> It's a disservice to learners to offer these facilities of Sage as the 
>> standard vocabulary of doing basic stats on the computer.
>> They will be better off with virtually any other solution: With the 
>> built-in stats module of Python; with Numpy/SciPy; with Pandas; with R.
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/22239d79-cab8-46bd-b6ff-e698441666c9n%40googlegroups.com.