breeze.linalg.support

Type members

Classlikes

trait CanCollapseAxis[From, Axis, ColType, R, TR]

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.

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

R

What the column is being collapsed to.

TR

result tensor type

Companion:
object
Companion:
class
trait CanCopy[V]

Capability trait for being able to copy a collection

Capability trait for being able to copy a collection

Companion:
object
object CanCopy
Companion:
class
trait CanCreateZeros[+T, I]

breeze 7/10/14

breeze 7/10/14

trait CanCreateZerosLike[From, +To]

Marker for being able to create a collection of the same shape as the given input but with zero values everywhere.

Marker for being able to create a collection of the same shape as the given input but with zero values everywhere.

Companion:
object
Companion:
class
trait CanForeachValues[From, +A]

Marker for being able to do a foreach on the values of a collection

Marker for being able to do a foreach on the values of a collection

trait CanIterateAxis[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.

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

trait CanMapKeyValuePairs[-From, +K, +A, -B, +To]

Marker for being able to map the keys and values in a value collection to new values.

Marker for being able to map the keys and values in a value collection to new values.

UFunc for being able to map the keys and values in a value collection to new values.

UFunc for being able to map the keys and values in a value collection to new values.

Companion:
object
Companion:
class
sealed trait CanMapValuesLowPrio
trait CanSlice[-From, -Slice, +To]

Capability trait for slices like denseVector(0 until 5)

Capability trait for slices like denseVector(0 until 5)

trait CanSlice2[-From, -Slice1, -Slice2, +To]

Capability trait for slices like denseMatrix(1 until 5, 3 until 20 by 2)

Capability trait for slices like denseMatrix(1 until 5, 3 until 20 by 2)

Marker for being able to transform the keys and values in a value collection to new values.

Marker for being able to transform the keys and values in a value collection to new values.

Companion:
object
Companion:
class
trait CanTranspose[From, +To]

Capability trait for the transpose of a shaped value.

Capability trait for the transpose of a shaped value.

Companion:
object
Companion:
class
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.

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

trait CanTraverseKeyValuePairs[From, K, A]

Marker for being able to traverse over the values in a collection/tensor

Marker for being able to traverse over the values in a collection/tensor

Companion:
object
trait CanTraverseValues[From, A]

Marker for being able to traverse over the values in a collection/tensor

Marker for being able to traverse over the values in a collection/tensor

Companion:
object
trait CanZipAndTraverseValues[From, From2, A, B]

Marker for being able to traverse over the values in a pair oof collections

Marker for being able to traverse over the values in a pair oof collections

Companion:
object

Marker for being able to zip two collection objects (From[V]) and map the values to a new collection (To[Vout]).

Marker for being able to zip two collection objects (From[V]) and map the values to a new collection (To[Vout]).

Companion:
object
Companion:
class

Marker for being able to zip two collection objects (From[V]) and map the values to a new collection (To[Vout]).

Marker for being able to zip two collection objects (From[V]) and map the values to a new collection (To[Vout]).

Companion:
object
Companion:
class

Marker trait for a row literal used in Matrix construction.

Marker trait for a row literal used in Matrix construction.

Companion:
object
object LiteralRow
Companion:
class
Companion:
class
final class RangeExtender(val re: Range) extends AnyVal
Companion:
object
sealed trait ScalarOf[V, S]

Marker trait indicating that S is the scalar of V. useful for wrangling type inference

Marker trait indicating that S is the scalar of V. useful for wrangling type inference

Companion:
object
object ScalarOf
Companion:
class
class TensorActive[K, V, +This](tensor: This)(implicit ev: This <:< Tensor[K, V])

Class that is kind of like a collection view of the active pairs (non-zero pairs, for now) in a tensor.

Class that is kind of like a collection view of the active pairs (non-zero pairs, for now) in a tensor.

class TensorKeys[K, V, +This](tensor: This, active: Boolean, f: K => Boolean)(implicit ev: This <:< Tensor[K, V])

Class that is kind of like a collection view of the keys in a tensor.

Class that is kind of like a collection view of the keys in a tensor.

class TensorPairs[K, V, +This](tensor: This, active: Boolean, f: ((K, V)) => Boolean)(implicit ev: This <:< Tensor[K, V])

Class that is kind of like a collection view of the pairs in a tensor.

Class that is kind of like a collection view of the pairs in a tensor.

class TensorValues[K, V, +This](tensor: This, active: Boolean, f: V => Boolean)(implicit ev: This <:< Tensor[K, V])

Class that is kind of like a collection view of the values in a tensor.

Class that is kind of like a collection view of the values in a tensor.