forked from M-Labs/nalgebra
18 lines
451 B
Rust
18 lines
451 B
Rust
//use na::{Scalar, DefaultAllocator};
|
|
//
|
|
//use traits::{Alloc, Dimension};
|
|
//use aliases::TVec;
|
|
|
|
//pub fn iround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<i32, D>
|
|
// where DefaultAllocator: Alloc<N, D> {
|
|
// x.map(|x| x.round())
|
|
//}
|
|
//
|
|
//pub fn log2<I>(x: I) -> I {
|
|
// unimplemented!()
|
|
//}
|
|
//
|
|
//pub fn uround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<u32, D>
|
|
// where DefaultAllocator: Alloc<N, D> {
|
|
// unimplemented!()
|
|
//}
|