Class PowSingleFunction
Function to raise the base "a" to the power "b"
NOTE: This was PowFloatFunction in LuceneInherited Members
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public class PowSingleFunction : DualSingleFunction
Constructors
PowSingleFunction(ValueSource, ValueSource)
Function to raise the base "a" to the power "b"
NOTE: This was PowFloatFunction in LuceneDeclaration
public PowSingleFunction(ValueSource a, ValueSource b)
Parameters
Type | Name | Description |
---|---|---|
ValueSource | a | the base. |
ValueSource | b | the exponent. |
Properties
Name
Function to raise the base "a" to the power "b"
NOTE: This was PowFloatFunction in LuceneDeclaration
protected override string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Func(int, FunctionValues, FunctionValues)
Function to raise the base "a" to the power "b"
NOTE: This was PowFloatFunction in LuceneDeclaration
protected override float Func(int doc, FunctionValues aVals, FunctionValues bVals)
Parameters
Type | Name | Description |
---|---|---|
int | doc | |
FunctionValues | aVals | |
FunctionValues | bVals |
Returns
Type | Description |
---|---|
float |