$search

Fn_prod

Functions

template<typename eT , typename T1 >
arma_warn_unused eT prod (const subview_elem1< eT, T1 > &A)
template<typename eT >
arma_warn_unused eT prod (const diagview< eT > &X)
 product of all values of a diagview
template<typename eT >
arma_warn_unused eT prod (const subview_col< eT > &S)
 product of all values of a subview_col
template<typename eT >
arma_warn_unused eT prod (const subview_row< eT > &S)
 product of all values of a subview_row
template<typename T1 >
const Op< Op< T1, op_prod >
, op_prod
prod (const Op< T1, op_prod > &in, const uword dim)
template<typename T1 >
T1::elem_type prod (const Op< T1, op_prod > &in)
 Immediate 'product of all values' operation, invoked, for example, by: prod(prod(A)).
template<typename eT >
arma_warn_unused eT prod (const Col< eT > &X)
 Immediate 'product of all values' operation for a column vector.
template<typename eT >
arma_warn_unused eT prod (const Row< eT > &X)
 Immediate 'product of all values' operation for a row vector.
template<typename T1 >
arma_inline const Op< T1, op_prodprod (const Base< typename T1::elem_type, T1 > &X, const uword dim=0)
 Delayed product of elements of a matrix along a specified dimension (either rows or columns). The result is stored in a dense matrix that has either one column or one row. For dim = 0, find the sum of each column (i.e. traverse across rows) For dim = 1, find the sum of each row (i.e. traverse across columns) The default is dim = 0. NOTE: this function works differently than in Matlab/Octave.

Function Documentation

template<typename eT , typename T1 >
arma_warn_unused eT prod ( const subview_elem1< eT, T1 > &  A  )  [inline]

Definition at line 174 of file fn_prod.hpp.

template<typename eT >
arma_warn_unused eT prod ( const diagview< eT > &  X  )  [inline]

product of all values of a diagview

Definition at line 152 of file fn_prod.hpp.

template<typename eT >
arma_warn_unused eT prod ( const subview_col< eT > &  S  )  [inline]

product of all values of a subview_col

Definition at line 138 of file fn_prod.hpp.

template<typename eT >
arma_warn_unused eT prod ( const subview_row< eT > &  S  )  [inline]

product of all values of a subview_row

Definition at line 107 of file fn_prod.hpp.

template<typename T1 >
const Op<Op<T1, op_prod>, op_prod> prod ( const Op< T1, op_prod > &  in,
const uword  dim 
) [inline]

Definition at line 93 of file fn_prod.hpp.

template<typename T1 >
T1::elem_type prod ( const Op< T1, op_prod > &  in  )  [inline]

Immediate 'product of all values' operation, invoked, for example, by: prod(prod(A)).

Definition at line 75 of file fn_prod.hpp.

template<typename eT >
arma_warn_unused eT prod ( const Col< eT > &  X  )  [inline]

Immediate 'product of all values' operation for a column vector.

Definition at line 59 of file fn_prod.hpp.

template<typename eT >
arma_warn_unused eT prod ( const Row< eT > &  X  )  [inline]

Immediate 'product of all values' operation for a row vector.

Definition at line 44 of file fn_prod.hpp.

template<typename T1 >
arma_inline const Op<T1, op_prod> prod ( const Base< typename T1::elem_type, T1 > &  X,
const uword  dim = 0 
) [inline]

Delayed product of elements of a matrix along a specified dimension (either rows or columns). The result is stored in a dense matrix that has either one column or one row. For dim = 0, find the sum of each column (i.e. traverse across rows) For dim = 1, find the sum of each row (i.e. traverse across columns) The default is dim = 0. NOTE: this function works differently than in Matlab/Octave.

Definition at line 29 of file fn_prod.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