10 #ifndef EIGEN_SCALING_H
11 #define EIGEN_SCALING_H
37 template <
typename Scalar,
int Dim,
int Mode>
48 template<
typename _Scalar>
78 template<
int Dim,
int Mode,
int Options>
90 template<
typename Derived>
94 template<
typename Derived,
int Dim>
107 template<
typename NewScalarType>
112 template<
typename OtherScalarType>
133 template<
typename Derived,
typename Scalar>
136 {
return matrix.derived() * s.factor(); }
143 template<
typename RealScalar>
148 template<
typename Scalar>
152 template<
typename Scalar>
159 template<
typename Derived>
173 template<
typename Scalar>
180 res.
linear().diagonal().fill(factor());
#define EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(EXPR, SCALAR, OPNAME)
Definition: Macros.h:1347
Represents a diagonal matrix with its storage.
Definition: DiagonalMatrix.h:142
Expression of a diagonal matrix.
Definition: DiagonalMatrix.h:295
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:50
EIGEN_DEVICE_FUNC const DiagonalWrapper< const Derived > asDiagonal() const
Definition: DiagonalMatrix.h:325
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:180
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
Definition: CwiseNullaryOp.h:562
Common base class for compact rotation representations.
Definition: RotationBase.h:30
EIGEN_DEVICE_FUNC RotationMatrixType toRotationMatrix() const
Definition: RotationBase.h:45
Represents a translation transformation.
Definition: Translation.h:31
EIGEN_DEVICE_FUNC const VectorType & vector() const
Definition: Translation.h:87
@ Affine
Definition: Constants.h:460
@ Isometry
Definition: Constants.h:457
EIGEN_DEVICE_FUNC bool isApprox(const Scalar &x, const Scalar &y, const typename NumTraits< Scalar >::Real &precision=NumTraits< Scalar >::dummy_precision())
Definition: MathFunctions.h:1947
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
UniformScaling< float > Scaling(float s)
Definition: Scaling.h:139
DiagonalMatrix< double, 3 > AlignedScaling3d
Definition: Scaling.h:170
DiagonalMatrix< float, 3 > AlignedScaling3f
Definition: Scaling.h:168
DiagonalMatrix< float, 2 > AlignedScaling2f
Definition: Scaling.h:164
DiagonalMatrix< double, 2 > AlignedScaling2d
Definition: Scaling.h:166
Definition: document.h:416
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition: NumTraits.h:233
Definition: XprHelper.h:295
#define const
Definition: zconf.h:233