VisitorTrait
trait VisitorTrait (View source)
Visitor methods
Methods
walk_recursive(callable $func)
Walk on last dimension
int|float
int|NdArray
axis(callable $func, int|float $number = null, bool $keepdims = false)
Execute axis operations and return an aggregate
Details
final NdArray
walk(callable $func)
Walk on first dimension
final NdArray
walk_recursive(callable $func)
Walk on last dimension
final int|float
iterate(RecursiveIteratorIterator $iterator)
Iterate on next value
final int|NdArray
axis(callable $func, int|float $number = null, bool $keepdims = false)
Execute axis operations and return an aggregate