Class Functional
Functional Matrix Create a matrix given a function for each row, column index Particularly useful when matrix content is a function of row,col index
Expects 3 parameters: int:rows > 0, int:cols > 0, Closure:f(row, col)
- Chippyash\Math\Matrix\Special\AbstractSpecial implements Chippyash\Math\Matrix\Special\SpecialMatrixInterface
-
Chippyash\Math\Matrix\Special\Functional
create()
|
string |
ERR1
|
#
'rows and cols parameters must be integer > 0'
|
string |
ERR2
|
#
'f parameter must be a Closure'
|