I'm using sympy to generate some latex output, and I would like to create
an expression by multiplying several matrices, but I don't want it to
simply the expression.
A simple example:
I have
x, y, ori = sympy.symbols('x y ori')
T = Matrix([
[1, 0, -x],
[0, 1, -y],
[0, 0, 1]])
R = Matr
I have a matrix equation where it would be useful for the output to have a
-theta inside a sine operation. However, whenever I type sympy.sin(-theta)
it always expands to -sin(theta). Is there any way to disable this?
--
You received this message because you are subscribed to the Google Groups
I think its a pretty good idea. I'm not a sympy dev, but I stumbled on this
thread because I was looking for some way to do this.
On Tuesday, December 15, 2015 at 1:05:20 PM UTC-5, Francesco Bonazzi wrote:
>
> I started recently some work on a symbolic expression for variance and
> covariance in
I saw under http://docs.sympy.org/dev/tutorial/simplification.html#powsimp
that it is impossible to combine radicals using powersimp:
"This means that it will be impossible to undo this identity with powsimp(),
because even if powsimp() were to put the bases together, they would be
automaticall
I'm having an issue where an expresion with sympy.tensor.Indexed variables
does not seem to simplify correctly.
It is likely that I'm just doing something incorrect, so I was wondering if
anyone could help me figure this out.
I'm using sympy to just generate some simple equations based on Bayes