|
4.3.2 bigintmat expressions
A bigintmat expression is:
-
an identifier of type bigintmat
-
a function returning bigintmat
-
a bigintmat operation involving (big-)ints and int operations (
+ , - , * )
-
an expression involving bigintmats and the operations (
+ , - , * )
-
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.
|