Loadable Function: ocl_eye (n)
Loadable Function: ocl_eye (m, n)
Loadable Function: ocl_eye ([m n])
Loadable Function: ocl_eye (…, class)

Return an identity matrix as OCL matrix.

For details, see help for eye.

The OCL matrix is assembled on the OpenCL device.

See also: eye, ocl_ones, ocl_zeros, oclArray.

Package: ocl