Class NDArrayExtensions
Inheritance
System.Object
NDArrayExtensions
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.Core.Extensions
Assembly: NumSharp.Core.dll
Syntax
public static class NDArrayExtensions
Methods
| Improve this Doc View SourceArgMax<T>(NDArray)
Declaration
public static int ArgMax<T>(this NDArray np)
Parameters
| Type | Name | Description |
|---|---|---|
| NDArray | np |
Returns
| Type | Description |
|---|---|
| System.Int32 |
Type Parameters
| Name | Description |
|---|---|
| T |
AsMatrix(NDArray)
Declaration
public static matrix AsMatrix(this NDArray nd)
Parameters
| Type | Name | Description |
|---|---|---|
| NDArray | nd |
Returns
| Type | Description |
|---|---|
| matrix |
mean(NDArray, Int32)
Declaration
public static NDArray mean(this NDArray np, int axis = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| NDArray | np | |
| System.Int32 | axis |
Returns
| Type | Description |
|---|---|
| NDArray |