public class PowFloatFunction extends DualFloatFunction
a, b| Constructor and Description |
|---|
PowFloatFunction(ValueSource a,
ValueSource b) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
func(int doc,
FunctionValues aVals,
FunctionValues bVals) |
protected String |
name() |
createWeight, description, equals, getValues, hashCodeasDoubleValuesSource, asLongValuesSource, getSortField, newContext, toStringpublic PowFloatFunction(ValueSource a, ValueSource b)
a - the base.b - the exponent.protected String name()
name in class DualFloatFunctionprotected float func(int doc,
FunctionValues aVals,
FunctionValues bVals)
func in class DualFloatFunctionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.