| 419 self.lipschitz_factor(L1).map(|l1| l1 * <S::Type>::cast_from(N).sqrt()) |
419 self.lipschitz_factor(L1).map(|l1| l1 * <S::Type>::cast_from(N).sqrt()) |
| 420 } |
420 } |
| 421 } |
421 } |
| 422 */ |
422 */ |
| 423 |
423 |
| |
424 #[replace_float_literals(F::cast_from(literal))] |
| 424 impl<F: Float, R, C, S, const N: usize> Convolution<CubeIndicator<R, N>, BasicCutGaussian<C, S, N>> |
425 impl<F: Float, R, C, S, const N: usize> Convolution<CubeIndicator<R, N>, BasicCutGaussian<C, S, N>> |
| 425 where |
426 where |
| 426 R: Constant<Type = F>, |
427 R: Constant<Type = F>, |
| 427 C: Constant<Type = F>, |
428 C: Constant<Type = F>, |
| 428 S: Constant<Type = F>, |
429 S: Constant<Type = F>, |