Class SymbolicExpression<T>
- Namespace
- AiDotNet.PhysicsInformed.ScientificML
- Assembly
- AiDotNet.dll
Represents a symbolic mathematical expression.
public class SymbolicExpression<T>
Type Parameters
T
- Inheritance
-
SymbolicExpression<T>
- Inherited Members
Constructors
SymbolicExpression(string, SymbolicExpressionType)
public SymbolicExpression(string expression, SymbolicExpressionType type)
Parameters
expressionstringtypeSymbolicExpressionType
Properties
Complexity
public int Complexity { get; }
Property Value
Expression
public string Expression { get; }
Property Value
Type
public SymbolicExpressionType Type { get; }
Property Value
Methods
Clone()
public SymbolicExpression<T> Clone()
Returns
Evaluate(Dictionary<string, T>)
Evaluates the expression for given variable values.
public T Evaluate(Dictionary<string, T> variables)
Parameters
variablesDictionary<string, T>
Returns
- T
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.