Student[LinearAlgebra]
RandomMatrix
construct a random Matrix
RandomVector
construct a random Vector
Calling Sequence
Parameters
Description
Examples
RandomMatrix(r, c, options)
RandomVector[o](d, options)
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]
The RandomMatrix(r, c) command returns an r⁢x⁢c Matrix in which all entries have integer values in the range −99..99.
The RandomMatrix(r) command returns an r⁢x⁢r 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.
with⁡StudentLinearAlgebra:
RandomVector⁡2
−3167
RandomVectorrow⁡6
86999294492
RandomMatrix⁡3,4
−9827−72−74−77−93−2−457−76−3227
See Also
LinearAlgebra[RandomMatrix]
Download Help Document