18#ifndef OPERATOR_TIMES_HPP
19#define OPERATOR_TIMES_HPP
38 if(
nullptr ==
M)
return nullptr;
41 return std::forward<unique_ptr<MetaMat<T>>>(
M);
69 return std::forward<unique_ptr<MetaMat<T>>>(B);
73 A->operator+=(std::forward<unique_ptr<MetaMat<T>>>(B));
74 return std::forward<unique_ptr<MetaMat<T>>>(
A);
83 M->operator+=(std::forward<unique_ptr<MetaMat<T>>>(
A));
Definition: MetaMat.hpp:41
Definition: MetaMat.hpp:56
op_scale< T > operator*(const T value, const shared_ptr< MetaMat< T > > &M)
Definition: operator_times.hpp:23
const shared_ptr< MetaMat< T > > & operator*=(const shared_ptr< MetaMat< T > > &M, const T value)
Definition: operator_times.hpp:56
const shared_ptr< MetaMat< T > > & operator+=(const shared_ptr< MetaMat< T > > &M, const op_scale< T > &A)
Definition: operator_times.hpp:27
op_add< T > operator+(const shared_ptr< MetaMat< T > > &A, const shared_ptr< MetaMat< T > > &B)
Definition: operator_times.hpp:21