math_utils.h File Reference

CPP API: math_utils.h File Reference
math_utils.h File Reference
#include "memilio/config.h"
#include "memilio/io/io.h"
#include "memilio/math/eigen.h"
Include dependency graph for math_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Functions

template<typename Type , typename Intermediate >
auto mio::evaluate_intermediate (Intermediate &&x)
 Evaluate an intermediate expression to its underlying type, if necessary. More...
 
template<typename FP >
IOResult< void > mio::map_to_nonnegative (Eigen::Ref< Eigen::VectorX< FP >> x, const FP tolerance=Limits< FP >::zero_tolerance())
 Map a vector onto nonnegative values while preserving its nonnegative sum. More...