/external/eigen/unsupported/test/ |
H A D | autodiff_scalar.cpp | 32 VERIFY_IS_APPROX(res.derivatives(), x.derivatives()); 36 VERIFY_IS_APPROX(res.derivatives(), x.derivatives()); 52 VERIFY_IS_APPROX(res1.derivatives().x(), Scalar(1.0) / (cosh_px * cosh_px)); 56 VERIFY_IS_APPROX(res2.derivatives().x(), cosh_px); 60 VERIFY_IS_APPROX(res3.derivatives().x(), std::sinh(p.x())); 66 VERIFY_IS_APPROX(res1.derivatives().x(), Scalar(0.896629559604914)); 69 VERIFY_IS_APPROX(res2.derivatives().x(), Scalar(1.056071867829939)); 72 VERIFY_IS_APPROX(res3.derivatives() [all...] |
H A D | autodiff.cpp | 214 // TODO also check actual derivatives! 227 // TODO also check actual derivatives! 235 ap.x().derivatives() = Vector2f::UnitX(); 236 ap.y().derivatives() = Vector2f::UnitY(); 268 //set unit vectors for the derivative directions (partial derivatives of the input vector) 269 x(0).derivatives().resize(2); 270 x(0).derivatives().setZero(); 271 x(0).derivatives()(0)= 1; 272 x(1).derivatives().resize(2); 273 x(1).derivatives() [all...] |
H A D | splines.cpp | 251 ArrayXXd derivatives = ArrayXXd::Random(dimension, numPoints); local 258 points, derivatives, derivativeIndices, degree); 265 PointType derivative = spline.derivatives(knots(i), 1).col(1); 266 PointType referenceDerivative = derivatives.col(i);
|
/external/eigen/unsupported/Eigen/src/AutoDiff/ |
H A D | AutoDiffScalar.h | 43 * \param _DerType the vector type used to store/represent the derivatives. The base scalar type 44 * as well as the number of derivatives to compute are determined from this type. 45 * Typical choices include, e.g., \c Vector4f for 4 derivatives, or \c VectorXf 46 * if the number of derivatives is not known at compile time, and/or, the number 47 * of derivatives is large. 52 * This class represents a scalar value while tracking its respective derivatives using Eigen's expression 62 * while derivatives are computed right away. 87 and initializes the \a nbDer derivatives such that it corresponds to the \a derNumber -th variable */ 95 * The derivatives are set to zero. */ 103 /** Constructs an active scalar from its \a value and derivatives \ 157 inline const DerType& derivatives() const { return m_derivatives; } function in class:Eigen::AutoDiffScalar 158 inline DerType& derivatives() { return m_derivatives; } function in class:Eigen::AutoDiffScalar [all...] |
H A D | AutoDiffJacobian.h | 87 av[j].derivatives().resize(x.rows()); 90 ax[i].derivatives() = DerivativeType::Unit(x.rows(),i); 101 jac.row(i) = av[i].derivatives();
|
/external/eigen/unsupported/Eigen/src/Splines/ |
H A D | SplineFitting.h | 243 * derivatives. 246 * \param derivatives The desired derivatives of the interpolating spline at interpolation 249 * must be the same size as @a derivatives. 252 * \returns A spline interpolating @a points with @a derivatives at those points. 260 const PointArrayType& derivatives, 265 * \brief Fits an interpolating spline to the given data points and derivatives. 268 * \param derivatives The desired derivatives of the interpolating spline at interpolation points. 270 * must be the same size as @a derivatives 332 InterpolateWithDerivatives(const PointArrayType& points, const PointArrayType& derivatives, const IndexArray& derivativeIndices, const unsigned int degree, const ParameterVectorType& parameters) argument 419 InterpolateWithDerivatives(const PointArrayType& points, const PointArrayType& derivatives, const IndexArray& derivativeIndices, const unsigned int degree) argument [all...] |
H A D | Spline.h | 54 /** \brief The data type used to store the values of the basis function derivatives. */ 115 * \brief Evaluation of spline derivatives of up-to given order. 124 * \param order The order up to which the derivatives are computed. 127 derivatives(Scalar u, DenseIndex order) const; 130 * \copydoc Spline::derivatives 136 derivatives(Scalar u, DenseIndex order = DerivativeOrder) const; 158 * \brief Computes the non-zero spline basis function derivatives up to given order. 167 * derivatives are computed. 168 * \param order The order up to which the basis function derivatives are computes. 330 // Retrieve the basis function derivatives u 344 Spline<_Scalar, _Dim, _Degree>::derivatives(Scalar u, DenseIndex order) const function in class:Eigen::Spline 354 Spline<_Scalar, _Dim, _Degree>::derivatives(Scalar u, DenseIndex order) const function in class:Eigen::Spline [all...] |
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl3cTextureSwizzleTests.cpp | 3291 /** Prepares derivatives for texture access routine call 3303 std::string derivatives = "TYPE(VAL_LIST)"; local 3326 Utils::replaceToken("TYPE", position, type, derivatives); 3334 Utils::replaceToken("VAL_LIST", position, "1.0, VAL_LIST", derivatives); 3338 Utils::replaceToken("VAL_LIST", position, "0.0, VAL_LIST", derivatives); 3344 Utils::replaceToken(", VAL_LIST", position, "", derivatives); 3346 return derivatives;
|