double - Maple Help

MTM

 double
 convert to double precision floating point

 Calling Sequence double(A)

Parameters

 A - an expression, or an array, matrix, or vector of expressions

Description

 • The double(A) function evaluates each element of A numerically at a precision of Digits:=15.  If possible, the computation is done using the floating-point hardware of the underlying system using evalhf.  The evaluation is done in double precision.
 • Division by zero will be trapped and Float(infinity) returned instead of raising an error.

Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $\mathrm{double}\left(\mathrm{Array}\left(\left[\mathrm{sin}\left(1\right),\mathrm{cos}\left(1\right)\right]\right)\right)$
 $\left[\begin{array}{cc}{0.841470984807897}& {0.540302305868140}\end{array}\right]$ (1)