Fork me on GitHub

Is there an equivalent in neanderthal to the clatrix library functions map and map-indexed which take a function and a matrix and apply the function to each element in the matrix?


So I was able to use alter! for a native matrix, but I guess doing so for a cuda matrix is inefficient, how would I use transfer! as it recommends to do this (knowing it is inefficient)