NB5 Docs► Reference Section► Binding Functions▼ DoubleVectorPadLeft 🖺

DoubleVectorPadLeft

Prefix the incoming array with an empty double[] so that it is sized up to at least the given size. If it is already at least that size, pass it through as-is.

DoubleVectorPadRight

Suffix the incoming array with an empty double[] so that it is sized up to at least the given size. If it is already at least that size, pass it through as-is.

DoubleVectorPrefix

Prefix the incoming array with an empty double[] of the given size.

DoubleVectorSuffix

Suffix the incoming array with an empty double[] of the given size.

FloatVectorPadLeft

Prefix the incoming array with an empty float[] so that it is sized up to at least the given size. If it is already at least that size, pass it through as-is.

FloatVectorPadRight

Suffix the incoming array with an empty float[] so that it is sized up to at least the given size. If it is already at least that size, pass it through as-is.

FloatVectorPrefix

Prefix the incoming array with an empty float[] of the given size.

FloatVectorSuffix

Suffix the incoming array with an empty double[] of the given size.

FloatVectors

This is the float version of the DoubleVector function. To facilitate a direct relationship between the double values from that function and the float values from this, this one defers to the double version for primary data. This function essentially wraps and converts the results from the DoubleVector function.

HashedDoubleVectors

Construct an arbitrarily large vector with hashes. The initial value is assumed to be non-hashed, and is thus hashed on input to ensure that inputs are non-contiguous. Once the starting value is hashed, the sequence of long values is walked and each value added to the vector is hashed from the values in that sequence.

HashedFloatVectors

Construct an arbitrarily large float vector with hashes. The initial value is assumed to be non-hashed, and is thus hashed on input to ensure that inputs are non-contiguous. Once the starting value is hashed, the sequence of long values is walked and each value added to the vector is hashed from the values in that sequence.

ToFloatVector

Back to top