Top
Back: bigintmat declarations
Forward: bigintmat type cast
FastBack: bigint
FastForward: def
Up: bigintmat
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.3.2 bigintmat expressions

A bigintmat expression is:

  1. an identifier of type bigintmat
  2. a function returning bigintmat
  3. a bigintmat operation involving (big-)ints and int operations (+, -, *)
  4. an expression involving bigintmats and the operations (+, -, *)
  5. a type cast to bigintmat (see bigintmat type cast)


Example:
 
  bigintmat m1[2][2]=1, 2, 6, 3;
  m1*3;
==>  3,6,
==> 18,9
  intmat im[3][2] = intmat(m1*3);
  bigintmat m2 = bigintmat(im); // cast intmat im to bigintmat
  m2;
==>  3,6,
==> 18,9
  m2*m1+m2;
==> 42,30,
==> 90,72
  _+4;
==> 46, 0,
==>  0,76
See Type conversion and casting; bigintmat.


Top Back: bigintmat declarations Forward: bigintmat type cast FastBack: bigint FastForward: def Up: bigintmat Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.