Class matrix
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NumSharp.Core
Assembly: NumSharp.Core.dll
Syntax
public class matrix : NDArray, ICloneable
Constructors
| Improve this Doc View Sourcematrix(NDArray, Type)
Declaration
public matrix(NDArray data, Type dtype = null)
Parameters
Type | Name | Description |
---|---|---|
NDArray | data | |
System.Type | dtype |
matrix(String, Type)
Declaration
public matrix(string matrixString, Type dtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | matrixString | |
System.Type | dtype |
Methods
| Improve this Doc View SourceStringToDoubleMatrix(String[][])
Convert a string to Double[,] and store in Data field of Matrix object
Declaration
protected void StringToDoubleMatrix(string[][] matrix)
Parameters
Type | Name | Description |
---|---|---|
System.String[][] | matrix |
sum()
Declaration
public matrix sum()
Returns
Type | Description |
---|---|
matrix |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.ICloneable