stator
A math, geometry, and utility library
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
sym::detail::Multiply Struct Reference

#include <binary_ops.hpp>

Public Types

typedef Unity left_identity
 
typedef Null left_zero
 
typedef Unity right_identity
 
typedef Null right_zero
 

Static Public Member Functions

template<class L , class R >
static auto apply (const L &l, const R &r) -> STATOR_AUTORETURN(l *r)
 
static std::string repr ()
 

Static Public Attributes

static constexpr bool associative = true
 
static constexpr auto associativity = Associativity::LEFT
 
static constexpr bool commutative = true
 
static constexpr int leftBindingPower = 30
 

Detailed Description

Definition at line 136 of file binary_ops.hpp.

Member Typedef Documentation

◆ left_identity

Definition at line 141 of file binary_ops.hpp.

◆ left_zero

Definition at line 143 of file binary_ops.hpp.

◆ right_identity

Definition at line 142 of file binary_ops.hpp.

◆ right_zero

Definition at line 144 of file binary_ops.hpp.

Member Function Documentation

◆ apply()

template<class L , class R >
static auto sym::detail::Multiply::apply ( const L &  l,
const R &  r 
) -> STATOR_AUTORETURN(l *r)
static

◆ repr()

static std::string sym::detail::Multiply::repr ( )
inlinestatic

Definition at line 145 of file binary_ops.hpp.

Member Data Documentation

◆ associative

constexpr bool sym::detail::Multiply::associative = true
static

Definition at line 140 of file binary_ops.hpp.

◆ associativity

constexpr auto sym::detail::Multiply::associativity = Associativity::LEFT
static

Definition at line 138 of file binary_ops.hpp.

◆ commutative

constexpr bool sym::detail::Multiply::commutative = true
static

Definition at line 139 of file binary_ops.hpp.

◆ leftBindingPower

constexpr int sym::detail::Multiply::leftBindingPower = 30
static

Definition at line 137 of file binary_ops.hpp.


The documentation for this struct was generated from the following file: