aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::gar::helpers Namespace Reference

Functions

template<typename InType , typename OutScalar >
void sparseAssignDenseBlock (Eigen::Index i0, Eigen::Index j0, const Eigen::DenseBase< InType > &input, Eigen::SparseMatrix< OutScalar > &out, bool update)
 Helper to assign a dense matrix into a range of coefficients of a sparse matrix.
 
template<typename Scalar >
void sparseAssignDiagonal (Eigen::Index i0, Eigen::Index i1, Scalar value, Eigen::SparseMatrix< Scalar > &out, bool update)
 

Function Documentation

◆ sparseAssignDenseBlock()

template<typename InType , typename OutScalar >
void aligator::gar::helpers::sparseAssignDenseBlock ( Eigen::Index i0,
Eigen::Index j0,
const Eigen::DenseBase< InType > & input,
Eigen::SparseMatrix< OutScalar > & out,
bool update )

Helper to assign a dense matrix into a range of coefficients of a sparse matrix.

Definition at line 13 of file utils.hpp.

◆ sparseAssignDiagonal()

template<typename Scalar >
void aligator::gar::helpers::sparseAssignDiagonal ( Eigen::Index i0,
Eigen::Index i1,
Scalar value,
Eigen::SparseMatrix< Scalar > & out,
bool update )

Definition at line 30 of file utils.hpp.