12345678910111213141516171819202122232425262728293031323334353637383940 |
- // This file is part of libigl, a simple c++ geometry processing library.
- //
- // Copyright (C) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>
- //
- // This Source Code Form is subject to the terms of the Mozilla Public License
- // v. 2.0. If a copy of the MPL was not distributed with this file, You can
- // obtain one at http://mozilla.org/MPL/2.0/.
- #ifndef IGL_KRONECKERPRODUCT_H
- #define IGL_KRONECKERPRODUCT_H
- // Obsolete: Use
- // #include <unsupported/Eigen/src/KroneckerProduct>
- // ...
- // Eigen::kroneckerProduct(A,B,C);
- //#include "igl_inline.h"
- //
- //#include <Eigen/Dense>
- //#include <Eigen/Sparse>
- //
- //namespace igl
- //{
- // // Computes the Kronecker product between sparse matrices A and B.
- // //
- // // Inputs:
- // // A #M by #N sparse matrix
- // // B #P by #Q sparse matrix
- // // Returns #M*#P by #N*#Q sparse matrix
- // //
- // template <typename Scalar>
- // IGL_INLINE Eigen::SparseMatrix<Scalar> kronecker_product(
- // const Eigen::SparseMatrix<Scalar> & A,
- // const Eigen::SparseMatrix<Scalar> & B);
- //}
- //
- //#ifndef IGL_STATIC_LIBRARY
- //# include "kronecker_product.cpp"
- //#endif
- #endif
|