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 |
---|---|---|
ISparql |
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 |
---|---|---|
ISparql |
expr | Expression. |
System. |
func | Trigonometric Function. |
Fields
| Improve this Doc View Source_func
Trigonometric function.
Declaration
protected Func<double, double> _func
Field Value
Type | Description |
---|---|
System. |
Properties
| Improve this Doc View SourceType
Gets the expression type.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type | Description |
---|---|
Sparql |
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 |
---|---|---|
Sparql |
context | Evaluation Context. |
System. |
bindingID | Binding ID. |
Returns
Type | Description |
---|---|
IValued |
Overrides
| Improve this Doc View SourceToString()
Gets the string representation of the Function.
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System. |