Class Scalar
Subtract a scalar from every item in the operand matrix
- Chippyash\Math\Matrix\Computation\AbstractComputation implements Chippyash\Math\Matrix\Interfaces\ComputatationInterface uses Chippyash\Matrix\Traits\Debug (not available)
-
Chippyash\Math\Matrix\Computation\Sub\Scalar uses Chippyash\Math\Matrix\Traits\CreateCorrectMatrixType, Chippyash\Math\Matrix\Traits\CreateCorrectScalarType
Namespace: Chippyash\Math\Matrix\Computation\Sub
Link: http://www.php.net//manual/en/function.is-scalar.php
Located at Computation/Sub/Scalar.php
Link: http://www.php.net//manual/en/function.is-scalar.php
Located at Computation/Sub/Scalar.php
public
|
#
compute(
Subtract a single scalar value from each member of the matrix and return result Boolean values are converted to 0 (false) and 1 (true). Use the logical computations if required. String values do a string replace for the scalar, replacing occurences of if with '' |
__invoke()
|