Hi everyone Here I try to define a real value vector and find out its norm:
sage: R.<r,p>=RR[] sage: rvec=vector([r*cos(p),r*sin(p)]) sage: rr=rvec.norm() sage: rr.simplify_full() sqrt((abs(cos(p))^2 + abs(sin(p))^2)*abs(r)^2) which must be: r How can I define a vector that its norm hasn't abs() function? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
