vecxt
package vecxt
Members list
Packages
package vecxt.rpt
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
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Matrix.type
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 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
object extensions
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
extensions.type
Exports
Defined exports
Exported from BoundsCheck$
Exported from BoundsCheck
Exported from Retentions
Exported from Retentions$
Exported from rpt
In this article