Top
Back: vector declarations
Forward: vector operations
FastBack: string
FastForward: User defined types
Up: vector
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.21.2 vector expressions

A vector expression is:

  1. an identifier of type vector
  2. a function returning vector
  3. a polynomial expression (via the canonical embedding p ==> p*gen(1))
  4. vector expressions combined by the arithmetic operations + or -
  5. a polynomial expression and a vector expression combined by the arithmetic operation *
  6. a type cast to vector using the brackets [ , ]


Example:
 

See Type conversion and casting; ring.


Top Back: vector declarations Forward: vector operations FastBack: string FastForward: User defined types Up: vector Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.