[pstricks] performing calculations by avoiding fpeval
mathias legrand
legrand.mathias at gmail.com
Tue Sep 7 00:44:10 CEST 2010
In May 2010, Michael was suggesting a piece of code capable of doing
calculations within a multido loop as follows:
\newcount\MLcount%
\multido{\i=0+1}{22}{%
\multido{\I=0+1}{30}{%
\MLcount=\I\relax\advance\MLcount\i\relax\multiply\MLcount2\relax
\mypsframe{\i}{\the\MLcount}}%
}%
}%
From my experience, this only works with integers: is this true?
If yes, how may it be generalized to real numbers?
Thank you
More information about the PSTricks
mailing list