vecxt

package vecxt

Members list

Packages

package vecxt.all

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
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
object arrayUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
arrayUtil.type
object arrays

Attributes

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

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
opaque object matrix

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
matrix.type
object matrixUtil

Attributes

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