opennlp.maxent.quasinewton
Class ArrayMath

java.lang.Object
  extended by opennlp.maxent.quasinewton.ArrayMath

public class ArrayMath
extends Object

utility class for simple vector arithmetics.


Constructor Summary
ArrayMath()
           
 
Method Summary
static double innerProduct(double[] vecA, double[] vecB)
           
static double[] updatePoint(double[] point, double[] vector, double scale)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayMath

public ArrayMath()
Method Detail

innerProduct

public static double innerProduct(double[] vecA,
                                  double[] vecB)

updatePoint

public static double[] updatePoint(double[] point,
                                   double[] vector,
                                   double scale)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.