breeze.math

package breeze.math

Type members

Classlikes

case class Complex(real: Double, imag: Double)

Immutable complex number representation backed by doubles for the real and imaginary parts.

Immutable complex number representation backed by doubles for the real and imaginary parts.

Integration with scala.math.Numeric and scala.math.Fractional is provided.

Companion:
object
object Complex
Companion:
class
trait CoordinateField[V, S] extends LPVectorField[V, S] with Coordinated[V, S]
trait Coordinated[V, S]

Used for those vector-types that are "coordinated", meaning that t. (Possibly the coordinates are enumerable as well, in which case you want an XXX

Used for those vector-types that are "coordinated", meaning that t. (Possibly the coordinates are enumerable as well, in which case you want an XXX

Type parameters:
S

Scalar type

V

Vector type

trait EnumeratedCoordinateField[V, I, S] extends CoordinateField[V, S]

A CoordinateField that has an addressable index set. This set may not be finite, and it may change (e.g. Counters).

A CoordinateField that has an addressable index set. This set may not be finite, and it may change (e.g. Counters).

Brings QuasiTensor methods into scope.

trait Field[@specialized(Int, Short, Long, Float, Double) V] extends Ring[V]

Marker trait for scalar values. Scalars must be immutable. TODO: maybe use spire for the basis of this?

Marker trait for scalar values. Scalars must be immutable. TODO: maybe use spire for the basis of this?

Companion:
object
object Field
Companion:
class
trait FiniteCoordinateField[V, I, S] extends EnumeratedCoordinateField[V, I, S]

breeze.math.CoordinateField with generic zeros operation. Only useful for the Matrix and Vector hierarchies where the domain can be specified by the dimension of the Tensor.

breeze.math.CoordinateField with generic zeros operation. Only useful for the Matrix and Vector hierarchies where the domain can be specified by the dimension of the Tensor.

trait InnerProductModule[V, S] extends NormedModule[V, S]
trait InnerProductVectorSpace[V, S] extends NormedVectorSpace[V, S] with InnerProductModule[V, S]
trait LPModule[V, S] extends NormedModule[V, S] with PNormed[V]

An LP Module is a module equipped with a p-norm (named after LPSpace)

An LP Module is a module equipped with a p-norm (named after LPSpace)

trait LPSpace[V, S] extends VectorSpace[V, S] with LPModule[V, S]
class LogDouble(val logValue: Double)

Represents a double in log space, to prevent under/overflow These guys are horribly slow right now, thanks to boxing in Java. Hopefully that will go away one day.

Represents a double in log space, to prevent under/overflow These guys are horribly slow right now, thanks to boxing in Java. Hopefully that will go away one day.

Companion:
object
object LogDouble
Companion:
class
trait MatrixInnerProduct[M, S] extends MatrixNorms[M, S]
trait MatrixNorms[M, S]

breeze 7/10/14

breeze 7/10/14

trait Module[V, S] extends AdditiveTensorAbelianGroup[V, S]
trait MutableCoordinateField[V, S] extends CoordinateField[V, S] with MutableVectorField[V, S]
Companion:
object

A CoordinateField that has an addressable index set. This set may not be finite, and it may change (e.g. Counters).

A CoordinateField that has an addressable index set. This set may not be finite, and it may change (e.g. Counters).

Brings QuasiTensor methods into scope.

Companion:
object
Companion:
object
trait MutableInnerProductModule[V, S] extends MutableModule[V, S] with InnerProductModule[V, S]
Companion:
object
trait MutableLPModule[V, S] extends MutableModule[V, S] with LPModule[V, S]
trait MutableLPSpace[V, S] extends MutableVectorSpace[V, S] with MutableLPModule[V, S]
Companion:
object
Companion:
class
trait MutableModule[V, S] extends Module[V, S]
Companion:
object
Companion:
class
trait MutableNormedModule[V, S] extends MutableModule[V, S] with NormedModule[V, S]
Companion:
object
trait MutableVectorField[V, S] extends VectorField[V, S] with MutableVectorRing[V, S] with MutableInnerProductVectorSpace[V, S]
Companion:
object
Companion:
class
trait MutableVectorRing[V, S] extends VectorRing[V, S] with MutableInnerProductModule[V, S]
trait MutableVectorSpace[V, S] extends MutableModule[V, S] with VectorSpace[V, S]
trait MutablizingAdaptor[+VS[_, _], MVS[_, _], V, S]
Companion:
object
Companion:
class
trait Normed[V]
trait NormedModule[V, S] extends Module[V, S] with Normed[V]
trait NormedVectorSpace[V, S] extends VectorSpace[V, S] with NormedModule[V, S]
trait PNormed[V] extends Normed[V]

Has a norm(v, p), for real p (technically for p >= 1)

Has a norm(v, p), for real p (technically for p >= 1)

importing this gives numeric enables a "pow" method on basic numeric types

importing this gives numeric enables a "pow" method on basic numeric types

implicit class RichField(value: Double)
trait Ring[@specialized(Int, Short, Long, Float, Double) V] extends Semiring[V]
Companion:
object
object Ring
Companion:
class
object Semiring
Companion:
class
trait VectorField[V, S] extends InnerProductVectorSpace[V, S] with VectorRing[V, S]
Companion:
object
Companion:
class
trait VectorRing[V, S] extends InnerProductModule[V, S]
trait VectorSpace[V, S] extends Module[V, S]

Value members

Concrete fields

val i: Complex

Implicits

Implicits

final implicit def RichField(value: Double): RichField
implicit def richFloat(value: Float): RichField
implicit def richInt(value: Int): RichField