Class DivSingleFunction
Function to divide "a" by "b"
NOTE: This was DivFloatFunction in Lucene
Inherited Members
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public class DivSingleFunction : DualSingleFunction
  Constructors
| Improve this Doc View SourceDivSingleFunction(ValueSource, ValueSource)
Declaration
public DivSingleFunction(ValueSource a, ValueSource b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ValueSource | a | the numerator.  | 
      
| ValueSource | b | the denominator.  | 
      
Properties
| Improve this Doc View SourceName
Declaration
protected override string Name { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
Methods
| Improve this Doc View SourceFunc(Int32, FunctionValues, FunctionValues)
Declaration
protected override float Func(int doc, FunctionValues aVals, FunctionValues bVals)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | doc | |
| FunctionValues | aVals | |
| FunctionValues | bVals | 
Returns
| Type | Description | 
|---|---|
| System.Single |