aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Constants.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-26 19:42:17 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-26 19:42:17 +0100
commit4365a48748b3aeb6c15178b8471b1a5a8e0e9802 (patch)
treec41b0b82d4d32100c4fbae0d24d7867d0d31ddf9 /Eigen/src/Core/util/Constants.h
parentafb9bf628168a8b1119764628f716f52cf1c54ee (diff)
Added an ei_linspaced_op to create linearly spaced vectors.
Added setLinSpaced/LinSpaced functionality to DenseBase. Improved vectorized assignment - overcomes MSVC optimization issues. CwiseNullaryOp is now requiring functors to offer 1D and 2D operators. Adapted existing functors to the new CwiseNullaryOp requirements. Added ei_plset to create packages as [a, a+1, ..., a+size]. Added more nullaray unit tests.
Diffstat (limited to 'Eigen/src/Core/util/Constants.h')
-rw-r--r--Eigen/src/Core/util/Constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index 01c1aeb2f..6ae103e66 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -224,6 +224,11 @@ namespace {
EIGEN_UNUSED NoChange_t NoChange;
}
+struct Sequential_t {};
+namespace {
+ EIGEN_UNUSED Sequential_t Sequential;
+}
+
struct Default_t {};
namespace {
EIGEN_UNUSED Default_t Default;