Static Public Member Functions | List of all members
op_var Class Reference

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

#include <op_var_bones.hpp>

Static Public Member Functions

template<typename T1 >
static void apply (Mat< typename T1::pod_type > &out, const mtOp< typename T1::pod_type, T1, op_var > &in)
 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. More...
 
template<typename eT >
static eT direct_var (const eT *const X, const uword N, const uword norm_type=0)
 find the variance of an array More...
 
template<typename T >
static T direct_var (const std::complex< T > *const X, const uword N, const uword norm_type=0)
 find the variance of an array (version for complex numbers) More...
 
template<typename eT >
static get_pod_type< eT >::result direct_var (const subview_row< eT > &X, const uword norm_type=0)
 find the variance of a subview_row More...
 
template<typename eT >
static get_pod_type< eT >::result direct_var (const subview_col< eT > &X, const uword norm_type=0)
 find the variance of a subview_col More...
 
template<typename eT >
static get_pod_type< eT >::result direct_var (const diagview< eT > &X, const uword norm_type=0)
 find the variance of a diagview More...
 
template<typename eT >
static eT direct_var_robust (const eT *const X, const uword N, const uword norm_type=0)
 find the variance of an array (robust but slow) More...
 
template<typename T >
static T direct_var_robust (const std::complex< T > *const X, const uword N, const uword norm_type=0)
 find the variance of an array (version for complex numbers) (robust but slow) More...
 

Detailed Description

Class for finding variance values of a matrix.

Definition at line 20 of file op_var_bones.hpp.


The documentation for this class was generated from the following files:


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:01