public class LogDoubleFunction extends DualDoubleFunction
LogDoubleFunction
returns the log of a double value with a given base.Modifier and Type | Field and Description |
---|---|
static String |
NAME |
a, b
Constructor and Description |
---|
LogDoubleFunction(ValueSource a,
ValueSource b) |
Modifier and Type | Method and Description |
---|---|
protected double |
func(int doc,
FunctionValues aVals,
FunctionValues bVals) |
protected String |
name() |
createWeight, description, equals, getValues, hashCode
getSortField, newContext, toString
public static final String NAME
public LogDoubleFunction(ValueSource a, ValueSource b)
protected String name()
name
in class DualDoubleFunction
protected double func(int doc, FunctionValues aVals, FunctionValues bVals)
func
in class DualDoubleFunction
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.