Classes | |
class | op_ones_full |
Class for creation of a dense matrix/vector/cube with all elements set to one. More... | |
class | op_ones_diag |
Functions | |
template<typename T1 > | |
static void | op_ones_full::apply (Mat< typename T1::elem_type > &out, const Op< T1, op_ones_full > &in) |
template<typename eT > | |
static void | op_ones_full::apply (Cube< eT > &out, const OpCube< Cube< eT >, op_ones_full > &in) |
template<typename eT > | |
static void | op_ones_diag::apply (Mat< eT > &out, const Op< Mat< eT >, op_ones_diag > &in) |
void op_ones_full::apply | ( | Mat< typename T1::elem_type > & | out, | |
const Op< T1, op_ones_full > & | in | |||
) | [inline, static, inherited] |
Definition at line 22 of file op_ones_meat.hpp.
References Op< T1, op_type >::aux_u32_a, Op< T1, op_type >::aux_u32_b, and Mat< eT >::ones().
void op_ones_full::apply | ( | Cube< eT > & | out, | |
const OpCube< Cube< eT >, op_ones_full > & | in | |||
) | [inline, static, inherited] |
Definition at line 34 of file op_ones_meat.hpp.
References Cube< eT >::ones().
void op_ones_diag::apply | ( | Mat< eT > & | out, | |
const Op< Mat< eT >, op_ones_diag > & | in | |||
) | [inline, static, inherited] |
Definition at line 46 of file op_ones_meat.hpp.
References Mat< eT >::at(), Mat< eT >::n_rows, and Mat< eT >::zeros().