OracleSparseVector(dimensions, indices)
This constructor creates an instance of the OracleSparseVector class with a specified number of dimensions and the non-zero indices stored in a long[].
Declaration
// C# public OracleSparseVector(long dimensions, long[] indices);
Parameters
-
dimensionsThe number of dimensions of the sparse vector
-
indicesThe
long[]for the zero-based sparse vector's non-zero indices
Exceptions
ArgumentOutOfRangeException - index is less than 0, or an element in indices is less than 0 or greater than or equal to dimensions.
ArgumentNullException - The indices parameter is null.
ArgumentException - The dimensions are not a multiple of 8 or are less than the length of indices.
Remarks
The ProviderType is OracleDbType.Vector_Binary.