PI

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Ratio of circle's circumference to its diameter

Usage

Jacket for M Language
    Supported Syntax
    
pi
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE 

Types Not Supported

-  GLOGICAL   GINT32   GINT8   GUINT32   GUINT8   COMPLEX 

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pi.html

Notes

See the <jacket_root>/examples/pi_example demo to learn how to use Jacket to calculate an approximate value of pi on the GPU.

See Also

None

Views
Personal tools