Public Types | |
| using | Scalar = double |
Public Member Functions | |
| int | cols () const |
| MatrixProdFunctor (const Sparse &A, double sigma=0) | |
| void | perform_op (const double *x, double *y) const |
| int | rows () const |
Public Attributes | |
| const Sparse & | A_ |
| double | sigma_ |
This is a lightweight struct used in conjunction with Spectra to compute the minimum eigenvalue and eigenvector of a sparse matrix A; it has a single nontrivial function, perform_op(x,y), that computes and returns the product y = (A + sigma*I) x
Definition at line 572 of file ShonanAveraging.cpp.
| using gtsam::MatrixProdFunctor::Scalar = double |
Definition at line 573 of file ShonanAveraging.cpp.
|
inlineexplicit |
Definition at line 583 of file ShonanAveraging.cpp.
|
inline |
Definition at line 587 of file ShonanAveraging.cpp.
|
inline |
Definition at line 590 of file ShonanAveraging.cpp.
|
inline |
Definition at line 586 of file ShonanAveraging.cpp.
| const Sparse& gtsam::MatrixProdFunctor::A_ |
Definition at line 577 of file ShonanAveraging.cpp.
| double gtsam::MatrixProdFunctor::sigma_ |
Definition at line 580 of file ShonanAveraging.cpp.