def orth_by_row(self): row_vecs = self.rows() return Mat.construct_by_rows(Vec.orthogonal(row_vecs))
def orth_by_col(self): col_vecs = self.cols() return Mat.conconstruct_by_cols(Vec.orthogonal(col_vecs))