Top
Back: string related functions
Forward: vector declarations
FastBack: string
FastForward: Functions and system variables
Up: Data types
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

4.18 vector

Vectors are elements of a free module over the basering with basis gen(1), gen(2), ... . Each vector belongs to a free module of rank equal to the biggest index of a generator with non-zero coefficient. Since generators with zero coefficients need not be written any vector may be considered also as an element of a free module of higher rank. Like polynomials they can only be defined or accessed with respect to the basering. (E.g., if f and g are polynomials then f*gen(1)+g*gen(3)+gen(4) may also be written as [f,0,g,1] or as [f,0,g,1,0].) Note that the elements of a vector have to be surrounded by square brackets ([ , ]) (cf. Representation of mathematical objects).

4.18.1 vector declarations  
4.18.2 vector expressions  
4.18.3 vector operations  
4.18.4 vector related functions  


Top Back: string related functions Forward: vector declarations FastBack: string FastForward: Functions and system variables Up: Data types Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.