Functions
fn_prod.hpp File Reference

Go to the source code of this file.

Functions

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.
template<typename eT >
arma_warn_unused eT prod (const Row< eT > &X)
 Immediate 'product of all values' operation for a row vector.
template<typename eT >
arma_warn_unused eT prod (const Col< eT > &X)
 Immediate 'product of all values' operation for a column vector.
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 T1 >
const Op< Op< T1, op_prod >
, op_prod
prod (const Op< T1, op_prod > &in, const uword dim)
template<typename eT >
arma_warn_unused eT prod (const subview_row< eT > &S)
 product of all values of a subview_row
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 diagview< eT > &X)
 product of all values of a diagview
template<typename eT , typename T1 >
arma_warn_unused eT prod (const subview_elem1< eT, T1 > &A)


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:06