$search

Op_var

Classes

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

Functions

template<typename T1 >
static void op_var::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.
template<typename eT >
static get_pod_type< eT >::result op_var::direct_var (const diagview< eT > &X, const uword norm_type=0)
 find the variance of a diagview
template<typename eT >
static get_pod_type< eT >::result op_var::direct_var (const subview_col< eT > &X, const uword norm_type=0)
 find the variance of a subview_col
template<typename eT >
static get_pod_type< eT >::result op_var::direct_var (const subview_row< eT > &X, const uword norm_type=0)
 find the variance of a subview_row
template<typename T >
static T op_var::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)
template<typename eT >
static eT op_var::direct_var (const eT *const X, const uword N, const uword norm_type=0)
 find the variance of an array
template<typename T >
static T op_var::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)
template<typename eT >
static eT op_var::direct_var_robust (const eT *const X, const uword N, const uword norm_type=0)
 find the variance of an array (robust but slow)

Function Documentation

template<typename T1 >
void op_var::apply ( Mat< typename T1::pod_type > &  out,
const mtOp< typename T1::pod_type, T1, op_var > &  in 
) [inline, static, inherited]

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.

Definition at line 176 of file op_var_meat.hpp.

template<typename eT >
get_pod_type< eT >::result op_var::direct_var ( const diagview< eT > &  X,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of a diagview

Definition at line 149 of file op_var_meat.hpp.

template<typename eT >
get_pod_type< eT >::result op_var::direct_var ( const subview_col< eT > &  X,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of a subview_col

Definition at line 136 of file op_var_meat.hpp.

template<typename eT >
get_pod_type< eT >::result op_var::direct_var ( const subview_row< eT > &  X,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of a subview_row

Definition at line 112 of file op_var_meat.hpp.

template<typename T >
T op_var::direct_var ( const std::complex< T > *const   X,
const uword  N,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of an array (version for complex numbers)

Definition at line 74 of file op_var_meat.hpp.

template<typename eT >
eT op_var::direct_var ( const eT *const   X,
const uword  N,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of an array

Definition at line 22 of file op_var_meat.hpp.

template<typename T >
T op_var::direct_var_robust ( const std::complex< T > *const   X,
const uword  N,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of an array (version for complex numbers) (robust but slow)

Definition at line 272 of file op_var_meat.hpp.

template<typename eT >
eT op_var::direct_var_robust ( const eT *const   X,
const uword  N,
const uword  norm_type = 0 
) [inline, static, inherited]

find the variance of an array (robust but slow)

Definition at line 239 of file op_var_meat.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:51 2013