public static class QNMinimizer.L2RegFunction extends Object implements Function
Constructor and Description |
---|
L2RegFunction(Function f,
double l2Cost) |
Modifier and Type | Method and Description |
---|---|
int |
getDimension() |
double[] |
gradientAt(double[] x) |
double |
valueAt(double[] x) |
public L2RegFunction(Function f, double l2Cost)
public int getDimension()
getDimension
in interface Function
public double[] gradientAt(double[] x)
gradientAt
in interface Function
Copyright © 2020 The Apache Software Foundation. All rights reserved.