/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------------------------------------------------------------- */ /* * DenseQRUtil.h * * Created on: Jul 1, 2010 * Author: nikai * Description: the utility functions for DenseQR */ #pragma once #include #ifdef GT_USE_LAPACK #include namespace gtsam { /** make stairs and speed up householder_denseqr. Stair is defined as the row index of where zero entries start in each column */ int* MakeStairs(Matrix &A); /** Householder tranformation, zeros below diagonal */ void householder_denseqr(Matrix &A, int* Stair = NULL); void householder_denseqr_colmajor(boost::numeric::ublas::matrix& A, int *Stair); } #endif