Package org.neo4j.gds.core.utils
Class Intersections
- java.lang.Object
-
- org.neo4j.gds.core.utils.Intersections
-
public final class Intersections extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Intersections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublecosine(double[] vector1, double[] vector2, int len)static floatcosine(float[] vector1, float[] vector2, int len)static longintersection(com.carrotsearch.hppc.LongHashSet targets1, com.carrotsearch.hppc.LongHashSet targets2)static longintersection2(long[] targets1, long[] targets2)static longintersection3(long[] targets1, long[] targets2)static longintersection4(long[] targets1, long[] targets2)static doublepearson(double[] vector1, double[] vector2, int len)static doublesumSquareDelta(double[] vector1, double[] vector2, int len)static floatsumSquareDelta(float[] vector1, float[] vector2, int len)static double[]sumSquareDeltas(double[] vector1, double[][] vector2, int len)
-
-
-
Method Detail
-
intersection
public static long intersection(com.carrotsearch.hppc.LongHashSet targets1, com.carrotsearch.hppc.LongHashSet targets2)
-
intersection2
public static long intersection2(long[] targets1, long[] targets2)
-
intersection3
public static long intersection3(long[] targets1, long[] targets2)
-
intersection4
public static long intersection4(long[] targets1, long[] targets2)
-
sumSquareDelta
public static double sumSquareDelta(double[] vector1, double[] vector2, int len)
-
sumSquareDelta
public static float sumSquareDelta(float[] vector1, float[] vector2, int len)
-
sumSquareDeltas
public static double[] sumSquareDeltas(double[] vector1, double[][] vector2, int len)
-
pearson
public static double pearson(double[] vector1, double[] vector2, int len)
-
cosine
public static double cosine(double[] vector1, double[] vector2, int len)
-
cosine
public static float cosine(float[] vector1, float[] vector2, int len)
-
-