opennlp.maxent.quasinewton
Class ArrayMath
java.lang.Object
opennlp.maxent.quasinewton.ArrayMath
public class ArrayMath
- extends Object
utility class for simple vector arithmetics.
Method Summary |
static double |
innerProduct(double[] vecA,
double[] vecB)
|
static double[] |
updatePoint(double[] point,
double[] vector,
double scale)
|
ArrayMath
public ArrayMath()
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.