Module org.elasticsearch.simdvec
Interface ESVectorUtilSupport
public interface ESVectorUtilSupport
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateOSQGridPoints(float[] target, float[] interval, int points, float invStep, float[] pts) floatcalculateOSQLoss(float[] target, float[] interval, float step, float invStep, float norm2, float lambda) voidcenterAndCalculateOSQStatsDp(float[] target, float[] centroid, float[] centered, float[] stats) voidcenterAndCalculateOSQStatsEuclidean(float[] target, float[] centroid, float[] centered, float[] stats) longipByteBinByte(byte[] q, byte[] d) intipByteBit(byte[] q, byte[] d) floatipFloatBit(float[] q, byte[] d)
-
Field Details
-
B_QUERY
static final short B_QUERY- See Also:
-
-
Method Details
-
ipByteBinByte
long ipByteBinByte(byte[] q, byte[] d) -
ipByteBit
int ipByteBit(byte[] q, byte[] d) -
ipFloatBit
float ipFloatBit(float[] q, byte[] d) -
calculateOSQLoss
float calculateOSQLoss(float[] target, float[] interval, float step, float invStep, float norm2, float lambda) -
calculateOSQGridPoints
void calculateOSQGridPoints(float[] target, float[] interval, int points, float invStep, float[] pts) -
centerAndCalculateOSQStatsEuclidean
void centerAndCalculateOSQStatsEuclidean(float[] target, float[] centroid, float[] centered, float[] stats) -
centerAndCalculateOSQStatsDp
void centerAndCalculateOSQStatsDp(float[] target, float[] centroid, float[] centered, float[] stats)
-