Lines Matching full:scalar
21 * \param _Scalar the scalar type, i.e., the type of the coefficients.
36 /** the scalar type of the coefficients */
37 typedef _Scalar Scalar;
39 typedef Matrix<Scalar,Dim,1> VectorType;
41 typedef Matrix<Scalar,Dim,Dim> LinearMatrixType;
43 typedef Transform<Scalar,Dim,Affine> AffineTransformType;
45 typedef Transform<Scalar,Dim,Isometry> IsometryTransformType;
56 inline Translation(const Scalar& sx, const Scalar& sy)
63 inline Translation(const Scalar& sx, const Scalar& sy, const Scalar& sz)
74 inline Scalar x() const { return m_coeffs.x(); }
76 inline Scalar y() const { return m_coeffs.y(); }
78 inline Scalar z() const { return m_coeffs.z(); }
81 inline Scalar& x() { return m_coeffs.x(); }
83 inline Scalar& y() { return m_coeffs.y(); }
85 inline Scalar& z() { return m_coeffs.z(); }
98 inline AffineTransformType operator* (const UniformScaling<Scalar>& other) const;
119 res(Dim,Dim) = Scalar(1);
125 inline Transform<Scalar,Dim,Mode> operator* (const Transform<Scalar,Dim,Mode,Options>& t) const
127 Transform<Scalar,Dim,Mode> res = t;
147 /** \returns \c *this with scalar type casted to \a NewScalarType
149 * Note that if \a NewScalarType is equal to the current scalar type of \c *this
156 /** Copy constructor with scalar type conversion */
159 { m_coeffs = other.vector().template cast<Scalar>(); }
165 bool isApprox(const Translation& other, typename NumTraits<Scalar>::Real prec = NumTraits<Scalar>::dummy_precision()) const
178 template<typename Scalar, int Dim>
179 inline typename Translation<Scalar,Dim>::AffineTransformType
180 Translation<Scalar,Dim>::operator* (const UniformScaling<Scalar>& other) const
186 res(Dim,Dim) = Scalar(1);
190 template<typename Scalar, int Dim>
192 inline typename Translation<Scalar,Dim>::AffineTransformType
193 Translation<Scalar,Dim>::operator* (const EigenBase<OtherDerived>& linear) const
200 res(Dim,Dim) = Scalar(1);