Revision 5ebb19459777660c32e2ac5958c39c62cf3f07b4 (click the page title to view the current version)

call

Changes from 5ebb19459777660c32e2ac5958c39c62cf3f07b4 to 09e53909c811194829242b7312ac28251075efcf

**call**(*f*,*A*). **A** being a vector, evaluate **f(A[1],...,A[#A])**.

Remark. Unlike apply, call can be used if the function **f** needs several arguments. For example :

>? printc(x[..])=call(printsep,[":",x]);
>? printc(1,2,3)
>1:2:3
>? printc(x[..])=call(printsep,[":",x]);  
>? printc(1,2,3)  
>1:2:3  

or
or  

>? call(idealprimedec,[nfinit(x^2+1),3])
>%1 = [[3, [3, 0]~, 1, 2, 1]]
>? call(idealprimedec,[nfinit(x^2+1),3])  
>%1 = [[3, [3, 0]~, 1, 2, 1]]