> So I wouldn't worry about performance of subtractIfCan$Vector, people > should always use subtractIfCan$DirectProduct if they care about speed.
Correction: there's no subtractIfCan for Vector. I though Ralf was talking about Vector. Ralf's idea is generally good, except that "allocatedVectors: List %" is too complex, "tmp : %" is enough. Function 'recip' can also use this trick. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" 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 https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
