|
Zeros
This is a static function that creates and returns a new matrix filled with zeros.
static matrix matrix::Zeros(
|
Parameters
rows
[in] Number of rows.
cols
[in] Number of columns.
Return Value
A new matrix of given rows and columns, filled with zeros.
MQL5 example:
matrix zeros=matrix::Zeros(3, 4);
|
Python example:
np.zeros((2, 1))
|