vecxt

package vecxt

Members list

Packages

Type members

Classlikes

object BoundsCheck

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object DoubleArrays

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object DoubleMatrix

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object JvmIntMatrix

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self 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
object MatrixHelper

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
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 all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
all.type
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
object dimMatCheck

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object indexCheckMat

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type Col = Int
type Row = Int
type RowCol = (Row, Col)