SINGLE
From Jacket Wiki
Back to Function List
Convert to CPU single precision
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
B = single(A) |
|||||||||||
|
|||||||||||
Notes
One bottleneck in achieving reasonable amounts of speedup is memory transfer. If you wish to optimize your code and achieve speed-ups, try to reduce the amount of casts to CPU types especially on large variables, as each such operation can incur a costly memory transfer operation which would slow down your code.