like basically, why don't the piecewise functions collapse to scalars? This should result in the same output, no? M_vec(x) = vector([M_Tx(x), M_by(x), M_bz(x)]).column() M_vec(x = l1) M_vec_l1 = vector([M_Tx(l1), M_by(x=l1), M_bz(x=l1)]).column() M_vec_l1
gives instead [ piecewise(x|-->238.732400000000 on [0, 200], x|-->0 on (200, 450); x)] [ piecewise(x|-->-4.27033333333333*x on [0, 200], x|-->3.41626666666667*x - 1537.32000000000 on (200, 450); x)] [piecewise(x|-->-0.983311111111111*x on [0, 200], x|-->1.07628888888889*x - 484.330000000000 on (200, 450); x)] [ 238.732400000000] [-854.066666666667] [-196.662222222222] -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.