10-11-2018, 01:00 PM
10-12-2018, 08:43 PM
(10-11-2018 01:00 PM)SpendTimeForPrime Wrote: [ -> ]Is it possible to use map- and apply- commands for programming or they just work for CAS?
Thank you
you can use // NOT TESTED
Code:
#cas
MapApply(VecM,VecA):=
BEGIN
VecA:=apply(x->x^3,VecA);
VecM:=map(VecM,x->x^3);
RETURN VecM+VecA;
END;
#end
check the details using [Help ] and User Guide