Type MarshalingExtensions
Namespace numpy
Marshaling between.NET collections and NumPy arrays.
Methods
Public static methods
void CopyTo<T>(this ReadOnlySpan<T> span, ndarray<T> numpyArray)
Copies span elements into an existing NumPy array.
void CopyTo<T>(this T[] array, ndarray<T> numpyArray)
ndarray<T> ToNumPyArray<T>(this IEnumerable<T> enumerable)
Copies elements from enumerable into a new NumPy array
ndarray<T> ToNumPyArray<T>(this ReadOnlySpan<T> span)
Copies memory span into a new NumPy array.
ndarray<T> ToNumPyArray<T>(this ReadOnlySpan<T> span, Int32[] shape)
Copies memory span into a new NumPy array.