13 #ifndef MLPACK_CORE_MATH_MULTIPLY_SLICES_HPP
14 #define MLPACK_CORE_MATH_MULTIPLY_SLICES_HPP
32 template <
typename CubeType>
34 const CubeType& cubeB,
35 const bool aTranspose =
false,
36 const bool bTranspose =
false);
49 template <
typename MatType,
typename CubeType>
51 const CubeType& cubeB,
52 const bool aTranspose =
false,
53 const bool bTranspose =
false);
66 template <
typename CubeType,
typename MatType>
69 const bool aTranspose =
false,
70 const bool bTranspose =
false);
76 #include "multiply_slices_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.
CubeType MultiplyMat2Cube(const MatType &matA, const CubeType &cubeB, const bool aTranspose=false, const bool bTranspose=false)
Matrix multiplication of a matrix and all the slices of a cube.
CubeType MultiplyCube2Cube(const CubeType &cubeA, const CubeType &cubeB, const bool aTranspose=false, const bool bTranspose=false)
Matrix multiplication of slices of two cubes.
CubeType MultiplyCube2Mat(const CubeType &cubeA, const MatType &matB, const bool aTranspose=false, const bool bTranspose=false)
Matrix multiplication of all slices of a cube with a matrix.