Top
Back: intmat type cast
Forward: intmat related functions
FastBack: int
FastForward: intvec
Up: intmat
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.6.4 intmat operations

+
addition with intmat or int; the int is converted into a diagonal intmat

-
negation or subtraction with intmat or int; the int is converted into a diagonal intmat

*
multiplication with intmat, intvec, or int; the int is converted into a diagonal intmat

div,/
division of entries in the integers (omitting the remainder)
%, mod
entries modulo int (remainder of the division)
<>, ==
comparators

intmat_expression [ intvec_expression, intvec_expression ]
is an intmat entry, where the first index indicates the row and the second the column


Example:
 


Top Back: intmat type cast Forward: intmat related functions FastBack: int FastForward: intvec Up: intmat 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.