Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-0
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
4.16.2 proc expression
Syntax:
variable_name
-> {
expression(s)
}
Purpose:
Defines a new function, within
apply
or for assigning.
Example:
apply(1..3,x->{x**2}); ==> 1 4 9
See
apply
;
proc
.
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal