diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex index e29fb81d9b7..e12380bd8ae 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-design.tex @@ -46,8 +46,8 @@ The mathematical engine of \pgfname\ is loaded automatically by not need \pgfname\ itself, you can load the following package: \begin{package}{pgfmath} - This command will load the mathematical engine of \pgfname, but not - \pgfname\ itself. It defines commands like |\pgfmathparse|. + This command will load the mathematical engine of \pgfname, but not + \pgfname itself. It defines commands like |\pgfmathparse|. \end{package} @@ -57,7 +57,8 @@ Like \pgfname\ itself, the mathematical engine is also structured into different layers: \begin{enumerate} -\item The top layer, which you will typically use directly, provides +\item + The top layer, which you will typically use directly, provides the command |\pgfmathparse|. This command parses a mathematical expression and evaluates it. @@ -65,11 +66,15 @@ different layers: similar to the macros of the |calc| package for setting dimensions and counters. These macros are just wrappers around the |\pgfmathparse| macro. -\item The calculation layer provides macros for performing one + +\item + The calculation layer provides macros for performing one specific computation like computing a reciprocal or a multiplication. The parser uses these macros for the actual computation. -\item The implementation layer provides the actual implementations of + +\item + The implementation layer provides the actual implementations of the computations. These can be changed (and possibly be made more efficient) without affecting the higher layers. \end{enumerate} @@ -80,7 +85,7 @@ different layers: Currently, the mathematical algorithms are all implemented in \TeX. This poses some intriguing programming challenges as \TeX{} is a -language for typesetting, rather than general mathematics, +language for typesetting, rather than for general mathematics, and as with any programming language, there is a trade-off between accuracy and efficiency. If you find the level of accuracy insufficient for you |