Package com.apple.foundationdb.linear
package com.apple.foundationdb.linear
Package that implements basic mathematical objects such as vectors and matrices as well as
operations on these objects.
-
ClassDescriptionAn abstract base class representing a mathematical vector.Vector operator that applies/unapplies a linear operator and an addition to a vector.A vector class encoding a vector over double components.Interface of an estimator used for calculating the distance between vectors.FhtKac-like random orthogonal rotator which implements
LinearOperator.A vector class encoding a vector over float components.A vector class encoding a vector over half components.Represents various distance calculation strategies (metrics) for vectors.Provides a static method to compute the QR decomposition of a matrix.Defines the contract for a quantizer, a component responsible for encoding data vectors into a different, ideally a more compact, representation.An abstract base class representing a mathematical vector.Abstract iterator implementation to read the IVecs/FVecs data format that is used by publicly available embedding datasets.Iterator to read floating point vectors from aFileChannelproviding an iterator ofDoubleRealVectors.Iterator to read vectors from aFileChannelinto a list of integers.Transformed<V extends RealVector>This class aims to reduce potential logic problems with respect to coordinate transformations by soliciting help from Java's type system.Interface that represents the root of all linear and affine operators including matrices.