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,
DocValues aVals,
DocValues bVals) |
protected String |
name() |
createWeight, description, equals, getValues, hashCode
getSortField, getValues, newContext, toString
public PowFloatFunction(ValueSource a, ValueSource b)
a
- the base.b
- the exponent.protected String name()
name
in class DualFloatFunction
protected float func(int doc, DocValues aVals, DocValues bVals)
func
in class DualFloatFunction