class MathHelper {

    @Deprecated
    public static double computeCosineSimilarity(Double[] vector1, Double[] vector2) {

        double dotProduct = computeDotProduct(vector1, vector2);
        double magnitude1 = computeMagnitude(vector1);
        double magnitude2 = computeMagnitude(vector2);

        return dotProduct / (magnitude1 * magnitude2);
    }

    private  MathHelper();

}