pub fn unary_assign<T: Ops>(op: UnaryOp, x: &mut [T])
x[i] = op(x[i]) (an elementwise operation written over its operand).
x[i] = op(x[i])