Class CotangentFunction
Represents the Leviathan lfn:cot() or lfn:cot-1 function.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric.Trigonometry
Assembly: dotNetRdf.dll
Syntax
public class CotangentFunction : BaseTrigonometricFunction, ISparqlExpression
Constructors
| Improve this Doc View SourceCotangentFunction(ISparqlExpression, bool)
Creates a new Leviathan Cotangent Function.
Declaration
public CotangentFunction(ISparqlExpression expr, bool inverse)
Parameters
| Type | Name | Description |
|---|---|---|
| ISparqlExpression | expr | Expression. |
| System.Boolean | inverse | Whether this should be the inverse function. |
CotangentFunction(ISparqlExpression)
Creates a new Leviathan Cotangent Function.
Declaration
public CotangentFunction(ISparqlExpression expr)
Parameters
| Type | Name | Description |
|---|---|---|
| ISparqlExpression | expr | Expression. |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| Improve this Doc View SourceInverse
Declaration
public bool Inverse { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceAccept<T>(ISparqlExpressionVisitor<T>)
Declaration
public override T Accept<T>(ISparqlExpressionVisitor<T> visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| ISparqlExpressionVisitor<T> | visitor |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
Overrides
VDS.RDF.Query.Expressions.BaseUnaryExpression.Accept<T>(VDS.RDF.Query.ISparqlExpressionVisitor<T>)
|
Improve this Doc
View Source
Accept<TResult, TContext, TBinding>(ISparqlExpressionProcessor<TResult, TContext, TBinding>, TContext, TBinding)
Declaration
public override TResult Accept<TResult, TContext, TBinding>(ISparqlExpressionProcessor<TResult, TContext, TBinding> processor, TContext context, TBinding binding)
Parameters
| Type | Name | Description |
|---|---|---|
| ISparqlExpressionProcessor<TResult, TContext, TBinding> | processor | |
| TContext | context | |
| TBinding | binding |
Returns
| Type | Description |
|---|---|
| TResult |
Type Parameters
| Name | Description |
|---|---|
| TResult | |
| TContext | |
| TBinding |
Overrides
VDS.RDF.Query.Expressions.BaseUnaryExpression.Accept<TResult, TContext, TBinding>(VDS.RDF.Query.ISparqlExpressionProcessor<TResult, TContext, TBinding>, TContext, TBinding)
|
Improve this Doc
View Source
ToString()
Gets the String representation of the function.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
| Improve this Doc View SourceTransform(IExpressionTransformer)
Transforms the Expression using the given Transformer.
Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
| Type | Name | Description |
|---|---|---|
| IExpressionTransformer | transformer | Expression Transformer. |
Returns
| Type | Description |
|---|---|
| ISparqlExpression |