Class BaseTrigonometricFunction
Abstract Base Class for Unary Trigonometric Functions in the Leviathan Function Library.
Inheritance
BaseTrigonometricFunction
      
      
      
      
      
      
  Implements
Inherited Members
Namespace: VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric.Trigonometry
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTrigonometricFunction : BaseUnaryExpression, ISparqlExpression
  Constructors
| Edit this page 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.  | 
      
| Func<double, double> | func | Trigonometric Function.  | 
      
Fields
| Edit this page View Source_func
Trigonometric function.
Declaration
protected Func<double, double> _func
  Field Value
| Type | Description | 
|---|---|
| Func<double, double> | 
Properties
| Edit this page View SourceType
Gets the expression type.
Declaration
public override SparqlExpressionType Type { get; }
  Property Value
| Type | Description | 
|---|---|
| SparqlExpressionType | 
Overrides
Methods
| Edit this page View SourceToString()
Gets the string representation of the Function.
Declaration
public override abstract string ToString()
  Returns
| Type | Description | 
|---|---|
| string |