| 200 | } |
| 201 | |
| 202 | std::vector<float> renoise( |
| 203 | const std::vector<float> & denoised, |
| 204 | const std::vector<float> & noise, |
| 205 | float t) { |
| 206 | require_same_size(denoised.size(), noise.size(), "renoise input/noise size mismatch"); |
| 207 | std::vector<float> out(denoised.size(), 0.0F); |
| 208 | for (size_t i = 0; i < denoised.size(); ++i) { |
| 209 | out[i] = t * noise[i] + (1.0F - t) * denoised[i]; |
| 210 | } |
| 211 | return out; |
| 212 | } |
| 213 | |
| 214 | std::vector<float> heun_combine_velocity( |
| 215 | const std::vector<float> & velocity_first, |
nothing calls this directly
no test coverage detected