Home Online Manual
Top
Back: intervalmatrixInit
Forward: applyMatrix
FastBack:
FastForward:
Up: interval_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.8.2.4 unitMatrix2

Procedure from library interval.lib (see interval_lib).

Usage:
unitMatrix2(n)

Return:
nxn unit matrix

Example:
 
LIB "interval.lib";
ring R = 0,x,lp;
ivmat E = unitMatrix2(4); E;
==> [1, 1],[0, 0],[0, 0],[0, 0]
==> [0, 0],[1, 1],[0, 0],[0, 0]
==> [0, 0],[0, 0],[1, 1],[0, 0]
==> [0, 0],[0, 0],[0, 0],[1, 1]
==>