mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Get rid of SequentialLinSpacedReturnType deprecation warnings in DenseBase.h
This commit is contained in:
parent
144ca33321
commit
07355d47c6
@ -337,12 +337,20 @@ template<typename Derived> class DenseBase
|
|||||||
EIGEN_DEVICE_FUNC static const ConstantReturnType
|
EIGEN_DEVICE_FUNC static const ConstantReturnType
|
||||||
Constant(const Scalar& value);
|
Constant(const Scalar& value);
|
||||||
|
|
||||||
EIGEN_DEVICE_FUNC static const SequentialLinSpacedReturnType
|
/** \deprecated because of accuracy loss.
|
||||||
|
* In Eigen 3.3, it is an alias for LinSpaced(Index,const Scalar&,const Scalar&)
|
||||||
|
*/
|
||||||
|
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
||||||
LinSpaced(Sequential_t, Index size, const Scalar& low, const Scalar& high);
|
LinSpaced(Sequential_t, Index size, const Scalar& low, const Scalar& high);
|
||||||
|
|
||||||
|
/** \deprecated because of accuracy loss.
|
||||||
|
* In Eigen 3.3, it is an alias for LinSpaced(const Scalar&,const Scalar&)
|
||||||
|
*/
|
||||||
|
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
||||||
|
LinSpaced(Sequential_t, const Scalar& low, const Scalar& high);
|
||||||
|
|
||||||
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
||||||
LinSpaced(Index size, const Scalar& low, const Scalar& high);
|
LinSpaced(Index size, const Scalar& low, const Scalar& high);
|
||||||
EIGEN_DEVICE_FUNC static const SequentialLinSpacedReturnType
|
|
||||||
LinSpaced(Sequential_t, const Scalar& low, const Scalar& high);
|
|
||||||
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
|
||||||
LinSpaced(const Scalar& low, const Scalar& high);
|
LinSpaced(const Scalar& low, const Scalar& high);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user