Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
The Mathcad rounding and truncation functions take the form function(z,y), where z may be complex but y must be real,
This is an unnecessary restriction and contravenes the Zen of Mathcad Rule 16.
This Mathcad Enhancement Proposal (MEP) extends the y argument to accept complex numbers.
Furthermore, the rounding and truncation functions operate only on scalars and vectors, not on matrices. This is, again, an unnecessary restriction.
This MEP extends the truncation and rounding functions to accept matrix arguments.
The MEP further adds a function frac(z) that complements trunc by returning the fractional part of complex z; frac vectorizes over its arguments.
The MEP further extends the mod function to accept complex arguments; mod vectorizes over its arguments.
Stuart
Demonstration Mathcad Express 10 worksheet attached in support of the MEP.
