Class NumPyExtensions
Inheritance
System.Object
NumPyExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NumSharp.dll
Syntax
public static class NumPyExtensions
Methods
|
Improve this Doc
View Source
array<T>(NumPy<T>, T[][])
Declaration
public static NDArray<T> array<T>(this NumPy<T> np, T[][] data)
Parameters
| Type |
Name |
Description |
| NumPy<T> |
np |
|
| T[][] |
data |
|
Returns
Type Parameters
|
Improve this Doc
View Source
array<T>(NumPy<T>, IEnumerable<T>, Int32)
Declaration
public static NDArray<T> array<T>(this NumPy<T> np, IEnumerable<T> array, int ndim = 1)
Parameters
| Type |
Name |
Description |
| NumPy<T> |
np |
|
| System.Collections.Generic.IEnumerable<T> |
array |
|
| System.Int32 |
ndim |
|
Returns
Type Parameters
|
Improve this Doc
View Source
array<T>(NumPy<T>, Bitmap)
Declaration
public static NDArray<byte> array<T>(this NumPy<T> np, Bitmap image)
Parameters
| Type |
Name |
Description |
| NumPy<T> |
np |
|
| System.Drawing.Bitmap |
image |
|
Returns
| Type |
Description |
| NDArray<System.Byte> |
|
Type Parameters
|
Improve this Doc
View Source
asarray<T>(NumPy<T>, IEnumerable<T>, Int32)
Declaration
public static NDArray<T> asarray<T>(this NumPy<T> np, IEnumerable<T> array, int ndim = 1)
Parameters
| Type |
Name |
Description |
| NumPy<T> |
np |
|
| System.Collections.Generic.IEnumerable<T> |
array |
|
| System.Int32 |
ndim |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ones_like<T>(NumPy<T>, NDArray<T>, String)
Declaration
public static NDArray<T> ones_like<T>(this NumPy<T> np, NDArray<T> nd, string order = "C")
Parameters
| Type |
Name |
Description |
| NumPy<T> |
np |
|
| NDArray<T> |
nd |
|
| System.String |
order |
|
Returns
Type Parameters
|
Improve this Doc
View Source
sin<T>(NumPy<T>, NDArray<T>)
Declaration
public static NDArray<T> sin<T>(this NumPy<T> np, NDArray<T> nd)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
sin<T>(NumPy<T>, NDArray<NDArray<T>>)
Declaration
public static NDArray<NDArray<T>> sin<T>(this NumPy<T> np, NDArray<NDArray<T>> nd)
Parameters
Returns
Type Parameters