GEYE
From Jacket Wiki
(Redirected from EYE)
Back to Function List, Jacket Basics
Identity matrix on GPU.
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
geye(n) geye(m,n) geye([m n]) geye(size(A)) geye(m, n, classname) geye([m n], classname) % new in v1.7 eye([m n], class(X)) eye([m n], gsingle) |
|||||||||||
|
|||||||||||
Notes
- The size inputs M, N, and P... should be nonnegative integers. Negative integers are treated as 0.
- All subsequent computations on Y are performed on the graphics card (GPU).
- Use the standard MATLAB conversions to return data to the CPU (DOUBLE,SINGLE,..)
- Actual GPU computation is delayed until the results are requested.
Y = geye(2) Y = geye(4,8) Y = geye([4 8]) Y = geye(size(A)) Y = geye(2, 2, 'single') Y = geye([2 2], 'uint32') Y = eye([2 2], class(X)) % new in v1.7