aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-06-23 14:27:20 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-06-23 14:27:20 +0200
commit76faf4a9657efeed089aeedc98a769410c32d3d7 (patch)
treebbfe9d39d8e12ae5cd90ac8cbcb69a54ae81c953 /unsupported/Eigen/CXX11/src/Tensor/TensorBase.h
parent67c12531e567629e84713fbb3150560c916bd08c (diff)
Introduce a NumTraits<T>::Literal type to be used for literals, and
improve mixing type support in operations between arrays and scalars: - 2 * ArrayXcf is now optimized in the sense that the integer 2 is properly promoted to a float instead of a complex<float> (fix a regression) - 2.1 * ArrayXi is now forbiden (previously, 2.1 was converted to 2) - This mechanism should be applicable to any custom scalar type, assuming NumTraits<T>::Literal is properly defined (it defaults to T)
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorBase.h')
0 files changed, 0 insertions, 0 deletions