PersistenceConstraint#randDir

Parsed documentation:
View on GitHub
/** This function samples a random direction vector with length 1
@param {number} [n=3] - number of dimensions of the space to make the vector in.
@return {number[]} - a normalized direction vector.
*/
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.