|
Go to the documentation of this file. 1 #ifndef NPSTAT_LAPACK_INTERFACE_HH_
2 #define NPSTAT_LAPACK_INTERFACE_HH_
29 template< typename Numeric>
37 template< typename Numeric>
44 template< typename Numeric>
51 template< typename Numeric>
58 template< typename Numeric>
60 typename GeneralizedComplex<Numeric>::type
67 template< typename Numeric>
69 Numeric* eigenvalues);
71 template< typename Numeric>
72 void td_sym_matrix_eigenvalues( const Numeric* in, unsigned dim,
73 Numeric* eigenvalues);
79 template< typename Numeric>
81 Numeric* eigenvalues);
83 template< typename Numeric>
84 void td_sym_matrix_eigenvalues_dc( const Numeric* in, unsigned dim,
85 Numeric* eigenvalues);
92 template< typename Numeric>
94 Numeric* eigenvalues);
101 template< typename Numeric>
103 Numeric* eigenvalues);
109 template< typename Numeric>
111 typename GeneralizedComplex<Numeric>::type *ev,
112 Numeric* rightEigenvectors,
113 Numeric* leftEigenvectors);
119 template< typename Numeric>
121 Numeric* eigenvalues,
122 Numeric* eigenvectors);
124 template< typename Numeric>
125 void td_sym_matrix_eigensystem( const Numeric* in, unsigned dim,
126 Numeric* eigenvalues,
127 Numeric* eigenvectors);
134 template< typename Numeric>
136 Numeric* eigenvalues,
137 Numeric* eigenvectors);
139 template< typename Numeric>
140 void td_sym_matrix_eigensystem_dc( const Numeric* in, unsigned dim,
141 Numeric* eigenvalues,
142 Numeric* eigenvectors);
149 template< typename Numeric>
151 Numeric* eigenvalues,
152 Numeric* eigenvectors);
154 template< typename Numeric>
155 void td_sym_matrix_eigensystem_rrr( const Numeric* in, unsigned dim,
156 Numeric* eigenvalues,
157 Numeric* eigenvectors);
164 template< typename Numeric>
166 const Numeric* rhs, Numeric* solution);
173 template< typename Numeric>
175 unsigned ncols, const Numeric* rhs,
183 template< typename Numeric>
185 unsigned ncols, const Numeric* rhs,
192 template< typename Numeric>
194 unsigned ncols, const Numeric* rhs,
195 const Numeric* constraintMatrix,
196 unsigned constrRows, unsigned constrCols,
197 const Numeric* constrRhs, Numeric* solution);
203 template< typename Numeric>
205 Numeric* U, Numeric* singularValues, Numeric* VT);
211 template< typename Numeric>
213 Numeric* U, Numeric* singularValues, Numeric* VT);
216 int lapack_nlvl_dgelsd( int dim);
217 int lapack_nlvl_sgelsd( int dim);
221 #include "npstat/nm/lapack_interface.icc"
Typedef complex type if it makes sense (parameter is real); otherwise typedef the original type.
Definition: AbsArrayProjector.hh:14
bool linear_least_squares(const Numeric *mat, unsigned nrows, unsigned ncols, const Numeric *rhs, Numeric *solution)
bool solve_linear_system(const Numeric *in, unsigned dim, const Numeric *rhs, Numeric *solution)
void td_sym_matrix_eigenvalues_rrr(const Numeric *in, unsigned dim, Numeric *eigenvalues)
bool gen_matrix_svd_dc(const Numeric *in, unsigned M, unsigned N, Numeric *U, Numeric *singularValues, Numeric *VT)
void gen_matrix_eigensystem(const Numeric *in, unsigned dim, typename GeneralizedComplex< Numeric >::type *ev, Numeric *rightEigenvectors, Numeric *leftEigenvectors)
void sym_matrix_eigensystem(const Numeric *in, unsigned dim, Numeric *eigenvalues, Numeric *eigenvectors)
void sym_matrix_eigensystem_dc(const Numeric *in, unsigned dim, Numeric *eigenvalues, Numeric *eigenvectors)
void sym_matrix_eigensystem_rrr(const Numeric *in, unsigned dim, Numeric *eigenvalues, Numeric *eigenvectors)
bool constrained_least_squares(const Numeric *mat, unsigned nrows, unsigned ncols, const Numeric *rhs, const Numeric *constraintMatrix, unsigned constrRows, unsigned constrCols, const Numeric *constrRhs, Numeric *solution)
void invert_sym_matrix(const Numeric *in, unsigned dim, Numeric *out)
void sym_matrix_eigenvalues_rrr(const Numeric *in, unsigned dim, Numeric *eigenvalues)
void sym_matrix_eigenvalues(const Numeric *in, unsigned dim, Numeric *eigenvalues)
void invert_general_matrix(const Numeric *in, unsigned dim, Numeric *out)
void gen_matrix_eigenvalues(const Numeric *in, unsigned dim, typename GeneralizedComplex< Numeric >::type *eigenvalues)
bool gen_matrix_svd(const Numeric *in, unsigned M, unsigned N, Numeric *U, Numeric *singularValues, Numeric *VT)
bool solve_linear_systems(const Numeric *in, unsigned nrows, unsigned ncols, const Numeric *rhs, Numeric *solution)
void sym_matrix_eigenvalues_dc(const Numeric *in, unsigned dim, Numeric *eigenvalues)
void invert_posdef_sym_matrix(const Numeric *in, unsigned dim, Numeric *out)
void invert_td_matrix(const Numeric *in, unsigned dim, Numeric *out)
|