Thank you. I will be sure to post my questions here...

On Wednesday, January 18, 2017 at 9:01:10 PM UTC-6, William Stein wrote:
>
> There is no such list.  Make a list of questions and we would love to 
> answer all of them!
>
> E.g., the first answer is:
>
> %time computation
>
> to time it once, and 
>
> %timeit computation
>
> to run many timings and provide an average.
>
> You can also do
>
> ---
> %time
> a bunch
> of code in a cell
> ---
>
> and
>
>
> ---
> %timeit
> a bunch
> of code in a cell
> ---
>
> in a Sage worksheet.
>
>    
> https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2017-01-18-185633-timing.sagews
>
> ---
>
> Regarding 2d and 3d graphics, things are much like mathematica, except use 
> lowercase and underscores and parenthesis, so 
>
>   ContourPlot[y^2 + 1 - x^3 - x, {y, -pi, pi}, {x, -pi, pi}]
>
> becomes
>
> %var x, y
> contour_plot(y^2 + 1 - x^3 - x, (y,-pi,pi), (x,-pi,pi))
>
> Note that you have explicitly declare x and y to be symbolic variables.
>
> Type contour_plot? to learn a lot about contour_plot, and see tons of 
> examples.  Also, a good way to find sage docs is to google for "sage" and 
> "something else"...
>
> -- William
>
> On Wed, Jan 18, 2017 at 2:17 PM <[email protected] <javascript:>> wrote:
>
>> I apologize if this has been discussed already. I tried to search the 
>> group but with no results.
>>
>> I am new to SAGE but I have used Mathematica for a long time. I wonder if 
>> there is a sort of "dictionary" Mathematica->SAGE that will allow me to 
>> quickly find how to do with SAGE what I already know how to do with 
>> Mathematica. 
>>
>> For example, right now I would like to know how long a computation takes. 
>> In Mathematica, this is done with the command Timing[computation]. How can 
>> it be done in SAGE? 
>>
>> Of course there are plenty of other Mathematica commands that I would 
>> like to "translate" to SAGE, and while the already available help pages and 
>> tutorials help, it always takes me some time to find out how to do what I 
>> already know how to do instantly in Mathematica. 
>>
>> Thank you for any help or suggestions.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>> You received this message because you are subscribed to the Google Groups 
>> "sage-cloud" group.
>>
>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>>
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-cloud/3cabe2b1-2322-4e0d-8adf-2feba0a7a9a9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-cloud/3cabe2b1-2322-4e0d-8adf-2feba0a7a9a9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/b47d2e20-0e3a-40cf-8384-56630584aea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to