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

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 r⁢x⁢c Matrix in which all the entries are zero.

  

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

  

The ZeroMatrix() command returns an 0⁢x⁢0 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

> 

with⁡StudentLinearAlgebra:

> 

ZeroMatrix⁡4

0000000000000000

(1)
> 

ZeroVectorrow⁡3

000

(2)
> 

ZeroVector⁡2

00

(3)

See Also

LinearAlgebra[ZeroMatrix]

Student[LinearAlgebra]