aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CommaInitializer.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 14:17:56 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 14:17:56 +0000
commitb8900d0b80734c6cca25595e8613d47f1d48909f (patch)
tree85d6ab8286d07708aa0d7ca790ff321d42d9b389 /Eigen/src/Core/CommaInitializer.h
parent4448f2620d732c999f9ca36cccf91814eed6cf09 (diff)
More clever evaluation of arguments: now it occurs in earlier, in operator*,
before the Product<> type is constructed. This resets template depth on each intermediate evaluation, and gives simpler code. Introducing ei_eval_if_expensive<Derived, n> which evaluates Derived if it's worth it given that each of its coeffs will be accessed n times. Operator* uses this with adequate values of n to evaluate args exactly when needed.
Diffstat (limited to 'Eigen/src/Core/CommaInitializer.h')
0 files changed, 0 insertions, 0 deletions