Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Call-a-function/PARI-GP/call-a-function.parigp
Normal file
7
Task/Call-a-function/PARI-GP/call-a-function.parigp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
f(); \\ zero arguments
|
||||
sin(Pi/2); \\ fixed number of arguments
|
||||
vecsort([5,6]) != vecsort([5,6],,4) \\ optional arguments
|
||||
Str("gg", 1, "hh") \\ variable number of arguments
|
||||
call(Str, ["gg", 1, "hh"]) \\ variable number of arguments in a vector
|
||||
(x->x^2)(3); \\ first-class
|
||||
x = sin(0); \\ get function value
|
||||
Loading…
Add table
Add a link
Reference in a new issue