The static function creates and returns a new matrix filled with given value.
static matrix matrix::Full( const ulongrows, // number or rows const ulongcols, // number of columns const doublevalue// value to fill ); static vector vector::Full( const ulongsize, // vector size const doublevalue// value to fill );
Parameters
rows
[in] Number of rows.
cols
[in] Number of columns.
value
[in] Value to fill all the matrix elements.
Return Value
Return a new matrix of given rows and columns, filled with specified value.