ocra-recipes
Doxygen documentation for the ocra-recipes repository
Enumerations | Functions
ocra::utils::details Namespace Reference

Enumerations

enum  eConvertCase {
  PLUS_A_PLUS_B =0, PLUS_A_MINUS_B, PLUS_A_PLUS_BV, PLUS_A_MINUS_BV,
  MINUS_A_PLUS_B, MINUS_A_MINUS_B, MINUS_A_PLUS_BV, MINUS_A_MINUS_BV,
  SPECIAL_CASE, IMPOSSIBLE_CASE
}
 

Functions

template<class Derived , class VectorDerived >
void convert_ (const LinearConstraint &cstr, eConstraintType apparentType, const std::vector< int > &mapping, eConvertCase convertCase, MatrixBase< Derived > &A, MatrixBase< VectorDerived > const &_b)
 
template<class DerivedIn , class VectorBaseIn1 , class VectorBaseIn2 , class DerivedOut , class VectorBaseOut >
void convert (const MatrixBase< DerivedIn > &M, const VectorBaseIn1 &v1, const VectorBaseIn2 &v2, MatrixBase< DerivedOut > &A, VectorBaseOut &b, const std::vector< int > &mapping, details::eConvertCase convertCase)
 

Enumeration Type Documentation

Enumerator
PLUS_A_PLUS_B 
PLUS_A_MINUS_B 
PLUS_A_PLUS_BV 
PLUS_A_MINUS_BV 
MINUS_A_PLUS_B 
MINUS_A_MINUS_B 
MINUS_A_PLUS_BV 
MINUS_A_MINUS_BV 
SPECIAL_CASE 
IMPOSSIBLE_CASE 

Definition at line 61 of file SolverUtilities.h.

Function Documentation

template<class DerivedIn , class VectorBaseIn1 , class VectorBaseIn2 , class DerivedOut , class VectorBaseOut >
void ocra::utils::details::convert ( const MatrixBase< DerivedIn > &  M,
const VectorBaseIn1 &  v1,
const VectorBaseIn2 &  v2,
MatrixBase< DerivedOut > &  A,
VectorBaseOut &  b,
const std::vector< int > &  mapping,
details::eConvertCase  convertCase 
)
inline

Definition at line 448 of file SolverUtilities.hxx.

template<class Derived , class VectorDerived >
void ocra::utils::details::convert_ ( const LinearConstraint cstr,
eConstraintType  apparentType,
const std::vector< int > &  mapping,
eConvertCase  convertCase,
MatrixBase< Derived > &  A,
MatrixBase< VectorDerived > const &  _b 
)

Definition at line 428 of file SolverUtilities.hxx.