vecxt

package vecxt

Members list

Packages

package vecxt.rpt

Type members

Classlikes

object BoundsCheck

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class InvalidMatrix(cols: Int, rows: Int, data: Int) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
opaque object Matrix

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Matrix.type
case class MatrixDimensionMismatch(aCols: Int, aRows: Int, bCols: Int, bRows: Int) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class VectorDimensionMismatch(givenDimension: Int, requiredDimension: Int) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Compute the cosine similarity between two vectors

Compute the cosine similarity between two vectors

Value parameters

v1

the first vector

v2

the second vector

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object extensions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
extensions.type

Exports

Defined exports

final type BoundsCheck = BoundsCheck
Exported from BoundsCheck$
Exported from BoundsCheck
final val Limit: Limit
Exported from Limits
final type Limit = Limit
Exported from Limits$
final val Limits: Limits
Exported from rpt
final type LossCalc = LossCalc
Exported from rpt
final val Retention: Retention
Exported from Retentions
final type Retention = Retention
Exported from Retentions$
final val Retentions: Retentions
Exported from rpt