SQRT

From Jacket Wiki

Jump to: navigation, search
Back to Function List

SQRT(X) is the square root of the elements of X.

Usage

Jacket for M Language
    Supported Syntax
    
B = sqrt(X)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   COMPLEX 

Types Not Supported

-  GLOGICAL   GINT32   INT8   GUINT32   GUINT8 

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/sqrt.html

Notes

  • When used in GCOMPILE, sqrt() will return NaN if the input is real and negative.

See Also

SQRTM, REALSQRT

Personal tools