23 #ifndef SRC_TYPES_MATRIXXFSPECIALIZATIONS_HPP_
24 #define SRC_TYPES_MATRIXXFSPECIALIZATIONS_HPP_
50 size_t M = this->rows();
51 size_t K = this->cols();
52 size_t N = mat_.cols();
56 cblas_sgemm( CblasColMajor, CblasNoTrans, CblasNoTrans, M, N, K, 1.0,
58 mat_.data(), K, 0.0, c.data(), M );
63 return Eigen::MatrixXf::operator*(mat_);
EIGEN_STRONG_INLINE Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > operator*(const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &mat_)
Eigen::VectorXf VectorXf
Vector of floats with single precision (of dynamic size).
std::shared_ptr< mic::types::MatrixXf > MatrixXfPtr
Shared pointer to matrix with single precision floats (of dynamic size).
std::pair< MatrixXfPtr, std::shared_ptr< char > > MatrixXfCharPair
The <single precision="" float="" matrix-char>=""> pair type.
std::shared_ptr< Eigen::VectorXf > VectorXfPtr
Shared pointer to vector of floats with single precision (of dynamic size).
std::pair< MatrixXfPtr, MatrixXfPtr > MatrixXfMatrixXfPair
The <single precision float matrix - single precision float matrix> pair.
mic::types::Matrix< float > MatrixXf
Matrix of floats with single precision (of dynamic size).
std::pair< MatrixXfPtr, std::shared_ptr< unsigned int > > MatrixXfUintPair
The <single precision="" float="" matrix-unsigned="" int>=""> pair.
Template-typed Matrix of dynamic size. Uses OpenBLAS if found by CMAKE - overloaded, specializations of * operator for types: float, double.