在这个泛型向量之中,仅包含有对元素对象的访问方法的封装,并没有涉及类型解析等反射操作
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. |
03 Properties
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