The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

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

Return an OCL matrix or N-dimensional OCL array whose elements are all 0.

For details, see help for zeros.

The OCL matrix is assembled on the OpenCL device.

See also: zeros, ocl_ones, oclArray.

Package: ocl