TBCI Numerical high perf. C++ Library 2.8.0
lapack_stdcplx.h
Go to the documentation of this file.
1
5/* $Id: lapack_stdcplx.h,v 1.1.2.7 2019/05/28 11:13:02 garloff Exp $ */
6
7#ifndef TBCI_LAPACK_STDCPLX_H
8#define TBCI_LAPACK_STDCPLX_H
9
10#include "tbci/basics.h"
11#include "tbci/std_cplx.h"
12#include "tbci/vector.h"
13#include "tbci/f_matrix.h"
14#include "tbci/f_bandmatrix.h"
15
17
19
20
21//************ Linear Equation systems ***************************************************
22// double
23F_TMatrix<double> inv(const F_Matrix<double>& A, int overwriteA=0);
24F_TMatrix<double> lu_solve(const F_Matrix<double>& A, const F_Matrix<double>& B, int overwriteA=0);
25TVector<double> lu_solve(const F_Matrix<double>& A, const Vector<double>& B, int overwriteA=0);
26TVector<double> lu_solve(const F_BandMatrix<double>& A, const Vector<double>& B); //Kopiert A
27TVector<double> lu_solve_expert(const F_BandMatrix<double>& A, const Vector<double>& B, int equilibrate=1); //A,B ueberschreiben
28TVector<double> lu_solve(F_BandMatrix<double>& A, const Vector<double>& B, int num_lower, int num_upper); //Ueberschreibt A
29
30// complex
33
34
35//************ Standard Eigenvalue problems **********************************************
36// eigenvalues (and eigenvectors) A*EV=EW*EV of symmetric double Matrix A
37int eig(const F_Matrix<double>& A, Vector<double>& EW);
41 double ew_min, double ew_max);
42
43// eigenvalues (and eigenvectors) A*EV=EW*EV of hermitean complex Matrix A
46
47// eigenvalues (and eigenvectors) A*EV=EW*EV of general complex Matrix A
50
51
52//************ Generalized Eigenvalue problems ******************************************
54 double EW_min, double EW_max,
55 Vector<double>& Eigenwerte, F_Matrix<CPLX__ complex<double> >& Eigenvectoren);
56
58#endif /* TBCI_LAPACK_STDCPLX_H */
#define NAMESPACE_END
Definition basics.h:323
#define NAMESPACE_TBCI
Definition basics.h:317
C++ class for banded matrices using band storage in a one-dimensional array.
Temporary Base Class (non referable!) (acc.
Definition f_matrix.h:71
Temporary Base Class Idiom: Class TVector is used for temporary variables.
Definition vector.h:73
NAMESPACE_TBCI typedef cplx< double > COMPLEX_DOUBLE
Definition lapack.h:18
F_TMatrix< double > lu_solve(const F_Matrix< double > &A, const F_Matrix< double > &B, int overwriteA=0)
Definition lapack.cpp:156
TVector< double > lu_solve_expert(const F_BandMatrix< double > &A, const Vector< double > &B, int equilibrate=1)
Solution of linear eqution systems, partial pivoting.
Definition lapack.cpp:24
int eig(const F_Matrix< double > &A, Vector< double > &EW)
eigenvalues (and eigenvectors) A*EV=EW*EV of symmetric double Matrix A
Definition lapack.cpp:263
F_TMatrix< double > inv(const F_Matrix< double > &A, int overwriteA=0)
Definition lapack.cpp:181
#define complex