InnerProductSpace

Companion:
object
trait VectorSpace[V, F]
trait CModule[V, F]
trait RightModule[V, F]
trait LeftModule[V, F]
trait AdditiveGroup[V]
class Any

Value members

Abstract methods

def dot(v: V, w: V): F

Concrete methods

def normed(implicit ev: NRoot[F]): NormedVectorSpace[V, F]

Inherited methods

def divr(v: V, f: F): V
Inherited from:
VectorSpace
def isZero(a: V)(implicit ev: Eq[V]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from:
AdditiveMonoid
def minus(x: V, y: V): V
Inherited from:
AdditiveGroup
def negate(x: V): V
Inherited from:
AdditiveGroup
def plus(x: V, y: V): V
Inherited from:
AdditiveSemigroup
@nowarn("msg=deprecated")
def sum(as: IterableOnce[V]): V

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from:
AdditiveMonoid
override def sumN(a: V, n: Int): V
Definition Classes
Inherited from:
AdditiveGroup
def timesl(r: F, v: V): V
Inherited from:
LeftModule
override def timesr(v: V, r: F): V
Definition Classes
Inherited from:
CModule
@nowarn("msg=deprecated")
override def trySum(as: IterableOnce[V]): Option[V]
Definition Classes
Inherited from:
AdditiveMonoid
def zero: V
Inherited from:
AdditiveMonoid

Implicits

Inherited implicits

implicit def scalar: Field[F]
Inherited from:
VectorSpace