basis_random(n, d = 2)
basis_nearby(alpha = 0.75, method = 'geodesic', d = 2)
linear
or geodesic
.basis_random
, a random orthonormal matrix of specified
dimensions.For basis_nearby
, a function that can be used to generate new
matrices "near" the current matrix.basis_random
returns a new orthonormal matrix of specified dimensions.basis_nearby
generates a function. Calling this function with a
matrix, hybridizes it with a new (randomly generated via
basis_random
) orthonormal matrix, and returns it.