vpa - Maple Help

Online Help

All Products    Maple    MapleSim


MTM

  

vpa

  

variable precision arithmetic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

vpa(a,d)

Parameters

a

-

expression

d

-

(optional) positive integer

Description

• 

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.

Examples

withMTM:

Digits4

Digits4

(1)

vpaπ

3.142

(2)

vpaπ,6

3.14159

(3)

AMatrix1.23123,4.93756,123.17602,0.0234231

A1.231234.93756−123.176020.0234231

(4)

vpaLinearAlgebraMatrixInverseA,14

0.0000385110381529485−0.008118078373164640.2025195813427070.00202432408626761

(5)

See Also

Digits

evalf

MTM[exp]

Int

Sum