Show / Hide Table of Contents

Class BaseTrigonometricFunction

Abstract Base Class for Unary Trigonometric Functions in the Leviathan Function Library.
Inheritance
System.Object
BaseUnaryExpression
BaseTrigonometricFunction
CosecantFunction
CosineFunction
CotangentFunction
SecantFunction
SineFunction
TangentFunction
Implements
ISparqlExpression
Inherited Members
BaseUnaryExpression._expr
BaseUnaryExpression.Variables
BaseUnaryExpression.Functor
BaseUnaryExpression.Arguments
BaseUnaryExpression.CanParallelise
BaseUnaryExpression.Transform(IExpressionTransformer)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric.Trigonometry
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseTrigonometricFunction : BaseUnaryExpression, ISparqlExpression

Constructors

| Improve this Doc View Source

BaseTrigonometricFunction(ISparqlExpression)

Creates a new Unary Trigonometric Function.
Declaration
public BaseTrigonometricFunction(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr Expression.
| Improve this Doc View Source

BaseTrigonometricFunction(ISparqlExpression, Func<Double, Double>)

Creates a new Unary Trigonometric Function.
Declaration
public BaseTrigonometricFunction(ISparqlExpression expr, Func<double, double> func)
Parameters
Type Name Description
ISparqlExpression expr Expression.
System.Func<System.Double, System.Double> func Trigonometric Function.

Fields

| Improve this Doc View Source

_func

Trigonometric function.
Declaration
protected Func<double, double> _func
Field Value
Type Description
System.Func<System.Double, System.Double>

Properties

| Improve this Doc View Source

Type

Gets the expression type.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type Description
SparqlExpressionType
Overrides
BaseUnaryExpression.Type

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext, Int32)

Evaluates the expression.
Declaration
public override IValuedNode Evaluate(SparqlEvaluationContext context, int bindingID)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Int32 bindingID Binding ID.
Returns
Type Description
IValuedNode
Overrides
BaseUnaryExpression.Evaluate(SparqlEvaluationContext, Int32)
| Improve this Doc View Source

ToString()

Gets the string representation of the Function.
Declaration
public abstract override string ToString()
Returns
Type Description
System.String
Overrides
BaseUnaryExpression.ToString()

Implements

ISparqlExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseTrigonometricFunction(ISparqlExpression)
    • BaseTrigonometricFunction(ISparqlExpression, Func<Double, Double>)
  • Fields
    • _func
  • Properties
    • Type
  • Methods
    • Evaluate(SparqlEvaluationContext, Int32)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX