Comment about faster impl for unit sphere sampling

This commit is contained in:
Vinzent Steinberg 2021-04-10 03:31:38 -03:00
parent c8fe49b1e9
commit 09f26385cc
1 changed files with 1 additions and 0 deletions

View File

@ -853,6 +853,7 @@ where
}
}
// TODO(specialization): faster impls possible for D≤4 (see rand_distr::{UnitCircle, UnitSphere})
#[cfg(feature = "rand")]
impl<N: crate::RealField, D: DimName> Distribution<Unit<VectorN<N, D>>> for Standard
where