Top
Back: bigintmat
Forward: bigintmat expressions
FastBack: bigint
FastForward: bigintvec
Up: bigintmat
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.3.1 bigintmat declarations

Syntax:
bigintmat name = bigintmat_expression ;
bigintmat name [ rows ] [ cols ] = bigintmat_expression ;
bigintmat name [ rows ] [ cols ] = list_of_int_and_bigint expressions ;
rows and cols must be positive int expressions.

Purpose:
defines a bigintmat variable.
Given a list of (big) integers, the matrix is filled up with the first row from the left to the right, then the second one and so on. If the (big-)int_list contains less than rows*cols elements, the remaining ones are set to zero; if it contains more elements, only the first rows*cols ones are considered.

Default:
empty (1x0 matrix)

Example:
 
 bigintmat bim[4][3]=2, 5, 224553233465, 232444, 434, 0, 0, 4544232222;
 bim;
==>      2,         5,224553233465,
==> 232444,       434,           0,
==>      0,4544232222,           0,
==>      0,         0,           0
 bim[2, 1];
==> 232444


Top Back: bigintmat Forward: bigintmat expressions FastBack: bigint FastForward: bigintvec Up: bigintmat Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.4.0, 2024, generated by texi2html.