Great idea. Tim Daly has long been asking people around here to
contribute to the Rosetta Stone [1].
Jason
[1] http://axiom-developer.org/axiom-website/rosetta.html or
http://www.univ-orleans.fr/EXT/ASTEX/astex/doc/en/rosetta/htmla/roseta.htm
-- I'm not sure where the original source is or how to add things to it.
Such a document would be nice...but I remember when I decided to learn
emacs (after many years with vim). I found a couple such "dictionaries",
but ultimately they weren't that helpful. You just need to think a
little differently when using emacs rather than vim.
But as a starting point, such a document would be useful. Just make sure
to point people to a Python tutorial as well!
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
It would have the additional value of uncovering functionality that is
missing in Sage, but which should be there.
-- William
>
> Dan
>
> --
> --- Dan Drake
> ----- http://mathsci.kaist.ac.kr/~drake
> -------
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Is it possible to run the above commands if I don't have mathematica?
Rajeev
You can run them, but you'd get the following.
sage: m = mathematica('Sin[Sqrt[1-x^2]] * (1 - Cos[1/x])^2')
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
TypeError: Unable to start mathematica because the command 'math'
failed.
In order to use the Mathematica interface you need to have Mathematica
installed and have a script in your PATH called "math" that runs the
command-line version of Mathematica. Alternatively, you could use a
remote connection to a server running Mathematica -- for hints, type
print mathematica._install_hints_ssh()
(1) You might have to buy Mathematica (http://www.wolfram.com/).
(2) * LINUX: The math script comes standard with your Mathematica
install.
* APPLE OS X:
(a) create a file called math (in your PATH):
#!/bin/sh
/Applications/Mathematica\ 5.2.app/Contents/MacOS/
MathKernel $@
Note that the 5.2 part will depend on the version of
Mathematica you have, and the above path could be different
if you installed mathematica elsewhere.
(b) Make the file executable.
chmod +x math
* WINDOWS:
Install Mathematica for Linux into the VMware virtual machine
(sorry,
that's the only way at present).
However, if you have remote access to a machine with Mathematica
installed, you could do as above by installing Sage on it.
Could Rajeev even set the 'math' script on his home computer in such a
way that it called a remote installation of Mma? (Which probably
violates the user license, but just to know...)
Hi,
> However, if you have remote access to a machine with Mathematica
> installed, you could do as above by installing Sage on it.
>
> Could Rajeev even set the 'math' script on his home computer in such a
> way that it called a remote installation of Mma? (Which probably
> violates the user license, but just to know...)
This is working on my Institute computer with access to Mathematica. I
was thinking about using it on my laptop while I am away from my
Institute. I think it is desirable that sage is able to translate a
piece of Mathematica code to Sage code even if one doesn't have
Mathematica.
Rajeev
Actually, I think you *can* do that. You'd have to read the Mma
interface docs, but I don't see why this wouldn't be possible.