Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PowSingleFunction

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

    NOTE: This was PowFloatFunction in Lucene
    Inheritance
    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(bool)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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 Lucene
    Declaration
    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 Lucene
    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    DualSingleFunction.Name

    Methods

    Func(int, FunctionValues, FunctionValues)

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

    NOTE: This was PowFloatFunction in Lucene
    Declaration
    protected override float Func(int doc, FunctionValues aVals, FunctionValues bVals)
    Parameters
    Type Name Description
    int doc
    FunctionValues aVals
    FunctionValues bVals
    Returns
    Type Description
    float
    Overrides
    DualSingleFunction.Func(int, FunctionValues, FunctionValues)
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.