MCPcopy Create free account
hub / github.com/audacity/audacity / AverageOfInverse

Method AverageOfInverse

libraries/lib-mixer/Envelope.cpp:1133–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131}
1132
1133double Envelope::AverageOfInverse( double t0, double t1 ) const
1134{
1135 if( t0 == t1 )
1136 return 1.0 / GetValue( t0 );
1137 else
1138 return IntegralOfInverse( t0, t1 ) / (t1 - t0);
1139}
1140
1141//
1142// Integration and debugging functions

Callers 1

ComputeWarpFactorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected