org.apache.lucene.queries.function.valuesource
Class PowFloatFunction
java.lang.Object
  
org.apache.lucene.queries.function.ValueSource
      
org.apache.lucene.queries.function.valuesource.DualFloatFunction
          
org.apache.lucene.queries.function.valuesource.PowFloatFunction
public class PowFloatFunction
- extends DualFloatFunction
 
Function to raise the base "a" to the power "b"
 
| Fields inherited from class org.apache.lucene.queries.function.valuesource.DualFloatFunction | 
a, b | 
 
 
 
 
 
 
PowFloatFunction
public PowFloatFunction(ValueSource a,
                        ValueSource b)
- Parameters:
 a - the base.b - the exponent.
name
protected String name()
- Specified by:
 name in class DualFloatFunction
 
 
func
protected float func(int doc,
                     FunctionValues aVals,
                     FunctionValues bVals)
- Specified by:
 func in class DualFloatFunction
 
 
          Copyright © 2000-2012 Apache Software Foundation.  All Rights Reserved.