Revision aeaec992a40ae3e326d6ce099f3cdbd387d982e0 (click the page title to view the current version)

call

Changes from aeaec992a40ae3e326d6ce099f3cdbd387d982e0 to current

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

**Remark**. Note that, if #*A*=1, **call**(*f*, *A*)=**apply**(*f*, *A*)[1]; but 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  

or  

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