cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
scale.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class XA , class XB , IsTensorish RA = RemoveReference<XA>, IsTensorish RB = RemoveReference<XB>>
requires (RA::Dimension == 0 || RB::Dimension == 0) && IsInvocable<TensorProduct, XA, XB>
static constexpr auto pRC::operator* (XA &&a, XB &&b)
 
template<class XA , class XB , IsTensorish RA = RemoveReference<XA>, IsTensorish RB = RemoveReference<XB>>
requires (RA::Dimension == 0 && RB::Dimension != 0) && IsInvocable<Div, typename RB::template ChangeType<typename RA::Type>, XB>
static constexpr auto pRC::operator/ (XA &&a, XB &&b)
 
template<class XA , class XB , IsTensorish RA = RemoveReference<XA>, IsTensorish RB = RemoveReference<XB>>
requires (RA::Dimension != 0 && RB::Dimension == 0) && IsInvocable<Div, XA, typename RA::template ChangeType<typename RB::Type>>
static constexpr auto pRC::operator/ (XA &&a, XB &&b)
 
template<class XA , class XB , IsTensorish RA = RemoveReference<XA>, class RB = RemoveReference<XB>>
requires IsDefined<Tensor<RB>> && IsInvocable<Mul, XA, Tensor<RB>>
static constexpr auto pRC::operator* (XA &&a, XB &&b)
 
template<class XA , class XB , class RA = RemoveReference<XA>, IsTensorish RB = RemoveReference<XB>>
requires IsDefined<Tensor<RA>> && IsInvocable<Mul, Tensor<RA>, XB>
static constexpr auto pRC::operator* (XA &&a, XB &&b)
 
template<class XA , class XB , IsTensorish RA = RemoveReference<XA>, class RB = RemoveReference<XB>>
requires IsDefined<Tensor<RB>> && IsInvocable<Div, XA, Tensor<RB>>
static constexpr auto pRC::operator/ (XA &&a, XB &&b)
 
template<class XA , class XB , class RA = RemoveReference<XA>, IsTensorish RB = RemoveReference<XB>>
requires IsDefined<Tensor<RA>> && IsInvocable<Div, Tensor<RA>, XB>
static constexpr auto pRC::operator/ (XA &&a, XB &&b)