vecxt

package vecxt

Members list

Packages

Type members

Classlikes

trait BlasArrayOps extends Object

Attributes

Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Known subtypes
object blas
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

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
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
object blas extends BlasArrayOps

Attributes

Supertypes
trait BlasArrayOps
class Object
trait Any
class Object
trait Matchable
class Any
Show all
Self type
blas.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 dgemm extends Object

Attributes

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

Types

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