OSVR-Core
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Eigen::IterScaling< _MatrixType > Class Template Reference

Public Types

typedef _MatrixType MatrixType
 
typedef MatrixType::Scalar Scalar
 
typedef MatrixType::Index Index
 

Public Member Functions

 IterScaling (const MatrixType &matrix)
 
void compute (const MatrixType &mat)
 Compute the left and right diagonal matrices to scale the input matrix mat. More...
 
void computeRef (MatrixType &mat)
 Compute the left and right vectors to scale the vectors the input matrix is scaled with the computed vectors at output. More...
 
VectorXd & LeftScaling ()
 Get the vector to scale the rows of the matrix.
 
VectorXd & RightScaling ()
 Get the vector to scale the columns of the matrix.
 
void setTolerance (double tol)
 Set the tolerance for the convergence of the iterative scaling algorithm.
 

Protected Member Functions

void init ()
 

Protected Attributes

MatrixType m_matrix
 
ComputationInfo m_info
 
bool m_isInitialized
 
VectorXd m_left
 
VectorXd m_right
 
double m_tol
 
int m_maxits
 

Member Function Documentation

§ compute()

template<typename _MatrixType >
void Eigen::IterScaling< _MatrixType >::compute ( const MatrixType &  mat)
inline

Compute the left and right diagonal matrices to scale the input matrix mat.

FIXME This algorithm will be modified such that the diagonal elements are permuted on the diagonal.

See also
LeftScaling() RightScaling()

§ computeRef()

template<typename _MatrixType >
void Eigen::IterScaling< _MatrixType >::computeRef ( MatrixType &  mat)
inline

Compute the left and right vectors to scale the vectors the input matrix is scaled with the computed vectors at output.

See also
compute()

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