vecxt
package vecxt
Members list
Type members
Classlikes
object BoundsCheck
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BoundsCheck.type
case class InvalidMatrix(cols: Int, rows: Int, data: Int) extends Exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class MatrixDimensionMismatch(aCols: Int, aRows: Int, bCols: Int, bRows: Int) extends Exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class VectorDimensionMismatch(givenDimension: Int, requiredDimension: Int) extends Exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
object arrayUtil
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
arrayUtil.type
object cosineSimilarity
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 Objecttrait Matchableclass Any
- Self type
-
cosineSimilarity.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
matrix.type
object matrixUtil
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
matrixUtil.type
In this article