fn_ones.hpp File Reference

Go to the source code of this file.

Functions

const Op< mat, op_ones_full > ones (const u32 n_rows, const u32 n_cols)
 Delayed generation of a dense matrix with all elements set to one.
const Op< colvec, op_ones_full > ones (const u32 n_elem)
 Generate a vector with all elements set to one.
const Op< mat, op_ones_diag > eye (const u32 n_rows, const u32 n_cols)
 Delayed generation of a diagonal matrix with the diagonal elements set to one.