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()
Namespace: NumSharp.Extensions
Assembly: NumSharp.dll
Syntax
public static class NumPyExtensions
Methods
| Improve this Doc View Sourcedelete<T>(NumPy<T>, NDArray<T>, IEnumerable<T>)
Declaration
public static NDArray<T> delete<T>(this NumPy<T> np, NDArray<T> nd, IEnumerable<T> delete)
Parameters
| Type | Name | Description |
|---|---|---|
| NumPy<T> | np | |
| NDArray<T> | nd | |
| System.Collections.Generic.IEnumerable<T> | delete |
Returns
| Type | Description |
|---|---|
| NDArray<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
ones<T>(NumPy<T>, Shape)
Return a new array of given shape and type, filled with ones.
Declaration
public static NDArray<T> ones<T>(this NumPy<T> np, Shape shape)
Parameters
| Type | Name | Description |
|---|---|---|
| NumPy<T> | np | |
| Shape | shape |
Returns
| Type | Description |
|---|---|
| NDArray<T> |
Type Parameters
| Name | Description |
|---|---|
| T |