This ensures that each column in x is orthogonal to the corresponding column in by.

orthonormalise_by(x, by)

Arguments

x

numeric matrix

by

numeric matrix, same size as x

Value

orthonormal numeric matrix