toFloatArray

Returns element as a FloatArray, converting scalar types when possible.

Return

element as FloatArray or empty FloatArray if fail.