Table of Contents

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

expression string
type SymbolicExpressionType

Properties

Complexity

public int Complexity { get; }

Property Value

int

Expression

public string Expression { get; }

Property Value

string

Type

public SymbolicExpressionType Type { get; }

Property Value

SymbolicExpressionType

Methods

Clone()

public SymbolicExpression<T> Clone()

Returns

SymbolicExpression<T>

Evaluate(Dictionary<string, T>)

Evaluates the expression for given variable values.

public T Evaluate(Dictionary<string, T> variables)

Parameters

variables Dictionary<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.