|
Full
The static function creates and returns a new matrix filled with given value.
static matrix matrix::Full(
|
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.
MQL5 example:
matrix full=matrix::Full(3,4,10);
|
Example
np.full((2, 2), 10)
|