Skip to main content

Questions tagged [python]

Questions about interfacing with, or features inspired or demonstrated by Python--a programming language featuring a dynamic type system, automatic memory management, and a comprehensive standard library.

10 votes
1 answer
373 views

I am working on a Mathematica package for knot theory that combines functionality of several other packages. Two notable examples are SnapPy and Regina. Fortunately, both have a rich Python interface ...
Henrik Schumacher's user avatar
7 votes
3 answers
466 views

In Python there are very easy to use and efficient libraries for surface parametrization (for instance igl). I wonder if in Mathematica we have a ready-made implementation. The parametrization is ...
Daniel Castro's user avatar
0 votes
0 answers
72 views

I have two mathematically equivalent latex strings ...
Kevin Powell's user avatar
0 votes
0 answers
86 views

I am trying to register an external installation of Python 3.13 to be usable through ExternalEvaluate in Mathematica v14. After running FindExternalEvaluators["Python"], I can see the ...
user107868's user avatar
5 votes
0 answers
165 views

There is a book on dynamic programming. There is an introduciton chapter on simple cake-eating problem. The model is $$\max_{\{c_t\}} \sum_{t=0}^\infty \beta^t u(c_t) \quad \text{s.t.} \quad x_{t+1} = ...
garej's user avatar
  • 5,017
2 votes
0 answers
46 views

session = StartExternalSession["Python"] starts a python session on the local machine. ...
StackExchanger's user avatar
2 votes
0 answers
76 views

How can I call a function made with Compile in Python, Is it possible to just save it using LibraryGenerateand call the ...
Felipe's user avatar
  • 729
1 vote
1 answer
153 views

I have the following snippet written in Python that I want to run in Mathematica ...
QFTheorist's user avatar
4 votes
1 answer
239 views

I have worked out a (regrettably rather laborious and seemingly irreducible) expression in Mathematica. I'd like to use this expression in a ...
IntegerEuler's user avatar
2 votes
0 answers
477 views

I have very large expressions in Mathematica which I need to convert to python for fast numerical computations. Is there a way to do it automatically. I dont want to type it manually. It will take me ...
Lelouch's user avatar
  • 151
0 votes
0 answers
45 views

Consider the following data: ...
John Taylor's user avatar
  • 6,063
7 votes
2 answers
624 views

I want to do something like this: ...
Haoen Zhang's user avatar
3 votes
1 answer
171 views

I'm trying to simulate with python and Mathematica, Python need to generate and save some pictures to the directory of current mma notebook, I know the function that ...
Yao Li's user avatar
  • 111
0 votes
1 answer
236 views

I have an enormous algebraic expression in Mathematica that I want to export to Python. The expression per se is not complicated, more like a polynomial, but it contains some special functions defined ...
SNC92's user avatar
  • 63
3 votes
0 answers
75 views

I have a CompiledFunction e.g. this: ...
Okarin's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
18