Module tanya.algorithm.mutation
Algorithms that modify its arguments.
Functions
Name | Description |
---|---|
copy(source, target)
|
Copies the source range into the target range. |
destroyAll(range)
|
Destroys all elements in the range. |
fill(range, value)
|
Fills range with value. |
initializeAll(range)
|
Initializes all elements of the range assuming that they are uninitialized. |
rotate(front, back)
|
Rotates the elements of a union of two ranges. |
uninitializedFill(range, value)
|
Fills range with value assuming the elements of the range aren't initialized. |