oldk1331 wrote:
>
> >>> Anyway, "destructive" in FriCAS means that (some) argument may be
> >>> modified, but there is not "will be modified"
> >>
> >>I think that only holds true for List.
> >
> > No. I don't currently have an example, but to my knowledge "destructive"
> > just means that one cannot rely on the fact that the arguments are
> > unchanged. It does not necessarily mean that the arguments really "are"
> > changed.
>
> I think, except for List,
> x := funxxx!(x, restargs) can be replaced by funxxx!(x, restargs)
> Waldek, is that true? (except for split!, I think)
Well, except cases where you know that plain 'funxxx!(x, ...)' works
(like 'setelt!' on matrices) use 'x := funxxx!(x, ...)'.
--
Waldek Hebisch
--
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.