Class BaseTrigonometricFunction
Abstract Base Class for Unary Trigonometric Functions in the Leviathan Function Library.
Inheritance
System.Object
BaseTrigonometricFunction
Implements
Inherited Members
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 SourceBaseTrigonometricFunction(ISparqlExpression)
Creates a new Unary Trigonometric Function.
Declaration
public BaseTrigonometricFunction(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
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 SourceType
Gets the expression type.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type | Description |
---|---|
SparqlExpressionType |
Overrides
Methods
| Improve this Doc View SourceEvaluate(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
| Improve this Doc View SourceToString()
Gets the string representation of the Function.
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System.String |