Inserting a value into a vector

Description

This inserts a value x0 at d-th position of x.

Usage

1
insert(x, d, x0 = 0)

Arguments

x

A vector.

d

A position in x.

x0

A value to be inserted.

Value

The resulting vector.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.