mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-16 03:13:14 +08:00
inherit from ei_with_aligned_operator_new even with disabled vectorization
This commit is contained in:
parent
986f301233
commit
ab660a4d29
@ -39,9 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
template <typename _Scalar, int _AmbientDim>
|
template <typename _Scalar, int _AmbientDim>
|
||||||
class AlignedBox
|
class AlignedBox
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
|
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -45,9 +45,7 @@
|
|||||||
*/
|
*/
|
||||||
template <typename _Scalar, int _AmbientDim>
|
template <typename _Scalar, int _AmbientDim>
|
||||||
class Hyperplane
|
class Hyperplane
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
|
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -41,9 +41,7 @@
|
|||||||
*/
|
*/
|
||||||
template <typename _Scalar, int _AmbientDim>
|
template <typename _Scalar, int _AmbientDim>
|
||||||
class ParametrizedLine
|
class ParametrizedLine
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim>
|
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -59,9 +59,7 @@ template<typename _Scalar> struct ei_traits<Quaternion<_Scalar> >
|
|||||||
|
|
||||||
template<typename _Scalar>
|
template<typename _Scalar>
|
||||||
class Quaternion : public RotationBase<Quaternion<_Scalar>,3>
|
class Quaternion : public RotationBase<Quaternion<_Scalar>,3>
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
, public ei_with_aligned_operator_new<_Scalar,4>
|
, public ei_with_aligned_operator_new<_Scalar,4>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
typedef RotationBase<Quaternion<_Scalar>,3> Base;
|
typedef RotationBase<Quaternion<_Scalar>,3> Base;
|
||||||
typedef Matrix<_Scalar, 4, 1> Coefficients;
|
typedef Matrix<_Scalar, 4, 1> Coefficients;
|
||||||
|
@ -41,9 +41,7 @@
|
|||||||
*/
|
*/
|
||||||
template<typename _Scalar, int _Dim>
|
template<typename _Scalar, int _Dim>
|
||||||
class Scaling
|
class Scaling
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_Dim>
|
: public ei_with_aligned_operator_new<_Scalar,_Dim>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** dimension of the space */
|
/** dimension of the space */
|
||||||
|
@ -61,9 +61,7 @@ struct ei_transform_product_impl;
|
|||||||
*/
|
*/
|
||||||
template<typename _Scalar, int _Dim>
|
template<typename _Scalar, int _Dim>
|
||||||
class Transform
|
class Transform
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)>
|
: public ei_with_aligned_operator_new<_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -41,9 +41,7 @@
|
|||||||
*/
|
*/
|
||||||
template<typename _Scalar, int _Dim>
|
template<typename _Scalar, int _Dim>
|
||||||
class Translation
|
class Translation
|
||||||
#ifdef EIGEN_VECTORIZE
|
|
||||||
: public ei_with_aligned_operator_new<_Scalar,_Dim>
|
: public ei_with_aligned_operator_new<_Scalar,_Dim>
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** dimension of the space */
|
/** dimension of the space */
|
||||||
|
@ -27,7 +27,7 @@ else(CHOLMOD_FOUND)
|
|||||||
endif(CHOLMOD_FOUND)
|
endif(CHOLMOD_FOUND)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
enable_language(Fortran OPTIONAL)
|
# enable_language(Fortran OPTIONAL)
|
||||||
endif(NOT MSVC)
|
endif(NOT MSVC)
|
||||||
|
|
||||||
find_package(Umfpack)
|
find_package(Umfpack)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user