#include <cmath>
#include <algorithm>
Go to the source code of this file.
|
double | mct::clamp (const double &value, const double &limit_a, const double &limit_b) |
|
template<typename Vector > |
Vector | mct::clamp (const Vector &vector, const double &limit_a, const double &limit_b) |
|
template<typename Vector > |
void | mct::append_to_vector (Vector &vector, const double &element) |
|
template<typename Matrix > |
void | mct::append_rows_to_matrix (Matrix &matrix, const Matrix &rows) |
|
bool | mct::approx_equal (double x, double y, double epsilon=1e-10) |
|
template<typename Vector > |
bool | mct::contains (Vector v, double x) |
|
- Author
- Manuel Wuthrich License BSD-3-Clause
- Copyright
- Copyright (c) 2019, New York University and Max Planck Gesellschaft.
- Date
- 2019-08-05