Class Ones
Ones Matrix Create a matrix or vector filled with 1
Expects 1 parameter: rows and second optional parameter, cols cols defaults to 1 if not specified.
- Chippyash\Math\Matrix\Special\AbstractSpecial implements Chippyash\Math\Matrix\Special\SpecialMatrixInterface
-
Chippyash\Math\Matrix\Special\Ones
create()
|
string |
ERR1
|
#
'rows parameter must be integer > 0'
|
string |
ERR2
|
#
'rows and cols parameter must be integer > 0'
|