nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / MatrixExtensions

MatrixExtensions

Full name Microsoft.VisualBasic.ComponentModel.Collection.MatrixExtensions Assembly Microsoft.VisualBasic.Runtime Members 20

01 Syntax

Microsoft.VisualBasic.ComponentModel.Collection.MatrixExtensions

02 Methods

NameOverloadsSummary
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

method Matrix #
Matrix``2(IEnumerable(Of ``1))

将数据集之中的虽有属性值取出来构建一个矩阵

Parameters
NameTypeDescription
dataIEnumerable(Of ``1)

-

method ToFloatMatrix #
ToFloatMatrix(DataTable)

Converts a DataTable to a 2-dimensional array

Parameters
NameTypeDescription
tableDataTable

A System.Data.DataTable containing data to cluster

Returns

A 2-dimensional array containing data to cluster

method DATA #
DATA``1(IEnumerable(Of DynamicPropertyBase(Of ``0)), String)

Gets property field data from a generic data frame

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
dataframeIEnumerable(Of DynamicPropertyBase(Of ``0))

-

property$String

-

method Rectangle #
Rectangle(Type, Int32, Int32)

An extension method shortcut to the function RectangularArray.Matrix().

Parameters
NameTypeDescription
typeType

-

m%Int32

-

n%Int32

-

method DimensionSizeOf #
DimensionSizeOf``1(``0()())

Measure the dimension size of the rectangle array.

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
rect``0()()

-

method ToMatrix #
ToMatrix``1(IEnumerable(Of IEnumerable(Of ``0)))

Convert the data collection into a matrix value.

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
sourceIEnumerable(Of IEnumerable(Of ``0))

The elements number in each collection should be agreed!(要求集合之中的每一列之中的数据的元素数目都相等)

method ToVectorList #
ToVectorList``1(``0[0:,0:])

Convert the matrix data into a collection of collection data type.(将矩阵对象转换为集合的集合的类型)

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
MAT``0[0:,0:]

-

method GetSize #
GetSize``1(``0[0:,0:])

Get matrix width and height values.

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
m``0[0:,0:]

-

method RowIterator #
RowIterator``1(``0[0:,0:])

Iterates each row data in a matrix type array.

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
MAT``0[0:,0:]

-

method Matrix #
Matrix(IEnumerable(Of DataSet))
method DATA #
DATA(IEnumerable(Of DynamicPropertyBase(Of T)), String)
method DimensionSizeOf #
DimensionSizeOf(T()())
method ToMatrix #
ToMatrix(IEnumerable(Of IEnumerable(Of T)))
method ToVectorList #
ToVectorList(T())
method GetSize #
GetSize(T())
method RowIterator #
RowIterator(T())
method GetRow #
GetRow(T(), Int32)
method SetRow #
SetRow(T(), Int32, IEnumerable(Of T))
method GetCol #
GetCol(T(), Int32)
method SetCol #
SetCol(T(), Int32, IEnumerable(Of T))