MATRIX commands


PROGRAM NAME

mextract_diag - Extract Matrix Diagonal, Row, or Column

DESCRIPTION

mextract_diag is used to extract the diagonal of a matrix into a row vector, or to extract a specific row or column from the matrix. The output will be either of type DOUBLE or DOUBLE COMPLEX according to the input object being real or complex respectively.

REQUIRED ARGUMENTS

-i
type: infile
desc: Input matrix
-o
type: outfile
desc: Output vector

Mutually Exclusive Group; you must specify ONE of:

-row
type: flag
desc: Extract row
OR
-col
type: flag
desc: Extract column
OR
-diag
type: flag
desc: Extract diagonal

OPTIONAL ARGUMENTS

-num
type: integer
desc: Row or column number
default: 0
bounds: value >= 0

EXAMPLES

SEE ALSO

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.