Student[LinearAlgebra] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Constructors : Student/LinearAlgebra/RandomMatrix

Student[LinearAlgebra]

  

RandomMatrix

  

construct a random Matrix

  

RandomVector

  

construct a random Vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RandomMatrix(r, c, options)

RandomVector[o](d, options)

Parameters

r

-

non-negative integer; row dimension of the resulting Matrix

c

-

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

[o]

-

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

d

-

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

options

-

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

Description

• 

The RandomMatrix(r, c) command returns an rxc Matrix in which all entries have integer values in the range 99..99.

  

The RandomMatrix(r) command returns an rxr Matrix in which all entries have integer values in the range 99..99.

• 

The RandomVector(d) command returns a d-dimensional Vector in which all entries have integer entries in the range 99..99.

  

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

  

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

Examples

withStudent[LinearAlgebra]:

RandomVector2

3167

(1)

RandomVector[row]6

86999294492

(2)

RandomMatrix3,4

9827727477932457763227

(3)

See Also

LinearAlgebra[RandomMatrix]

Student[LinearAlgebra]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam