Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
|
#include <armadillo>
Go to the source code of this file.
Namespaces | |
scyl | |
Functions | |
template<class T > | |
void | scyl::nan_to_zero (T &in) |
nan_to_zero removes NaN values from a Armadillo data structure, replacing them with 0. More... | |
template<class T > | |
void | scyl::zero_to_one (T &in) |
zero_to_one replaces 0's in an Armadillo data structure with 1's. More... | |
template<class T > | |
int | scyl::arma_cmp_num (const T &a, const T &b, float eps=arma::Datum< float >::eps, bool verbose=false) |
arma_cmp_num compares two Armadillo objects for equality +- epsilon and returns the number of elements exceeding the condition. More... | |
template<class T > | |
bool | scyl::arma_cmp (const T &a, const T &b, const bool verbose=false, float eps=arma::Datum< float >::eps) |
arma_cmp compares two Armadillo objects for equality +- epsilon. More... | |
template<class T > | |
float | scyl::arma_cmp_sig_figs (const T &a, const T &b, int num_sig_figs=6) |
arma_cmp compares two Armadillo objects for equality. Instead of using a tolerance, test number of significant figures. More... | |