aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/adjoint.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-09-03 17:16:28 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-09-03 17:16:28 +0000
commit59dc1da5bf6b5c57205ee8d695e0f6e852ca74ae (patch)
tree6e1b3bba60675b5544cc59e29f402aa247298257 /test/adjoint.cpp
parent622f2d5eae03cdf1c268e64b40f38bf20bc13c86 (diff)
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")
Diffstat (limited to 'test/adjoint.cpp')
0 files changed, 0 insertions, 0 deletions