Optimist  0.0.0
A C++ library for optimization
Loading...
Searching...
No Matches
Utils.hh File Reference
#include "Optimist.hh"
Include dependency graph for Utils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Optimist
 Namespace for the Optimist library.
namespace  Optimist::Utils
 Helpers to move data between the input types accepted by the solvers (fixed-size, dynamic-size and sparse Eigen vectors) and the dense dynamic-size storage used internally by some algorithms.

Macros

#define OPTIMIST_UTILS_HH

Typedefs

template<typename Vector>
using Optimist::Utils::DenseVector
template<typename Vector>
using Optimist::Utils::DenseMatrix

Functions

template<typename Vector>
DenseVector< Vector > Optimist::Utils::to_dense (const Vector &x)
template<typename Vector, typename Derived>
Vector Optimist::Utils::from_dense (const Eigen::MatrixBase< Derived > &x)
template<typename Matrix, typename Derived>
Matrix Optimist::Utils::from_dense_matrix (const Eigen::MatrixBase< Derived > &A)
template<typename Vector>
TypeTrait< Vector >::Scalar Optimist::Utils::coeff (const Vector &x, const Integer i)

Macro Definition Documentation

◆ OPTIMIST_UTILS_HH

#define OPTIMIST_UTILS_HH