#include <op_var_proto.hpp>
Static Public Member Functions | |
template<typename eT > | |
static eT | direct_var (const eT *const X, const u32 N, const u32 norm_type=0) |
find the variance of an array | |
template<typename T > | |
static T | direct_var (const std::complex< T > *const X, const u32 N, const u32 norm_type=0) |
find the variance of an array (version for complex numbers) | |
template<typename eT > | |
static void | apply (Mat< eT > &out, const Mat< eT > &X, const u32 norm_type, const u32 dim) |
For each row or for each column, find the variance. The result is stored in a dense matrix that has either one column or one row. The dimension, for which the variances are found, is set via the var() function. | |
template<typename T > | |
static void | apply (Mat< T > &out, const Mat< std::complex< T > > &X, const u32 norm_type, const u32 dim) |
implementation for complex numbers | |
template<typename eT > | |
static eT | direct_var (const subview< eT > &X, const u32 norm_type=0) |
find the variance of a subview | |
template<typename T > | |
static T | direct_var (const subview< std::complex< T > > &X, const u32 norm_type=0) |
find the variance of a subview (version for complex numbers) | |
template<typename eT > | |
static eT | direct_var (const diagview< eT > &X, const u32 norm_type=0) |
find the variance of a diagview | |
template<typename T > | |
static T | direct_var (const diagview< std::complex< T > > &X, const u32 norm_type=0) |
find the variance of a diagview (version for complex numbers) |
Definition at line 22 of file op_var_proto.hpp.