Symbolic expression evaluations

Modified: 2010/06/17 01:06 by maweilian - Categorized as: Developer Guide, English
Edit

Overview of Symbolic Expression Evaluations

Full symbolic expression can be stored in MItem Class. You can operate with instances of this class using standard operators + - * / and it has several methods to make it easy to operate with expressions. Actually, MItem is very interesting class that was fully designed by Andrey and it has not been used anywhere before. For example: it doesn't support - and / operators at all (meaning it cannot store and work with them), instead of it every part of MItem Class expression has Boolean fields: Negative (means -a) and Inverse (means 1/a). So, you should respect this fact in order to avoid some errors.

Edit

Interface to be implemented

IPluginMathSymbolicEvaluation interface

Edit

Methods

SMath.Math.Symbolic.Expression.SimplifyEx(MItem) - Symbolic expression simplification
SMath.Math.Symbolic.Expression.DifferentiateEx(MItem, MItem) - Symbolic differentiation of expression

ScrewTurn Wiki version 2.0.37. Some of the icons created by FamFamFam.