GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ordschur.cc File Reference
#include "defun.h"
#include "error.h"
#include "lo-lapack-proto.h"
#include "ovl.h"
Include dependency graph for ordschur.cc:

Go to the source code of this file.

Macros

#define PREPARE_ARGS(TYPE, TYPE_M, TYPE_COND)
 
#define PREPARE_OUTPUT()
 

Functions

OCTAVE_EXPORT octave_value_list Fordschur (const octave_value_list &args, int) ar
 

Variables

 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}
 

Macro Definition Documentation

◆ 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"); \
TYPE ## Matrix w (dim_vector (n, 1)); \
TYPE ## Matrix work (dim_vector (n, 1)); \
F77_INT m; \
F77_INT info; \
TYPE_COND cond1, cond2;
std::complex< double > w(std::complex< double > z, double relerr=0)
Definition: dMatrix.h:36
Vector representing the dimensions (size) of an Array.
Definition: dim-vector.h:87

◆ PREPARE_OUTPUT

#define PREPARE_OUTPUT ( )
Value:
if (info != 0) \
error ("ordschur: trsen failed"); \
\
retval = ovl (U, S);
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())

Function Documentation

◆ Fordschur()

OCTAVE_EXPORT octave_value_list Fordschur ( const octave_value_list args,
int   
)

Definition at line 75 of file ordschur.cc.

Variable Documentation

◆ 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}

Definition at line 75 of file ordschur.cc.