eiquadprog-utils.hxx File Reference
#include <Eigen/Core>
Include dependency graph for eiquadprog-utils.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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, int n)
 
template<class Derived >
void print_matrix (const char *name, Eigen::MatrixBase< Derived > &x, int n)
 

Function Documentation

◆ distance()

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

Compute sqrt(a^2 + b^2)

◆ print_matrix()

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

◆ print_vector()

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