issues
search
SciSharp
/
NumSharp
High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.36k
stars
189
forks
source link
NDArray Getter Rework
#382
Closed
Nucs
closed
4 years ago
Nucs
commented
4 years ago
NDArray.Indexing: Rewrite of the getter mechanism, NDArray getter now supports combining 'NDArray, Slice, string, int, bool' in the same slice.
NDArray.Indexing: Added support for indexing with unmanaged array of indices: ndarray[int
pointer, int length], nd.GetData(int
, int), etc..
NDArray.Indexing.Masking: added getter support for NDArray[NDArray
mask]
NDArray.Reshaping: Unified all reshape overloads to a single method.
NDArray.Slicing: Added support for slicing a broadcasted NDArray.
Added np.nonzero, np.maximum, np.minimum, np.all, np.any
Arrays.cs: perf-optted Arrays.Slice
NPTypeCode: Added NPTypeCode.Float as an alias to NPTypeCode.Single
np.clip: Added @out argument
Added np.array(IEnumerable
) and np.array(IEnumerable
, int size) which is faster.
Extending NPY and fixing NPZ (Thanks Matthew Moloney)
Added NDArray.AsOrMakeGeneric
()
NDArray.Broadcasting: fixed multiple issues.
np.broadcast_to: added additional overloads.
added np.are_broadcastable
NDArray.FromMultiDimArray
: Fixed #367
NDIterator: added documentation
Added IIndex empty interface to NDArray and Slice
Shape: changed Shape.layout to a const and cleaned the computations in Shape.
Added Debug-Minimal project configuration for a faster build (halves build time) for more rapid dev.