Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For one, because you can't transpose lists. Secondly, you should take the (single) entry of c*aa.

aa = vector(var('delta_%d' % i) for i in (0..2))
c = n(matrix(1,3,(-0.5,0.2,.3)),2)
U = e^((c*aa)[0])
show(U)

e(0.50δ0+0.19δ1+0.25δ2)

(Note that you specified 2 bits of precision with n.)