MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ invert() [1/2]

template<typename D >
Tendency< D, float > MayaFlux::Kinesis::invert ( const Tendency< D, float > &  t)

Negate a scalar-output tendency.

Template Parameters
DDomain type
Parameters
tSource tendency
Returns
Negated tendency

Definition at line 156 of file Tendency.hpp.

157{
158 return { .fn = [t](const D& d) -> float {
159 return -t(d);
160 } };
161}

References MayaFlux::Kinesis::Tendency< D, R >::fn.