Functions
of
Copies values into independent contiguous storage.
wrap
fun wrap(values: DoubleArray, offset: Int = 0, size: Int = values.size - offset, stride: Int = 1): DenseVector(source)
Borrows size entries of values, starting at offset with the given stride. No entries are copied; mutations through either reference are shared. The default size covers the remaining buffer at unit stride; specify the logical size for other strides. Negative strides are supported. Empty vectors require an offset in 0..values.size. Bounds use overflow-safe arithmetic.