Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-2
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
4.8.1 intvec declarations
Syntax:
intvec
name
=
intvec_expression
;
intvec
name
=
list_of_int_and_intvec_expressions
;
Purpose:
defines an intvec variable.
An intvec consists of an ordered list of integers.
Default:
0
Example:
intvec iv=1,3,5,7,8; iv; ==> 1,3,5,7,8 iv[4]; ==> 7 iv[3..size (iv)]; ==> 5 7 8
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