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()); }
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.
Namespace containing all symbols from the Eigen library.
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.
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
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
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
EIGEN_DEVICE_FUNC const DiagonalWrapper< const Derived > asDiagonal() const
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC bool isApprox(const Scalar &x, const Scalar &y, const typename NumTraits< Scalar >::Real &precision=NumTraits< Scalar >::dummy_precision())
Base class for all dense matrices, vectors, and expressions.
void product(const MatrixType &m)