MayaFlux 1.0.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 157 of file Tendency.hpp.

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

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