/* ---------------------------------------------------------------------------- * 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 * -------------------------------------------------------------------------- */ /* * Tensor4.h * @brief Rank 4 tensors based on http://www.gps.caltech.edu/~walter/FTensor/FTensor.pdf * Created on: Feb 12, 2010 * @author: Frank Dellaert */ #pragma once #include namespace tensors { /** Rank 3 Tensor */ template class Tensor4 { private: Tensor3 T[N4]; public: /** default constructor */ Tensor4() { } double operator()(int i, int j, int k, int l) const { return T[l](i, j, k); } }; // Tensor4 } // namespace tensors