OracleSparseVector(dimensions, indices, sparseValue)

This constructor creates an instance of the OracleSparseVector class with a specified number of dimensions and non-zero vector values stored in a float[].

Declaration

// C#
public OracleSparseVector(long dimensions, long[] indices, float[] sparseValue);

Parameters

Exceptions

ArgumentOutOfRangeException - dimensions index is less than zero, or an element in indices is less than zero or greater than or equal to dimensions.

ArgumentNullException - The indices or sparseValue parameter is null.

ArgumentException - The dimensions are fewer than the length of indices or sparseValue, or the length of indices and sparseValue are not equal.

Remarks

The ProviderType is OracleDbType.Vector_Float32.

See Also: