Reference Guide
Full Command and Function Reference 3-191
Rank is computed by calculating the singular values of the matrix and counting the number of
non-negligible values. If all computed singular values are zero, RANK returns zero. Otherwise
RANK consults flag –54 as follows:
•
If flag –54 is clear (the default), RANK counts all computed singular values that are less than or
equal to 1.E–14 times the largest computed singular value.
•
If flag –54 is set, RANK counts all nonzero computed singular values.
Access: !Ø
OPERATIONS
L
RANK
( Ø is the left-shift of the 5key).
!´
MATRIX NORMALIZE
L
RANK
( ´ is the left-shift of the Pkey).
Flags: Singular Value (–54)
Input/Output:
Level 1/Argument 1 Level 1/Item 1
[[ matrix ]]
→
N
rank
See also: LQ, LSQ, QR
RANM
Type: Command
Description: Random Matrix Command: Returns a matrix of specified dimensions that contains random
integers in the range –9 through 9.
The probability of a particular nonzero digit occurring is 0.05; the probability of 0 occurring is 0.1.
Access: !Ø
CREATE
LL
RANM
( Ø is the left-shift of the 5key).
!´
MATRIX MAKE RANM
( ´ is the left-shift of the Pkey).
Input/Output:
Level 1/Argument 1 Level 1/Item 1
{ m n }
→
[[ random matrix ]]
m×n
[[ matrix ]]
m×n
→
[[ random matrix ]]
m×n
See also: RAND, RDZ
RATIO
Type: Function
Description: Prefix Divide Function: Prefix form of / (divide).
RATIO is identical to / (divide), except that, in algebraic syntax, RATIO is a prefix function, while
/ is an infix function. For example, RATIO(A,2) is equivalent to A/2.
Access: …µ
RATIO