CanTraverseAxis

trait CanTraverseAxis[From, Axis, ColType]

This trait is for multi-dimensional tensors that can logically have one of their dimensions "collapsed", e.g. summing out all columns of a matrix to give a column vector.

Type parameters:
Axis

which axis is being collapsed. Usually a subtype of breeze.linalg.Axis.Value

ColType

the type of the "column" (or row or...) being collapsed.

From

the tensor being collapsed

class Object
trait Matchable
class Any

Value members

Abstract methods

def apply[A](from: From, axis: Axis)(f: ColType => A): Unit