eiquadprog::utils Namespace Reference

Functions

template<typename Scalar >
Scalar distance (Scalar a, Scalar b)
 Compute sqrt(a^2 + b^2) More...
 
template<class Derived >
void print_vector (const char *name, Eigen::MatrixBase< Derived > &x)
 
template<class Derived >
void print_matrix (const char *name, Eigen::MatrixBase< Derived > &x)
 
template<class Derived >
void print_vector (const char *name, Eigen::MatrixBase< Derived > &x, int)
 
template<class Derived >
void print_matrix (const char *name, Eigen::MatrixBase< Derived > &x, int)
 

Function Documentation

◆ distance()

template<typename Scalar >
Scalar eiquadprog::utils::distance ( Scalar  a,
Scalar  b 
)
inline

Compute sqrt(a^2 + b^2)

◆ print_matrix() [1/2]

template<class Derived >
void eiquadprog::utils::print_matrix ( const char *  name,
Eigen::MatrixBase< Derived > &  x 
)

◆ print_matrix() [2/2]

template<class Derived >
void eiquadprog::utils::print_matrix ( const char *  name,
Eigen::MatrixBase< Derived > &  x,
int   
)

◆ print_vector() [1/2]

template<class Derived >
void eiquadprog::utils::print_vector ( const char *  name,
Eigen::MatrixBase< Derived > &  x 
)

◆ print_vector() [2/2]

template<class Derived >
void eiquadprog::utils::print_vector ( const char *  name,
Eigen::MatrixBase< Derived > &  x,
int   
)