pinocchio  3.2.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
PowerIterationAlgoTpl< _Vector > Struct Template Reference

Compute the largest eigenvalues and the associated principle eigenvector via power iteration. More...

#include <pinocchio/math/eigenvalues.hpp>

Public Types

typedef Vector::Scalar Scalar
 
typedef _Vector Vector
 

Public Member Functions

 PowerIterationAlgoTpl (const Eigen::DenseIndex size, const int max_it=10, const Scalar rel_tol=Scalar(1e-8))
 
template<typename MatrixLike >
void lowest (const MatrixLike &mat, const bool compute_largest=true)
 
template<typename MatrixLike , typename VectorLike >
void lowest (const MatrixLike &mat, const Eigen::PlainObjectBase< VectorLike > &largest_eigenvector_est, const Eigen::PlainObjectBase< VectorLike > &lowest_eigenvector_est, const bool compute_largest=true)
 
void reset ()
 
template<typename MatrixLike >
void run (const MatrixLike &mat)
 
template<typename MatrixLike , typename VectorLike >
void run (const MatrixLike &mat, const Eigen::PlainObjectBase< VectorLike > &eigenvector_est)
 

Public Attributes

Scalar convergence_criteria
 
int it
 
Scalar largest_eigen_value
 
Scalar lowest_eigen_value
 
Vector lowest_eigen_vector
 
int max_it
 
Vector principal_eigen_vector
 
Scalar rel_tol
 

Protected Attributes

Vector eigen_vector_prev
 

Detailed Description

template<typename _Vector>
struct pinocchio::PowerIterationAlgoTpl< _Vector >

Compute the largest eigenvalues and the associated principle eigenvector via power iteration.

Definition at line 17 of file eigenvalues.hpp.


The documentation for this struct was generated from the following file: