Lines Matching full:scalar
22 * \param _Scalar the type of the scalar coefficients
33 typedef _Scalar Scalar;
34 typedef NumTraits<Scalar> ScalarTraits;
38 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
110 inline const CwiseUnaryOp<internal::scalar_quotient1_op<Scalar>,
111 const CwiseBinaryOp<internal::scalar_sum_op<Scalar>, const VectorType, const VectorType> >
117 * result for integral or floating scalar types: see
119 inline const CwiseBinaryOp< internal::scalar_difference_op<Scalar>, const VectorType, const VectorType> sizes() const
123 inline Scalar volume() const
130 inline CwiseBinaryOp< internal::scalar_difference_op<Scalar>, const VectorType, const VectorType> diagonal() const
168 * internal::random<Scalar>(Scalar(0), Scalar(1));
237 inline Scalar squaredExteriorDistance(const MatrixBase<Derived>& a_p) const;
243 inline Scalar squaredExteriorDistance(const AlignedBox& b) const;
260 /** \returns \c *this with scalar type casted to \a NewScalarType
262 * Note that if \a NewScalarType is equal to the current scalar type of \c *this
273 /** Copy constructor with scalar type conversion */
277 m_min = (other.min)().template cast<Scalar>();
278 m_max = (other.max)().template cast<Scalar>();
295 template<typename Scalar,int AmbientDim>
297 inline Scalar AlignedBox<Scalar,AmbientDim>::squaredExteriorDistance(const MatrixBase<Derived>& a_p) const
300 Scalar dist2(0);
301 Scalar aux;
318 template<typename Scalar,int AmbientDim>
319 inline Scalar AlignedBox<Scalar,AmbientDim>::squaredExteriorDistance(const AlignedBox& b) const
321 Scalar dist2(0);
322 Scalar aux;