It would be nice to have predfined unary operators for
exp(x)
log(x)
x^y
envisioned usage below:
thrust::exp<ValueType> opExp;
thrust::log<ValueType> opLog;
thrust::log<ValueType,LogBase> opLog;
thrust::pow<ValueType,exponent> opPow;
Original issue reported on code.google.com by etep.nos...@gmail.com on 28 Apr 2010 at 6:28
Original issue reported on code.google.com by
etep.nos...@gmail.com
on 28 Apr 2010 at 6:28