Creates an instance of the vector class.
Class
TCRVector
Syntax
constructor Create(ADataType: Word; ADimensions: integer); overload;
Parameters
ADataType
The data type of the vector being created. The allowed values are:
-
dtVectorVariant
-
dtVectorFloat16
-
dtVectorFloat32
-
dtVectorFloat64
-
dtVectorInt8
-
dtVectorUInt8
-
dtVectorBit
-
dtSparseVectorVariant
-
dtSparseVectorFloat16
-
dtSparseVectorFloat32
-
dtSparseVectorFloat64
-
dtSparseVectorInt8
-
dtSparseVectorUInt8
The specific set of valid values depends on the DBMS.
ADimensions
The dimensions of the vector being created. For fixed-size vectors, the value must be in the range from 1 to max, where the maximum value depends on the DBMS. If the value is set to 0, a variable-size vector is created.
Remarks
Use the Create constructor to create an instance of a particular vector class.
See Also