#include <stdio.h>
#include <limits.h>
#include "mbs_matrix.h"
#include "mbs_lapack.h"
#include "mbs_message.h"
#include "mbs_1D_array.h"
#include "useful_functions.h"
#include "mbs_errors_names.h"
Macros | |
#define | MSG_ERR ">> SCHUR LPK>> " |
#define | MSG_PRE " >> " |
Functions | |
int | mbs_select (const double *real, const double *imaginary) |
int | mbs_schur_0 (double **A, int n, double **T, double **Z, double *WR, double *WI, int reorder) |
Compute the Schur decomposition. More... | |
#define MSG_ERR ">> SCHUR LPK>> " |
#define MSG_PRE " >> " |
int mbs_schur_0 | ( | double ** | A, |
int | n, | ||
double ** | T, | ||
double ** | Z, | ||
double * | WR, | ||
double * | WI, | ||
int | reorder | ||
) |
Compute the Schur decomposition.
A | Matrix for the Eigenvalue problem in row major | |
[in] | n | Size of the matrix |
[out] | WR | Result of the Eigenvalue problem: real part of the n eigen values (ordered as they appear on the diagonal of the output Schur form T [n x 1] |
[out] | WI | Result of the Eigenvalue problem: real part of the n eigen values (ordered as they appear on the diagonal of the output Schur form T [n x 1] |
[out] | T | Schur decomposition matrix (re-ordered). |
[out] | Z | Orthogonal matrix Z of Schur vectors [n X n] (re-ordered). |
[in] | reorder | Flag for re-ordering:
|
int mbs_select | ( | const double * | real, |
const double * | imaginary | ||
) |