在这个泛型向量之中,仅包含有对元素对象的访问方法的封装,并没有涉及类型解析等反射操作
GenericVector
Type Parameters
| Name | Description |
|---|---|
T |
01 Syntax
Microsoft.VisualBasic.Math.Scripting.Rscript.GenericVector`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Initializes a new instance of the generic type vector class that is empty and has the specified initial capacity. |
| Factor | 1 | |
| op_Inequality | 1 | |
| op_Equality | 1 | |
| op_Explicit | 1 | |
| Dispose | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Dim | 1 | 向量维数,就是向量的长度(元素的个数) |
| GET | 1 | |
| SelectWhere | 1 |
04 Members
#ctor(
Int32)Initializes a new instance of the generic type vector class that is empty and has the specified initial capacity.
Parameters
| Name | Type | Description |
|---|---|---|
capacity | Int32 | The number of elements that the new list can initially store. |
Dim
向量维数,就是向量的长度(元素的个数)
Parameters
SelectWhere
Factor(
Int32)op_Inequality(GenericVector(Of T), GenericVector(Of T))
op_Equality(GenericVector(Of T), GenericVector(Of T))
op_Explicit(GenericVector(Of T))
Dispose()