Blog Options
Archive
<< April 2019 >>-
Tuesday 16
- New features in TMS Analytics & Physics 2.8 -
Tuesday 9
- TMS FNC Cloud Pack BETA -
Wednesday 3
- TMS WEB Core v1.2 Padua beta is here for TMS ALL-ACCESSS users -
Monday 1
- Access the camera with TMS WEB Core 1.2 Padua
Authors
- Adrian Gallero (20)
- Bernard Roussely (1)
- Bruno Fierens (215)
- Gjalt Vanhauwaert (1)
- Marcos Douglas B. Santos (5)
- Masiha Zemarai (9)
- Nancy Lescouhier (32)
- Pieter Scheldeman (13)
- Roman Yankovsky (1)
- Tunde Keller (3)
- Wagner R. Landgraf (59)
Blog
Most Recent Post | Next Post | Previous Post | Index List
New features in TMS Analytics & Physics 2.8
Bookmarks:Tuesday, April 16, 2019
The previous version 2.7 of TMS Analytics & Physics library introduced the capability of converting formula and units of measurements to the TeX format. The TeX representation allows then drawing formula in natural math form, using some external tools, such as MathJax.The new version 2.8 provides some improvements of formula conversion and includes new capabilities. The main new feature is converting standard functions to math operators. For example, exponent function ‘exp(x)’ can be converted to the form of power operation as ‘ex’. The following standard functions supported: sqrt, root, pow, abs and exp. The option of converting functions to the operation format can be on or off, allowing different representation of the formula.
Let us consider the following formula, containing several standard functions ‘sqrt(x^2-1)+root{3*n}(x/2)*abs(x-A)-exp(x^2)*pow{n/2}(x+1)’. This formula can be converted to the TeX format in two different ways: with or without converting functions to the operation format. Here is the formula drawing for these two cases:
- without function conversion:
- with function conversion:
Another improvement is new simplifications of math expressions. Simplifying math expressions allows better representation of math data. Simplified formula is more suitable for reading and perception. For example, the expression simplification implicitly used after symbolic derivative calculation, because this can significantly reduce the result. For example, let us consider the following formula:
Evaluating symbolic derivatives for the expression, we can get two results. The first result evaluated using formal recursive chain algorithm without simplifications:
Next formula is the same expression after simplification:
The last version 2.8 of the library supports the following simplification algorithms:
- Expanding nested sum, product and power expressions
- Collecting constant addends in sum expressions
- Reducing addends in sum expressions
- Combining constant multipliers in product expressions
- Reducing multipliers in fraction expressions
- Combining power expressions with multipliers
- Simplifying integer square roots and modulus of negative data
The expression simplification can be used explicitly in the code, calling the ‘Simplify’ method of the ‘TTranslator’ class. Here is an example of the formula simplification demonstrating the algorithms: Initial formula:
Simplified formula:
TMS Analytics & Physics 2.8 is already available.
Masiha Zemarai
Bookmarks:
This blog post has not received any comments yet. Add a comment.
Most Recent Post | Next Post | Previous Post | Index List