WeightedVec

ai.dragonfly.math.vector.WeightedVec
case class WeightedVec[N <: Int](unweighted: Vec[N], var w: Double)

Attributes

Source
WeightedVec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addWeight(w1: Double): WeightedVec[N]

Attributes

Source
WeightedVec.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
WeightedVec.scala
def weight: Double

Attributes

Source
WeightedVec.scala
def weighted: Vec[N]

Attributes

Source
WeightedVec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product