ZeroMatrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

ZeroMatrix

  

construct a zero Matrix

  

ZeroVector

  

construct a zero Vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ZeroMatrix(r, c, options)

ZeroVector[o](d, options)

Parameters

r

-

(optional) non-negative integer; row dimension of the resulting Matrix

c

-

(optional) non-negative integer; column dimension of the resulting Matrix

d

-

(optional) non-negative integer; dimension of the resulting Vector

[o]

-

(optional) use either [row] or [column] to specify the orientation of the resulting Vector

options

-

(optional) parameters; for a complete list, see LinearAlgebra[ZeroMatrix]

Description

• 

The ZeroMatrix(r, c) command returns an rxc Matrix in which all the entries are zero.

  

The ZeroMatrix(r, r) command returns an rxr Matrix in which all the entries are zero.

  

The ZeroMatrix() command returns an 0x0 Matrix.

• 

The ZeroVector(d) command returns a d-dimensional Vector in which all the entries are zero.

  

The ZeroVector[row](d) command behaves like ZeroVector(d) except that a row Vector is returned.  If the orientation option is omitted or if ZeroVector[column](d) is used, a column Vector is returned.

  

If the dimension is not provided, it defaults to zero.

Examples

withStudentLinearAlgebra:

ZeroMatrix4

0000000000000000

(1)

ZeroVectorrow3

000

(2)

ZeroVector2

00

(3)

See Also

LinearAlgebra[ZeroMatrix]

Student[LinearAlgebra]