of

fun <N : Nat> of(dim: N, vararg data: Double): Vector<N>(source)

Creates a vector from the given values.


fun <N : Nat> of(dim: N, data: Collection<Double>): Vector<N>(source)

Creates a vector from a collection.