/* ---------------------------------------------------------------------------- * 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 * -------------------------------------------------------------------------- */ /** * @file LieVector.cpp * @brief Implementations for LieVector functions * @author Alex Cunningham */ #include #include using namespace std; namespace gtsam { /* ************************************************************************* */ LieVector::LieVector(size_t m, const double* const data) : Vector(Vector_(m,data)) { } /* ************************************************************************* */ LieVector::LieVector(size_t m, ...) : Vector(m) { va_list ap; va_start(ap, m); for( size_t i = 0 ; i < m ; i++) { double value = va_arg(ap, double); (*this)(i) = value; } va_end(ap); } } // \namespace gtsam