This is the closest thing. It is only in the development version of SymPy,
but 1.10 will be released with it soon.
https://docs.sympy.org/dev/modules/polys/numberfields.html#p-adic-valuation
Depending on what you want to do you can easily define your own by
subclassing Function and defining the ap
Hi, does sympy have hyperexponential probability distribution? If not, any
help as to how to set it up to run its PDF, CDF and plot histogram?
Thanks
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving ema
Hi, googling turns up nothing.
Was wondering if Sympy has a v_2(n) function such that it's part of the
expression tree and so Sympy knows about rules such as v_2's complete
additivity, i.e. v_2(xy) = v_2(x) + v_2(y) and so on and can thus simplify
expressions involving it if possible.
Thanks!
Do you maybe have smart quotes around the m in the symbols arg?
/c
On Friday, February 11, 2022 at 4:14:31 PM UTC-6 thomas...@gmail.com wrote:
> I have a test program:
>
> from sympy import symbols, Rational
> m = symbols('m')
> temp = Rational(0)
> temp = temp.subs(m, m)
> temp = 0
> temp = tem