Static Public Member Functions

op_var Class Reference
[Op_var]

Class for finding variance values of a matrix. More...

#include <op_var_proto.hpp>

List of all members.

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 get_pod_type< eT >::result direct_var (const subview_row< eT > &X, const u32 norm_type=0)
 find the variance of a subview_row
template<typename eT >
static get_pod_type< eT >::result direct_var (const subview_col< eT > &X, const u32 norm_type=0)
 find the variance of a subview_col
template<typename eT >
static get_pod_type< eT >::result direct_var (const diagview< eT > &X, const u32 norm_type=0)
 find the variance of a diagview
template<typename eT >
static void apply (Mat< typename get_pod_type< eT >::result > &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.

Detailed Description

Class for finding variance values of a matrix.

Definition at line 23 of file op_var_proto.hpp.