#include <stdio.h>
#include <math.h>
#include "mbs_errors_names.h"
#include "mbs_message.h"
#include "useful_functions.h"
#include "lapacke.h"
Classes | |
struct | complex_float |
Implementation of eig function using lapacke without using the lapackE interface. More... | |
struct | complex_double |
Macros | |
#define | lapack_complex_float struct complex_float |
#define | lapack_complex_double struct complex_double |
Functions | |
int | mbs_eig_0 (double **A, int n, double *eval_a, double *eval_b, double **evec_a, double **evec_b) |
Compute the eigen values and vector of a matrix with index starting a 0. More... | |
#define lapack_complex_double struct complex_double |
#define lapack_complex_float struct complex_float |
int mbs_eig_0 | ( | double ** | A, |
int | n, | ||
double * | eval_a, | ||
double * | eval_b, | ||
double ** | evec_a, | ||
double ** | evec_b | ||
) |
Compute the eigen values and vector of a matrix with index starting a 0.
[in] | A | matrix for the Eigenvalue problem. |
[in] | n | size of the matrix |
[out] | eval_a | Result of the Eigenvalue problem: real part of the 2*nx eigen values [n X 1] |
[out] | eval_b | Result of the Eigenvalue problem: imag part of the 2*nx eigen values [n X 1] |
[out] | evec_a | Result of the Eigenvalue problem: real part of the eigen vectors (each column is a eigenvector) [n X n] |
[out] | evec_b | Result of the Eigenvalue problem: imag part of the eigen vectors (each column is a eigenvector) [n X n] |