5#ifndef RSMESH_ORTHONORMALIZE_H
6#define RSMESH_ORTHONORMALIZE_H
13 template <
class Derived>
14 void orthonormalize_cols(Eigen::MatrixBase<Derived>& m) {
17 for(index_t i = 0; i < n; i ++) {
18 m.col(i) /= m.col(i).norm();
19 for(index_t j = i + 1; j < n; j ++) {
20 m.col(j) -= m.col(i).dot(m.col(j)) * m.col(j);
本系统的主命名空间,包含了common, examples, fmm, geometry, numeric, point_cloud等子命名空间