Chapter Contents |
Previous |
Next |
Language Reference |
where matrix is a square numeric matrix.
The SYMSQR function takes a square numeric matrix (size n ×n) and compacts the elements from the lower triangle into a column vector (n(n+1)/2 rows). The matrix is not checked for actual symmetry. Therefore, the statement
sym=symsqr({1 2, 3 4});sets
SYM 3 rows 1 col (numeric) 1 3 4Note that the 2 is lost since it is only present in the upper triangle.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.