Trait simdop::Sign 
            [−]
        [src]
pub trait Sign<M: Multi> {
    fn sign(&self, a: M, b: M) -> M;
}The Sign trait is used to specify negation functionality.
Required Methods
fn sign(&self, a: M, b: M) -> M
Negates elements in a if the corresponding element in b is negative.
Zeroes out the element if the corresponding element in b is zero.