Skip to main content

Questions tagged [python]

A general purpose high-level programming language that emphasizes ease of code syntax and readability.

0 votes
1 answer
70 views

I am trying to implement the Complex and Real Schur Decompositions using only the Keras Ops API, so I can utilize it to impose some eigenvalue constraints on a weight matrix. I am also using the JAX ...
DMDemon's user avatar
  • 21
3 votes
1 answer
68 views

I’m implementing a 3D Laplace Fast Multipole Method in Python and I’m trying to validate my P2M, potential evaluation, and M2M steps against direct summation. P2M + evaluation agree with direct ...
Michael Haahr's user avatar
0 votes
0 answers
59 views

I'm reading through this research paper, and from section 2, I have deduced that the Finite Fourier Sine Transform along $0\le x\le L_x$ is formulated as $$F(m) = \frac{2}{L_x}\int_0^{L_x} f(x) \sin\...
Researcher R's user avatar
1 vote
1 answer
82 views

I am currently struggling with the implementation of the compressible Navier–Stokes equations in my research work. To simplify the problem as much as possible, I reformulated it as a textbook-like ...
Ev0Cation's user avatar
2 votes
1 answer
121 views

I have found this paper: http://www.unige.ch/math/folks/velenik/Vulg/Paninimania.pdf On page 4 I am trying to turn this: into python code but I do not get the correct answer, I have 'The result of ...
gregb's user avatar
  • 21
2 votes
0 answers
107 views

I'm trying to model temperature inside a container given outside temperature and an internal heat source. The problem is that when the heat source is switched on (on the 10 hour mark) there is an ...
fountain3's user avatar
2 votes
1 answer
114 views

I'm implementing in Python the split-step Fourier method (SSFM) to solve the non-linear envelope propagation equation (NEE), and I'm including second and third order dispersion (GDD, TOD), self-phase ...
Lorenzo Iori's user avatar
3 votes
1 answer
210 views

I wanted to try numerical analysis of a chaotic system. So I decided to write my own code for the Poincaré section of a double pendulum in Python. The code works and the Poincaré section should be ...
Dávid Jopek's user avatar
0 votes
0 answers
35 views

I am trying to use M.E.S.S. (Matrix Equation Sparse Solver) to solve large scale sparse Lyapunov equations, see here. In particular I installed the python wrapper ...
User341562's user avatar
0 votes
1 answer
198 views

I wrote a symbolic regression tool in Python. It is possible to give unary and binary operators. If nothing is specified, I want to determine potential operators. So, I want to know if there is an ...
P'tit Ju's user avatar
0 votes
0 answers
32 views

I am expecting a corresponding /GRSHEL or /GRSH3N keyword for a surface physical group. The surface group is exported correctly with the gui program by following this guide https://openradioss....
godblessfq's user avatar
1 vote
1 answer
161 views

I have this Exercise in my Numerical Optimization class and here it is: In this exercise, you will consider the ridge regression problem: $$\min_{x \in \mathbb{R}^n}\frac{1}{2}\|Ax-y\|^2_2+\frac{\...
Sid Meka's user avatar
1 vote
1 answer
218 views

Background I have an intermediate level of experience implementing the 2 dimensional advection-diffusion equation in Python. As far as I'm aware, the general practice is to frame the simulation as a ...
Abhi's user avatar
  • 13
2 votes
1 answer
155 views

I have learnt scientific computing back in the time when C and C++ were the thing, and I'm relatively new to ...
Joce's user avatar
  • 384
0 votes
1 answer
91 views

I need to extrapolate in Python a lookup table of 6 input params and 1 dependent variable. The RESULT parameter was obtained for the CRY values between 9 and 15. Need to extrapolate it between 15 and ...
user2018915's user avatar

15 30 50 per page
1
2 3 4 5
66