#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} |
|
#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"); \
octave_idx_type info; \
TYPE_COND cond1, cond2;
nd deftypefn *octave_map m
std::complex< double > w(std::complex< double > z, double relerr=0)
Vector representing the dimensions (size) of an Array.
#define PREPARE_OUTPUT |
( |
| ) |
|
Value:
error (
"ordschur: trsen failed"); \
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).is_integer_type())
void error(const char *fmt,...)
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} |