inverseRotate

fun inverseRotate(vector: FloatArray, seed: Int)(source)

Apply the inverse rotation to recover the original vector.

Since sign flips and Hadamard are both self-inverse (up to normalization), the inverse is the same operations in reverse order.

Parameters

vector

Input/output vector (modified in place)

seed

Same seed used during rotate