ArithmeticTrait
trait ArithmeticTrait (View source)
Methods
static
static
static NdArray|int|float
static NdArray|float|int
static NdArray|float|int
static NdArray|float|int
Details
final static
reciprocal(NdArray|array|float|int $m)
Return the reciprocal of the argument, element-wise.
final static
subtract(NdArray|array|float|int $m, NdArray|array|float|int $n)
Subtract a matrix from matrix
final static NdArray|int|float
add(NdArray|array|int|float $m, NdArray|array|int|float $n)
Add two array_like
final static NdArray|float|int
divide(NdArray|array|float|int $m, NdArray|array|float|int $n)
Divide two arrays, element-wise
final static NdArray|float|int
multiply(NdArray|array|float|int $m, NdArray|array|float|int $n)
Multiply two arrays, element-wise
final static NdArray|float|int
dot(NdArray|array|float|int $m, NdArray|array|float|int $n)
Dot product of two arrays