ColumnVector

ColumnVector ColumnVector(Integer length, LongArray data)

data can be LongArray.

ColumnVector ColumnVector(Integer length, FloatArray data)

data can be FloatArray.

ColumnVector ColumnVector(Integer length, IntArray data)

data can be IntArray.

ColumnVector ColumnVector(Integer length, Function1<Integer, Number> lambda)

It is possible to set a value using lambda function.

ColumnVector ColumnVector(DoubleArray data)

If data is given, length is no longer necessary.

ColumnVector ColumnVector(LongArray data)

If data is given, length is no longer necessary.

ColumnVector ColumnVector(FloatArray data)

If data is given, length is no longer necessary.

ColumnVector ColumnVector(IntArray data)

If data is given, length is no longer necessary.

ColumnVector ColumnVector(Integer length, DoubleArray data)

Creates a new column vector. If data is not given, it will generate a zero vector.

Parameters

data

must fit into the length of this vector.