ToFloatArray()

The method returns a float[] value of this OracleSparseVector instance.

Declaration

// C#
public float[] ToFloatArray();

Return Value

A float[] representing the whole sparse vector in dense vector form.

Expections

OracleNullValueException - The current instance has a null value.

ObjectDisposedException - The object is already disposed.

Remarks

If the vector's numeric format is not OracleDbType.Vector_Float32, then this method implicitly converts the vector values to float types.