Gael Guennebaud 59dc1da5bf Add a Select expression in the Array module which mimics a coeff-wise ?: operator.
Example:
  mat = (mat.cwise().abs().cwise() < Ones()).select(0,mat);
replaces all small values by 0. (the scalar version is "s = abs(s)<1 ? 0 : s")
2008-09-03 17:16:28 +00:00
..
2008-09-03 11:26:19 +00:00
2008-08-24 16:00:53 +00:00
2008-08-23 17:11:44 +00:00