Category "wolfram-mathematica"

Mathematica : Convert easily a Notebook format into Wolframscript (.wls) by removing all comments on real instructions lines

I have a Mathematica notebook. I would like to generate in an automatically way this notebook to a Wolfram script that I could make run directly from terminal u

Export file to serve while evaluating Wolframscript through command line

I am trying to use a server to do a set of computations for me, and then export the results as a csv to the server to then be transferred to my own computer. I

How to perform binomial-coefficient and factorial calculation with more precision?

I was comparing the result of my following python calculation with Mathematica: https://www.wolframalpha.com/input?i=sum+%28500+choose+r+%29%28-1%29%5Er+%2F%28r

How to calculate the instant rate of a gauge metric?

How can I calculate the per-second instant rate of increase of the time series in Prometheus or Grafana without using rate() or irate()? This drive function is

How to solve this multivariate recurrence with Mathematica?

I would like to solve this recurrence relation: $a_{m,n}=a_{m-1,n}+a_{m,n-1}$ with $a_{0,0}=0, a_{m,0}=1, a_{0,n}=1$ Related to the Tartaglia triangle, the sol

Is there any way to integrate spherical harmonics over the surface of a unit sphere in python?

I am trying to integrate this in Python f1 = lambda phi, theta: ( np.conj(sph_harm(m1, l1, theta, phi)) \ * sph_harm(m2, l2, theta, p

Visual representation of a Ranking over time (image provided)

The graph below shows a ranking of countries at 10 different points. The cool thing with this graph is that it allows you to track changes in the ranking over t