Classes | |
class | op_zeros |
generate matrix/vector with all elements set to zero More... | |
Functions | |
template<typename eT > | |
static void | op_zeros::apply (Mat< eT > &out, const Op< Mat< eT >, op_zeros > &in) |
template<typename eT > | |
static void | op_zeros::apply (Mat< eT > &out, const Op< Col< eT >, op_zeros > &in) |
template<typename eT > | |
static void | op_zeros::apply (Mat< eT > &out, const Op< Row< eT >, op_zeros > &in) |
template<typename eT > | |
static void | op_zeros::apply (Col< eT > &out, const Op< Col< eT >, op_zeros > &in) |
template<typename eT > | |
static void | op_zeros::apply (Row< eT > &out, const Op< Row< eT >, op_zeros > &in) |
void op_zeros::apply | ( | Mat< eT > & | out, | |
const Op< Mat< eT >, op_zeros > & | in | |||
) | [inline, static, inherited] |
Definition at line 23 of file op_zeros_meat.hpp.
References Mat< eT >::zeros().
00024 { 00025 arma_extra_debug_sigprint(); 00026 00027 const u32 n_rows = in.aux_u32_a; 00028 const u32 n_cols = (in.aux_u32_b > 0) ? in.aux_u32_b : 1; 00029 00030 out.zeros(n_rows, n_cols); 00031 }
void op_zeros::apply | ( | Mat< eT > & | out, | |
const Op< Col< eT >, op_zeros > & | in | |||
) | [inline, static, inherited] |
void op_zeros::apply | ( | Mat< eT > & | out, | |
const Op< Row< eT >, op_zeros > & | in | |||
) | [inline, static, inherited] |
void op_zeros::apply | ( | Col< eT > & | out, | |
const Op< Col< eT >, op_zeros > & | in | |||
) | [inline, static, inherited] |
void op_zeros::apply | ( | Row< eT > & | out, | |
const Op< Row< eT >, op_zeros > & | in | |||
) | [inline, static, inherited] |