Click or drag to resize

ScalarFunctionDDExpression Class

A scalar expression given as a string which takes a single Double value as argument and returns a Double value.
Inheritance Hierarchy
SystemObject
  Altaxo.CalcScalarFunctionDDExpression

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ScalarFunctionDDExpression : IScalarFunctionDD, 
	IImmutable, IEquatable<ScalarFunctionDDExpression>

The ScalarFunctionDDExpression type exposes the following members.

Constructors
 NameDescription
Public methodScalarFunctionDDExpressionInitializes a new instance of the ScalarFunctionDDExpression class
Top
Properties
 NameDescription
Public propertyExpression Gets the expression.
Top
Methods
 NameDescription
Public methodEvaluate 
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Top
Remarks

System.Math is in the usings, thus functions like Sqrt, Sin, Abs can be used without prepending System.Math.

References: https://github.com/dotnet/roslyn/blob/main/docs/wiki/Scripting-API-Samples.md

See Also