TRUE

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Logical 1 (true)

Usage

Jacket for M Language
    Supported Syntax
    
r = true(n)
true(m,n)
true([m,n])
true(m,n,p,...)
true([m,n,p,...])
true
true(size(A))
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GLOGICAL 

Types Not Supported

-  GDOUBLE   GSINGLE   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/true.html

Notes

  • Operations on GPU datatypes that result in true are supported
  • Creating a matrix of true values directly is not supported
  • Operations on GPU datatypes that result in true are supported

See Also

FALSE, LOGICAL, GLOGICAL

Views