13#ifndef MLPACK_CORE_MATH_MULTIPLY_SLICES_HPP
14#define MLPACK_CORE_MATH_MULTIPLY_SLICES_HPP
32template <
typename CubeType>
34 const CubeType& cubeB,
35 const bool aTranspose =
false,
36 const bool bTranspose =
false);
49template <
typename MatType,
typename CubeType>
51 const CubeType& cubeB,
52 const bool aTranspose =
false,
53 const bool bTranspose =
false);
66template <
typename CubeType,
typename MatType>
69 const bool aTranspose =
false,
70 const bool bTranspose =
false);
76#include "multiply_slices_impl.hpp"
CubeType MultiplyCube2Cube(const CubeType &cubeA, const CubeType &cubeB, const bool aTranspose=false, const bool bTranspose=false)
Matrix multiplication of slices of two cubes.
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 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.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.