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

#include <binary_ops.hpp>

Public Types

typedef NoIdentity left_identity
 
typedef Unity left_zero
 
typedef Unity right_identity
 
typedef NoIdentity right_zero
 

Static Public Member Functions

template<class L , class R , typename = typename std::enable_if<!std::is_base_of<Eigen::EigenBase<R>, R>::value>::type>
static auto apply (const L &l, const R &r) -> STATOR_AUTORETURN(pow(l, r))
 
static std::string repr ()
 

Static Public Attributes

static constexpr bool associative = false
 
static constexpr auto associativity = Associativity::RIGHT
 
static constexpr bool commutative = false
 
static constexpr int leftBindingPower = 40
 

Detailed Description

Definition at line 162 of file binary_ops.hpp.

Member Typedef Documentation

◆ left_identity

Definition at line 168 of file binary_ops.hpp.

◆ left_zero

Definition at line 171 of file binary_ops.hpp.

◆ right_identity

Definition at line 169 of file binary_ops.hpp.

◆ right_zero

Definition at line 170 of file binary_ops.hpp.

Member Function Documentation

◆ apply()

template<class L , class R , typename = typename std::enable_if<!std::is_base_of<Eigen::EigenBase<R>, R>::value>::type>
static auto sym::detail::Power::apply ( const L &  l,
const R &  r 
) -> STATOR_AUTORETURN(pow(l, r))
static

◆ repr()

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

Definition at line 167 of file binary_ops.hpp.

Member Data Documentation

◆ associative

constexpr bool sym::detail::Power::associative = false
static

Definition at line 166 of file binary_ops.hpp.

◆ associativity

constexpr auto sym::detail::Power::associativity = Associativity::RIGHT
static

Definition at line 164 of file binary_ops.hpp.

◆ commutative

constexpr bool sym::detail::Power::commutative = false
static

Definition at line 165 of file binary_ops.hpp.

◆ leftBindingPower

constexpr int sym::detail::Power::leftBindingPower = 40
static

Definition at line 163 of file binary_ops.hpp.


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