project_out
project_out(vecs, basis, ndim=None, orthonormal=False, inverse=None, allow_pinv=False):
LLM Docstring
Project the span of a basis out of a set of vectors (keep the orthogonal complement).
vecs:np.ndarraythe vectors to project
basis:np.ndarraythe basis to remove
ndim:int | Nonenumber of vector axes (inferred if omitted)
orthonormal:boolwhether the basis is orthonormal
inverse:np.ndarray | Noneexplicit basis inverse (optional)
allow_pinv:booluse the pseudoinverse
:returns:np.ndarraythe vectors with the basis removed