2021-04-11 17:00:38 +08:00
|
|
|
//use na::Scalar;
|
|
|
|
//
|
2018-09-21 01:54:12 +08:00
|
|
|
//
|
2019-03-23 21:29:07 +08:00
|
|
|
//use crate::aliases::TVec;
|
2018-09-20 16:50:34 +08:00
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
//pub fn iround<T: Scalar, const D: usize>(x: &TVec<T, D>) -> TVec<i32, D> {
|
2018-09-21 01:54:12 +08:00
|
|
|
// x.map(|x| x.round())
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//pub fn log2<I>(x: I) -> I {
|
|
|
|
// unimplemented!()
|
|
|
|
//}
|
|
|
|
//
|
2021-04-11 17:00:38 +08:00
|
|
|
//pub fn uround<T: Scalar, const D: usize>(x: &TVec<T, D>) -> TVec<u32, D> {
|
2018-09-21 01:54:12 +08:00
|
|
|
// unimplemented!()
|
2019-02-03 17:56:30 +08:00
|
|
|
//}
|