NumSharp icon indicating copy to clipboard operation
NumSharp copied to clipboard

Slice assignment?

Open solarflarefx opened this issue 6 years ago • 1 comments

If you declare an array of a specific size, is there a way to assign slices of arrays?

For example, if x is an NDArray of size (5,2,3,4), is there a way to do something like the following?

NDArray a = some NDArray of size (1,2,3,4)

x[0,:,:,:] = a

solarflarefx avatar Dec 07 '19 17:12 solarflarefx

Related to https://github.com/SciSharp/NumSharp/issues/369 https://github.com/SciSharp/NumSharp/issues/368 https://github.com/SciSharp/NumSharp/issues/366 and is work in progress.

Nucs avatar Dec 07 '19 17:12 Nucs