vecxt
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BoundsCheck.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DoubleArrays.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DoubleMatrix.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IntArrays.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsDoubleMatrix.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsNativeDoubleArrays.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JvmDoubleMatrix.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JvmIntMatrix.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MatrixHelper.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MatrixInstance.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NativeDoubleMatrix.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NativeIntMatrix.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_OneAndZero_Boolean
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OneAndZero.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
arrayUtil.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 Objecttrait Matchableclass Any
- Self type
-
cosineSimilarity.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
dimMatCheck.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
indexCheckMat.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
matrixUtil.type
If this is true, then we can use the same memory layout for element-wise operations
If this is true, then we can use the same memory layout for element-wise operations
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
sameDimMatCheck.type
strideMatInstantiateCheck performs a set of safety checks when constructing a matrix view with arbitrary strides and offset into a backing array. The checks include:
strideMatInstantiateCheck performs a set of safety checks when constructing a matrix view with arbitrary strides and offset into a backing array. The checks include:
- Ensuring the number of rows and columns are positive.
- Ensuring the offset is within the bounds of the backing array.
- Ensuring both rowStride and colStride are non-zero.
- Calculating the maximum and minimum indices that could be accessed by the matrix view, given the strides and offset, and ensuring these indices are within the bounds of the array.
- Throws appropriate exceptions if any check fails.
Validates matrix construction parameters for stride-based layout.
Performs comprehensive bounds checking for matrices with flexible stride patterns, including support for broadcasting (zero strides) and negative strides for flipped views.
Validates:
- Positive matrix dimensions
- Valid offset within array bounds
- Sensible stride values (zero for broadcasting, non-zero otherwise)
- All matrix elements remain within array bounds
- Negative strides don't cause negative index access
- 1x1 matrices have semantically meaningful strides (0 or 1)
Value parameters
- colStride
-
Memory offset between consecutive columns
- cols
-
Number of matrix columns
- offset
-
Starting position in the data array
- raw
-
The underlying data array
- rowStride
-
Memory offset between consecutive rows
- rows
-
Number of matrix rows
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type