#include "defun.h"
#include "error.h"
#include "lo-lapack-proto.h"
#include "ovl.h"
Go to the source code of this file.
|
| var {S}] = schur (@var{A}) @end example @noindent which returns @example @group @var{U} = -0.82456 -0.56577 0.56577 -0.82456 @var{S} = -0.37228 -1.00000 0.00000 5.37228 @end group @end example It is possible to reorder the decomposition so that the positive eigenvalue is in the upper left corner, by doing: @example [@var{U} |
|
◆ PREPARE_ARGS
#define PREPARE_ARGS |
( |
|
TYPE, |
|
|
|
TYPE_M, |
|
|
|
TYPE_COND |
|
) |
| |
Value:TYPE ##
Matrix U = args(0).x ## TYPE_M ## _value \
("ordschur: U and S must be real or complex floating point matrices"); \
TYPE ##
Matrix S = args(1).x ## TYPE_M ## _value \
("ordschur: U and S must be real or complex floating point matrices"); \
F77_INT m; \
F77_INT info; \
TYPE_COND cond1, cond2;
std::complex< double > w(std::complex< double > z, double relerr=0)
Vector representing the dimensions (size) of an Array.
◆ PREPARE_OUTPUT
#define PREPARE_OUTPUT |
( |
| ) |
|
Value:if (info != 0) \
error ("ordschur: trsen failed"); \
\
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
◆ Fordschur()
◆ var
var {S}] = schur (@var{A}) @end example @noindent which returns @example @group @var{U} = -0.82456 -0.56577 0.56577 -0.82456 @var{S} = -0.37228 -1.00000 0.00000 5.37228 @end group @end example It is possible to reorder the decomposition so that the positive eigenvalue is in the upper left corner, by doing: @example [@var{U} |