analysis/
mg_triangular.pro
Routines
top mg_triangular
result = mg_triangular(a [, /upper] [, /lower] [, /strict])
Returns the upper or lower triangular elements of a 2-dimensional array.
Return value
2-dimensional array
Parameters
- a in required type=2D array
matrix to grab upper or lower triangular elements of
Keywords
- upper in optional type=boolean
set to return the upper triangular elements (one of
UPPER
orLOWER
must be set)- lower in optional type=boolean
set to return the lower triangular elements (one of
UPPER
orLOWER
must be set)- strict in optional type=boolean
set to not retrieve the diagonal elements (only the strictly upper/lower trianguler elements)
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 17 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.