MTM
vpa
variable precision arithmetic
Calling Sequence
Parameters
Description
Examples
vpa(a,d)
a
-
expression
d
(optional) positive integer
The function vpa(a,d) returns the expression a evaluated with d digits of floating-point precision. If d is not given, then d is equal to the default precision, digits.
with⁡MTM:
Digits≔4
vpa⁡π
3.142
vpa⁡π,6
3.14159
A≔Matrix⁡1.23123,4.93756,−123.17602,0.0234231
A≔1.231234.93756−123.176020.0234231
vpa⁡LinearAlgebraMatrixInverse⁡A,14
0.0000385110381529485−0.008118078373164640.2025195813427070.00202432408626761
See Also
Digits
evalf
MTM[exp]
Int
Sum
Download Help Document