Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Statistics

New issue 3556 by [email protected]: Inconsistency with variable names in stats
http://code.google.com/p/sympy/issues/detail?id=3556

In [44]: density(Normal('X', 0, 1))
Out[44]:
 ⎛            2⎞
 ⎜          -X ⎟
 ⎜          ───⎟
 ⎜     ___   2 ⎟
 ⎜   ╲╱ 2 ⋅ℯ   ⎟
Λ⎜X, ──────────⎟
 ⎜        ___  ⎟
 ⎝    2⋅╲╱ π   ⎠

In [45]: density(Pow(Normal('X', 0, 1), 2))
Out[45]:
 ⎛             -z   ⎞
 ⎜             ──   ⎟
 ⎜        ___  2    ⎟
 ⎜      ╲╱ 2 ⋅ℯ     ⎟
Λ⎜z, ───────────────⎟
 ⎜       ___ │  ___│⎟
 ⎝   2⋅╲╱ π ⋅│╲╱ z │⎠

Why is the first one in X and the second one in z?

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to