Functions
Fn_zeros

Functions

arma_inline const Gen
< vec::elem_type, gen_zeros > 
zeros (const uword n_elem)
 Generate a vector with all elements set to zero.
template<typename vec_type >
arma_inline const Gen
< typename vec_type::elem_type,
gen_zeros > 
zeros (const uword n_elem, const arma_empty_class junk1=arma_empty_class(), const typename arma_Mat_Col_Row_only< vec_type >::result *junk2=0)
arma_inline const Gen
< mat::elem_type, gen_zeros > 
zeros (const uword n_rows, const uword n_cols)
 Generate a dense matrix with all elements set to zero.
template<typename mat_type >
arma_inline const Gen
< typename mat_type::elem_type,
gen_zeros > 
zeros (const uword n_rows, const uword n_cols, const typename arma_Mat_Col_Row_only< mat_type >::result *junk=0)
arma_inline const GenCube
< cube::elem_type, gen_zeros > 
zeros (const uword n_rows, const uword n_cols, const uword n_slices)
template<typename cube_type >
arma_inline const GenCube
< typename
cube_type::elem_type,
gen_zeros > 
zeros (const uword n_rows, const uword n_cols, const uword n_slices, const typename arma_Cube_only< cube_type >::result *junk=0)

Function Documentation

arma_inline const Gen<vec::elem_type, gen_zeros> zeros ( const uword  n_elem)

Generate a vector with all elements set to zero.

Definition at line 21 of file fn_zeros.hpp.

template<typename vec_type >
arma_inline const Gen<typename vec_type::elem_type, gen_zeros> zeros ( const uword  n_elem,
const arma_empty_class  junk1 = arma_empty_class(),
const typename arma_Mat_Col_Row_only< vec_type >::result *  junk2 = 0 
)

Definition at line 33 of file fn_zeros.hpp.

arma_inline const Gen<mat::elem_type, gen_zeros> zeros ( const uword  n_rows,
const uword  n_cols 
)

Generate a dense matrix with all elements set to zero.

Definition at line 54 of file fn_zeros.hpp.

template<typename mat_type >
arma_inline const Gen<typename mat_type::elem_type, gen_zeros> zeros ( const uword  n_rows,
const uword  n_cols,
const typename arma_Mat_Col_Row_only< mat_type >::result *  junk = 0 
)

Definition at line 66 of file fn_zeros.hpp.

arma_inline const GenCube<cube::elem_type, gen_zeros> zeros ( const uword  n_rows,
const uword  n_cols,
const uword  n_slices 
)

Definition at line 78 of file fn_zeros.hpp.

template<typename cube_type >
arma_inline const GenCube<typename cube_type::elem_type, gen_zeros> zeros ( const uword  n_rows,
const uword  n_cols,
const uword  n_slices,
const typename arma_Cube_only< cube_type >::result *  junk = 0 
)

Definition at line 90 of file fn_zeros.hpp.



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:07