Timeline for Is there any way that convert entire mathematica code to java or python?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 24, 2019 at 11:35 | comment | added | axelclk | There are some libraries which may help to port some small programs to other languages. | |
Jan 16, 2019 at 15:35 | answer | added | Somos | timeline score: 3 | |
Jan 16, 2019 at 15:00 | history | tweeted | twitter.com/StackMma/status/1085552373307764736 | ||
Jan 16, 2019 at 10:16 | history | edited | b3m2a1 |
edited tags
|
|
Jan 16, 2019 at 10:14 | comment | added | b3m2a1 | There's no built-in way (and for many things there isn't a standard correspondence), but instead of trying to make your Mathematica code look like python code (I did that when I first switched over and it's a terrible experience and gives you slow code) I would suggest that you look up Functional Programming in a context you're more familiar with. Mathematica is primarily a functional programming language and using it as such will make you code cleaner, faster, and just generally make your life better. | |
Jan 16, 2019 at 9:21 | comment | added | Kuba | Maybe some day: mathematica.stackexchange.com/q/173256/5478 | |
Jan 16, 2019 at 6:30 | history | edited | David G. Stork | CC BY-SA 4.0 |
deleted 35 characters in body
|
Jan 16, 2019 at 6:24 | comment | added | David G. Stork | Nope... and it would be a waste of time anyway. Mathematica is SOOO much more powerful than those languages that a single Mathematica function would need tens of thousands of lines in other languages. And then there is curated data. Etc. Learn how to use Mathematica and its tracing functions. MUCH better approach. | |
Jan 16, 2019 at 4:27 | comment | added | Nasser |
no. There is no way. Try to do it by hand. But how will you convert DSolve[] to Java? Or how will you convert Integrate or Simplify and the thousands of commands in Mathematica to Java? If the code contains no calls to Mathematica special build-in commands such as the above, but contains only basic commands, such as Table , Print , If etc..., then it can be possible to convert manually.
|
|
Jan 16, 2019 at 4:00 | review | First posts | |||
Jan 16, 2019 at 8:42 | |||||
Jan 16, 2019 at 3:56 | history | asked | Cecelia | CC BY-SA 4.0 |