Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
mie::local::inversible< T, E > Struct Template Reference

#include <zm.h>

Inheritance diagram for mie::local::inversible< T, E >:
Collaboration diagram for mie::local::inversible< T, E >:

Public Member Functions

MIE_FORCE_INLINE void inverse ()
 
MIE_FORCE_INLINE Toperator/= (const T &x)
 

Friends

MIE_FORCE_INLINE friend T operator/ (const T &x, const T &y)
 

Detailed Description

template<class T, class E = Empty<T>>
struct mie::local::inversible< T, E >

Definition at line 170 of file zm.h.

Member Function Documentation

◆ inverse()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE void mie::local::inversible< T, E >::inverse ( )
inline

Definition at line 171 of file zm.h.

171{ T& self = static_cast<T&>(*this);T out; T::inv(out, self); self = out; }
@ self
the connection is to itself
Definition protocol.hpp:48
#define T(meth, val, expected)
Here is the caller graph for this function:

◆ operator/=()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T & mie::local::inversible< T, E >::operator/= ( const T & x)
inline

Definition at line 173 of file zm.h.

173{ T rx; T::inv(rx, x); T& self = static_cast<T&>(*this); self *= rx; return self; }

Friends And Related Symbol Documentation

◆ operator/

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE friend T operator/ ( const T & x,
const T & y )
friend

Definition at line 172 of file zm.h.

172{ T out; T::inv(out, y); out *= x; return out; }

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