Show / Hide Table of Contents

    Class PowSingleFunction

    Function to raise the base "a" to the power "b"

    NOTE: This was PowFloatFunction in Lucene

    Inheritance
    System.Object
    ValueSource
    DualSingleFunction
    PowSingleFunction
    Inherited Members
    DualSingleFunction.m_a
    DualSingleFunction.m_b
    DualSingleFunction.GetDescription()
    DualSingleFunction.GetValues(IDictionary, AtomicReaderContext)
    DualSingleFunction.CreateWeight(IDictionary, IndexSearcher)
    DualSingleFunction.GetHashCode()
    DualSingleFunction.Equals(Object)
    ValueSource.ToString()
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class PowSingleFunction : DualSingleFunction

    Constructors

    | Improve this Doc View Source

    PowSingleFunction(ValueSource, ValueSource)

    Declaration
    public PowSingleFunction(ValueSource a, ValueSource b)
    Parameters
    Type Name Description
    ValueSource a

    the base.

    ValueSource b

    the exponent.

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    DualSingleFunction.Name

    Methods

    | Improve this Doc View Source

    Func(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
    Overrides
    DualSingleFunction.Func(Int32, FunctionValues, FunctionValues)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)