10 #ifndef EIGEN_SCALING_H 11 #define EIGEN_SCALING_H 32 template<
typename _Scalar>
62 template<
int Dim,
int Mode,
int Options>
72 template<
typename Derived>
76 template<
typename Derived,
int Dim>
89 template<
typename NewScalarType>
94 template<
typename OtherScalarType>
96 { m_factor =
Scalar(other.factor()); }
103 {
return internal::isApprox(m_factor, other.factor(), prec); }
115 template<
typename Derived,
typename Scalar>
118 {
return matrix.derived() * s.factor(); }
125 template<
typename RealScalar>
130 template<
typename Scalar>
134 template<
typename Scalar>
141 template<
typename Derived>
155 template<
typename Scalar>
170 #endif // EIGEN_SCALING_H EIGEN_DEVICE_FUNC RotationMatrixType toRotationMatrix() const
DiagonalMatrix< float, 3 > AlignedScaling3f
DiagonalMatrix< float, 2 > AlignedScaling2f
Represents a diagonal matrix with its storage.
EIGEN_DEVICE_FUNC const VectorType & vector() const
DiagonalMatrix< double, 3 > AlignedScaling3d
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
UniformScaling< float > Scaling(float s)
Represents a translation transformation.
Common base class for compact rotation representations.
DiagonalMatrix< double, 2 > AlignedScaling2d
Expression of a diagonal matrix.
const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived, typename Derived::Scalar, pow) pow(const Eigen
EIGEN_DEVICE_FUNC const DiagonalWrapper< const Derived > asDiagonal() const
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.