2018-09-21 01:54:12 +08:00
|
|
|
//use na::{Scalar, DefaultAllocator};
|
|
|
|
//
|
2019-03-23 21:29:07 +08:00
|
|
|
//use crate::traits::{Alloc, Dimension};
|
|
|
|
//use crate::aliases::TVec;
|
2018-09-20 16:50:34 +08:00
|
|
|
|
2018-09-23 20:48:45 +08:00
|
|
|
//pub fn iround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<i32, D>
|
2018-09-21 01:54:12 +08:00
|
|
|
// where DefaultAllocator: Alloc<N, D> {
|
|
|
|
// x.map(|x| x.round())
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//pub fn log2<I>(x: I) -> I {
|
|
|
|
// unimplemented!()
|
|
|
|
//}
|
|
|
|
//
|
2018-09-23 20:48:45 +08:00
|
|
|
//pub fn uround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<u32, D>
|
2018-09-21 01:54:12 +08:00
|
|
|
// where DefaultAllocator: Alloc<N, D> {
|
|
|
|
// unimplemented!()
|
2019-02-03 17:56:30 +08:00
|
|
|
//}
|