Class Scalar
Multiply every item in the operand matrix by a scalar value
- Chippyash\Math\Matrix\Computation\AbstractComputation implements Chippyash\Math\Matrix\Interfaces\ComputatationInterface uses Chippyash\Matrix\Traits\Debug (not available)
-
Chippyash\Math\Matrix\Computation\Mul\Scalar uses Chippyash\Math\Matrix\Traits\CreateCorrectMatrixType, Chippyash\Math\Matrix\Traits\CreateCorrectScalarType
Namespace: Chippyash\Math\Matrix\Computation\Mul
Link: http://www.php.net//manual/en/function.is-scalar.php
Located at Computation/Mul/Scalar.php
Link: http://www.php.net//manual/en/function.is-scalar.php
Located at Computation/Mul/Scalar.php
public
|
#
compute(
Multiply each member of the matrix by single scalar value and return result Boolean values are converted to 0 (false) and 1 (true). Use the logical computations if required. String values must conform to the requirements of a rational string number i.e. '2/3', else an exception will be thrown |
__invoke()
|