trait
OperationTrait (View source)
Methods
sum(
NdArray|array|int|float $m, int|null $axis = null, bool $keepdims = false)
Sum all elements.
static int|float|array
trapz(
NdArray|array $m)
Integrate along the given axis using the composite trapezoidal rule.
Details
final static int|float|NdArray
sum(NdArray|array|int|float $m, int|null $axis = null, bool $keepdims = false)
final static int|float|array
trapz(NdArray|array $m)
Integrate along the given axis using the composite trapezoidal rule.