MatrixExtensions
01 Syntax
Microsoft.VisualBasic.ComponentModel.Collection.MatrixExtensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Matrix | 1 | 将数据集之中的虽有属性值取出来构建一个矩阵 |
| ToFloatMatrix | 1 | Converts a DataTable to a 2-dimensional array |
| DATA | 1 | Gets property field data from a generic data frame |
| Rectangle | 1 | An extension method shortcut to the function RectangularArray.Matrix()). |
| DimensionSizeOf | 1 | Measure the dimension size of the rectangle array. |
| ToMatrix | 1 | Convert the data collection into a matrix value. |
| ToVectorList | 1 | Convert the matrix data into a collection of collection data type.(将矩阵对象转换为集合的集合的类型) |
| GetSize | 1 | Get matrix width and height values. |
| RowIterator | 1 | Iterates each row data in a matrix type array. |
| Matrix | 1 | |
| DATA | 1 | |
| DimensionSizeOf | 1 | |
| ToMatrix | 1 | |
| ToVectorList | 1 | |
| GetSize | 1 | |
| RowIterator | 1 | |
| GetRow | 1 | |
| SetRow | 1 | |
| GetCol | 1 | |
| SetCol | 1 |
03 Members
Matrix``2(
IEnumerable(Of ``1))将数据集之中的虽有属性值取出来构建一个矩阵
Parameters
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of ``1) | - |
ToFloatMatrix(
DataTable)Converts a DataTable to a 2-dimensional array
Parameters
| Name | Type | Description |
|---|---|---|
table | DataTable | A System.Data.DataTable containing data to cluster |
Returns
A 2-dimensional array containing data to cluster
DATA``1(
IEnumerable(Of DynamicPropertyBase(Of ``0)), String)Gets property field data from a generic data frame
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
dataframe | IEnumerable(Of DynamicPropertyBase(Of ``0)) | - |
property$ | String | - |
Rectangle(
Type, Int32, Int32)An extension method shortcut to the function RectangularArray.Matrix().
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |
m% | Int32 | - |
n% | Int32 | - |
DimensionSizeOf``1(
``0()())Measure the dimension size of the rectangle array.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
rect | ``0()() | - |
ToMatrix``1(
IEnumerable(Of IEnumerable(Of ``0)))Convert the data collection into a matrix value.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of IEnumerable(Of ``0)) | The elements number in each collection should be agreed!(要求集合之中的每一列之中的数据的元素数目都相等) |
ToVectorList``1(
``0[0:,0:])Convert the matrix data into a collection of collection data type.(将矩阵对象转换为集合的集合的类型)
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
MAT | ``0[0:,0:] | - |
GetSize``1(
``0[0:,0:])Get matrix width and height values.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
m | ``0[0:,0:] | - |
RowIterator``1(
``0[0:,0:])Iterates each row data in a matrix type array.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
MAT | ``0[0:,0:] | - |
Matrix(
IEnumerable(Of DataSet))DATA(
IEnumerable(Of DynamicPropertyBase(Of T)), String)DimensionSizeOf(
T()())ToMatrix(
IEnumerable(Of IEnumerable(Of T)))ToVectorList(
T())GetSize(
T())RowIterator(
T())GetRow(
T(), Int32)SetRow(
T(), Int32, IEnumerable(Of T))GetCol(
T(), Int32)SetCol(
T(), Int32, IEnumerable(Of T))