![]() |
SOPT
Sparse OPTimisation
|
Eigenvalue and eigenvector for eigenvalue with largest magnitude. More...
#include <power_method.h>
Classes | |
struct | DiagnosticAndResult |
Holds result vector as well. More... | |
Public Types | |
using | value_type = SCALAR |
Scalar type. More... | |
using | Scalar = value_type |
Scalar type. More... | |
using | Real = typename real_type< Scalar >::type |
Real type. More... | |
using | t_Vector = Vector< Scalar > |
Type of then underlying vectors. More... | |
using | t_LinearTransform = LinearTransform< t_Vector > |
Type of the Ψ and Ψ^H operations, as well as Φ and Φ^H. More... | |
Public Member Functions | |
PowerMethod () | |
Setups ProximalADMM. More... | |
virtual | ~PowerMethod () |
DiagnosticAndResult | AtA (t_LinearTransform const &A, t_Vector const &input) const |
Maximum number of iterations. More... | |
template<typename DERIVED > | |
DiagnosticAndResult | operator() (Eigen::DenseBase< DERIVED > const &A, t_Vector const &input) const |
Calls the power method for A, with A a matrix. More... | |
DiagnosticAndResult | operator() (OperatorFunction< t_Vector > const &op, t_Vector const &input) const |
Calls the power method for a given matrix-vector multiplication function. More... | |
Eigenvalue and eigenvector for eigenvalue with largest magnitude.
Definition at line 137 of file power_method.h.
using sopt::algorithm::PowerMethod< SCALAR >::Real = typename real_type<Scalar>::type |
Real type.
Definition at line 144 of file power_method.h.
using sopt::algorithm::PowerMethod< SCALAR >::Scalar = value_type |
Scalar type.
Definition at line 142 of file power_method.h.
using sopt::algorithm::PowerMethod< SCALAR >::t_LinearTransform = LinearTransform<t_Vector> |
Type of the Ψ and Ψ^H operations, as well as Φ and Φ^H.
Definition at line 148 of file power_method.h.
using sopt::algorithm::PowerMethod< SCALAR >::t_Vector = Vector<Scalar> |
Type of then underlying vectors.
Definition at line 146 of file power_method.h.
using sopt::algorithm::PowerMethod< SCALAR >::value_type = SCALAR |
Scalar type.
Definition at line 140 of file power_method.h.
|
inline |
Setups ProximalADMM.
Definition at line 163 of file power_method.h.
|
inlinevirtual |
Definition at line 164 of file power_method.h.
PowerMethod< SCALAR >::DiagnosticAndResult sopt::algorithm::PowerMethod< SCALAR >::AtA | ( | t_LinearTransform const & | A, |
t_Vector const & | input | ||
) | const |
Maximum number of iterations.
Convergence criteria
Calls the power method for A.adjoint() * A
Definition at line 199 of file power_method.h.
References sopt::LinearTransform< VECTOR >::adjoint().
Referenced by main().
PowerMethod< SCALAR >::DiagnosticAndResult sopt::algorithm::PowerMethod< SCALAR >::operator() | ( | Eigen::DenseBase< DERIVED > const & | A, |
t_Vector const & | input | ||
) | const |
PowerMethod< SCALAR >::DiagnosticAndResult sopt::algorithm::PowerMethod< SCALAR >::operator() | ( | OperatorFunction< t_Vector > const & | op, |
t_Vector const & | input | ||
) | const |
Calls the power method for a given matrix-vector multiplication function.
Definition at line 217 of file power_method.h.