Functions
Fn_randn

Functions

double randn ()
 
arma_inline const Gen< vec::elem_type, gen_randn > randn (const uword n_elem)
 Generate a vector with all elements set to random values with a gaussian distribution (zero mean, unit variance) More...
 
template<typename vec_type >
arma_inline const Gen< typename vec_type::elem_type, gen_randn > randn (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_randn > randn (const uword n_rows, const uword n_cols)
 Generate a dense matrix with all elements set to random values with a gaussian distribution (zero mean, unit variance) More...
 
template<typename mat_type >
arma_inline const Gen< typename mat_type::elem_type, gen_randn > randn (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_randn > randn (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_randn > randn (const uword n_rows, const uword n_cols, const uword n_slices, const typename arma_Cube_only< cube_type >::result *junk=0)
 

Detailed Description

Function Documentation

arma_scalar_only< eT >::result randn ( )
inline

Definition at line 20 of file fn_randn.hpp.

arma_inline const Gen<vec::elem_type, gen_randn> randn ( const uword  n_elem)

Generate a vector with all elements set to random values with a gaussian distribution (zero mean, unit variance)

Definition at line 39 of file fn_randn.hpp.

template<typename vec_type >
arma_inline const Gen<typename vec_type::elem_type, gen_randn> randn ( 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 51 of file fn_randn.hpp.

arma_inline const Gen<mat::elem_type, gen_randn> randn ( const uword  n_rows,
const uword  n_cols 
)

Generate a dense matrix with all elements set to random values with a gaussian distribution (zero mean, unit variance)

Definition at line 72 of file fn_randn.hpp.

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

Definition at line 84 of file fn_randn.hpp.

arma_inline const GenCube<cube::elem_type, gen_randn> randn ( const uword  n_rows,
const uword  n_cols,
const uword  n_slices 
)

Definition at line 96 of file fn_randn.hpp.

template<typename cube_type >
arma_inline const GenCube<typename cube_type::elem_type, gen_randn> randn ( 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 108 of file fn_randn.hpp.



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