/external/eigen/Eigen/src/Geometry/ |
Hyperplane.h | 57 : m_coeffs(other.coeffs()) 166 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Hyperplane 171 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Hyperplane 182 Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0); 187 if(internal::abs(coeffs().coeff(1))>internal::abs(coeffs().coeff(0))) 188 return VectorType(coeffs().coeff(1), -coeffs().coeff(2)/coeffs().coeff(1)-coeffs().coeff(0)) [all...] |
Quaternion.h | 60 inline Scalar x() const { return this->derived().coeffs().coeff(0); } 62 inline Scalar y() const { return this->derived().coeffs().coeff(1); } 64 inline Scalar z() const { return this->derived().coeffs().coeff(2); } 66 inline Scalar w() const { return this->derived().coeffs().coeff(3); } 69 inline Scalar& x() { return this->derived().coeffs().coeffRef(0); } 71 inline Scalar& y() { return this->derived().coeffs().coeffRef(1); } 73 inline Scalar& z() { return this->derived().coeffs().coeffRef(2); } 75 inline Scalar& w() { return this->derived().coeffs().coeffRef(3); } 78 inline const VectorBlock<const Coefficients,3> vec() const { return coeffs().template head<3>(); } 81 inline VectorBlock<Coefficients,3> vec() { return coeffs().template head<3>(); 84 inline const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().coeffs(); } function in class:Eigen::QuaternionBase 87 inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); } function in class:Eigen::QuaternionBase 277 inline Coefficients& coeffs() { return m_coeffs;} function in class:Eigen::Quaternion 278 inline const Coefficients& coeffs() const { return m_coeffs;} function in class:Eigen::Quaternion 368 inline const Coefficients& coeffs() const { return m_coeffs;} function in class:Eigen::Map 404 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Map 405 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Map [all...] |
Scaling.h | 132 /** Constructs an axis aligned scaling expression from vector expression \a coeffs 133 * This is an alias for coeffs.asDiagonal() 136 static inline const DiagonalWrapper<const Derived> Scaling(const MatrixBase<Derived>& coeffs) 137 { return coeffs.asDiagonal(); }
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Hyperplane.h | 155 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Hyperplane 160 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Hyperplane 171 Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0); 176 if(ei_abs(coeffs().coeff(1))>ei_abs(coeffs().coeff(0))) 177 return VectorType(coeffs().coeff(1), -coeffs().coeff(2)/coeffs().coeff(1)-coeffs().coeff(0)) [all...] |
Scaling.h | 72 explicit inline Scaling(const VectorType& coeffs) : m_coeffs(coeffs) {} 74 const VectorType& coeffs() const { return m_coeffs; } function in class:Eigen::Scaling 75 VectorType& coeffs() { return m_coeffs; } function in class:Eigen::Scaling 79 { return Scaling(coeffs().cwise() * other.coeffs()); } 90 { return coeffs().asDiagonal() * other; } 95 { return other * s.coeffs().asDiagonal(); } 103 { return coeffs().asDiagonal() * other; } 107 { return Scaling(coeffs().cwise().inverse()); [all...] |
Quaternion.h | 93 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Quaternion 96 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Quaternion 193 { m_coeffs = other.coeffs().template cast<Scalar>(); } 380 return Quaternion(conjugate().coeffs() / n2); 442 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs()); 475 q.coeffs().coeffRef(i) = Scalar(0.5) * t; 478 q.coeffs().coeffRef(j) = (mat.coeff(j,i)+mat.coeff(i,j))*t; 479 q.coeffs().coeffRef(k) = (mat.coeff(k,i)+mat.coeff(i,k))*t; 491 q.coeffs() = vec [all...] |
/external/eigen/test/eigen2/ |
eigen2_regression.cpp | 23 hyperplane->coeffs().resize(size + 1); 27 hyperplane->coeffs().coeffRef(j) = ei_random<Scalar>(); 28 } while(ei_abs(hyperplane->coeffs().coeff(j)) < 0.5); 39 Scalar x = - (hyperplane->coeffs().start(size).cwise()*cur_point).sum(); 40 cur_point *= hyperplane->coeffs().coeff(size) / x; 74 result.coeffs() *= original.coeffs().coeff(size)/result.coeffs().coeff(size); 75 typename VectorType::Scalar error = (result.coeffs() - original.coeffs()).norm() / original.coeffs().norm() [all...] |
eigen2_hyperplane.cpp | 110 CoeffsType converted_coeffs(HLine(pl).coeffs()); 111 converted_coeffs *= line_u.coeffs()(0)/converted_coeffs(0); 112 VERIFY(line_u.coeffs().isApprox(converted_coeffs));
|
eigen2_newstdvector.cpp | 117 VERIFY(v[i].coeffs()==w[(i-23)%w.size()].coeffs());
|
eigen2_qtvector.cpp | 126 VERIFY(v[i].coeffs()==w[(i-23)%w.size()].coeffs());
|
eigen2_stdvector.cpp | 116 VERIFY(v[i].coeffs()==w[(i-23)%w.size()].coeffs());
|
/external/eigen/bench/ |
quat_slerp.cpp | 13 return Q((a.coeffs() * (1.0-t) + b.coeffs() * t).normalized()); 41 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); 72 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); 92 theta = /*M_PI -*/ Scalar(2)*std::asin( (a.coeffs()+b.coeffs()).norm()/2 ); 94 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 ) [all...] |
/external/eigen/Eigen/src/Eigen2Support/ |
LeastSquares.h | 44 Vector3d coeffs; // will store the coefficients a, b, c 48 &coeffs, 53 * Now the vector \a coeffs is approximately 97 result->coeffRef(i) = - h.coeffs()[i] / h.coeffs()[funcOfOthers]; 99 result->coeffRef(i) = - h.coeffs()[i+1] / h.coeffs()[funcOfOthers]; 140 ei_assert(size+1 == result->coeffs().size());
|
/external/eigen/test/ |
geo_quaternion.cpp | 74 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs()); 75 q1.coeffs().setRandom(); 76 VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); 89 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps) 167 q1.coeffs() = Vector4::Random().normalized(); 168 q2.coeffs() = -q1.coeffs(); [all...] |
geo_hyperplane.cpp | 111 CoeffsType converted_coeffs = HLine(pl).coeffs(); 112 converted_coeffs *= (line_u.coeffs()[0])/(converted_coeffs[0]); 113 VERIFY(line_u.coeffs().isApprox(converted_coeffs)); 131 p1->coeffs().setRandom(); 135 VERIFY_IS_APPROX(p1->coeffs(), p2->coeffs()); 136 VERIFY_IS_APPROX(p1->coeffs(), p3->coeffs());
|
qtvector.cpp | 126 VERIFY(v[i].coeffs()==w[(i-23)%w.size()].coeffs());
|
stdvector.cpp | 116 VERIFY(v[i].coeffs()==w[(i-23)%w.size()].coeffs());
|
/external/eigen/Eigen/src/Core/ |
BandMatrix.h | 60 inline const CoefficientsType& coeffs() const { return derived().coeffs(); } function in class:Eigen::internal::BandMatrixBase 63 inline CoefficientsType& coeffs() { return derived().coeffs(); } function in class:Eigen::internal::BandMatrixBase 72 Index len = coeffs().rows(); 76 len = (std::min)(rows(),std::max<Index>(0,coeffs().rows() - (supers()-i))); 79 len = std::max<Index>(0,coeffs().rows() - (i + 1 - rows() + subs())); 80 return Block<CoefficientsType,Dynamic,1>(coeffs(), start, i, len, 1); 85 { return Block<CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols())); } 89 { return Block<const CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols())); 225 inline const CoefficientsType& coeffs() const { return m_coeffs; } function in class:Eigen::internal::BandMatrix 226 inline CoefficientsType& coeffs() { return m_coeffs; } function in class:Eigen::internal::BandMatrix 289 inline const CoefficientsType& coeffs() const { return m_coeffs; } function in class:Eigen::internal::BandMatrixWrapper [all...] |
/external/eigen/Eigen/src/Geometry/arch/ |
Geometry_SSE.h | 25 __m128 a = _a.coeffs().template packet<Aligned>(0); 26 __m128 b = _b.coeffs().template packet<Aligned>(0); 68 const double* a = _a.coeffs().data(); 69 Packet2d b_xy = _b.coeffs().template packet<Aligned>(0); 70 Packet2d b_zw = _b.coeffs().template packet<Aligned>(2);
|
/external/eigen/doc/special_examples/ |
Tutorial_sparse_example_details.cpp | 8 void insertCoefficient(int id, int i, int j, double w, std::vector<T>& coeffs, 16 else coeffs.push_back(T(id,id1,w)); // unknown coefficient
|
/external/opencv/cvaux/src/ |
cvepilines.cpp | 100 CvStereoLineCoeff* coeffs, 116 partX = coeffs->Xcoef + coeffs->XcoefA *alpha + 117 coeffs->XcoefB*betta + coeffs->XcoefAB*alphabetta; 119 partY = coeffs->Ycoef + coeffs->YcoefA *alpha + 120 coeffs->YcoefB*betta + coeffs->YcoefAB*alphabetta; 122 partZ = coeffs->Zcoef + coeffs->ZcoefA *alpha [all...] |
/external/webp/src/dsp/ |
dsp.h | 99 typedef void (*VP8DecIdct)(const int16_t* coeffs, uint8_t* dst); 100 // when doing two transforms, coeffs is actually int16_t[2][16]. 101 typedef void (*VP8DecIdct2)(const int16_t* coeffs, uint8_t* dst, int do_two);
|
/external/opencv/cxcore/src/ |
cxutils.cpp | 266 cvSolveCubic( const CvMat* coeffs, CvMat* roots ) 278 if( !CV_IS_MAT(coeffs) ) 279 CV_ERROR( !coeffs ? CV_StsNullPtr : CV_StsBadArg, "Input parameter is not a valid matrix" ); 284 if( (CV_MAT_TYPE(coeffs->type) != CV_32FC1 && CV_MAT_TYPE(coeffs->type) != CV_64FC1) || 289 coeff_count = coeffs->rows + coeffs->cols - 1; 291 if( (coeffs->rows != 1 && coeffs->cols != 1) || (coeff_count != 3 && coeff_count != 4) ) 300 if( CV_MAT_TYPE(coeffs->type) == CV_32FC1 [all...] |
/external/webp/src/enc/ |
frame.c | 32 const int16_t* coeffs; member in struct:__anon18222 125 while ((v = res->coeffs[n++]) == 0) { 267 static void SetResidualCoeffs(const int16_t* const coeffs, 272 if (coeffs[n]) { 277 res->coeffs = coeffs; 295 int v = res->coeffs[n]; 315 const int v = abs(res->coeffs[n]); 403 const int c = res->coeffs[n++]; 581 res.first, res.last, res.coeffs, tokens) [all...] |
/external/eigen/demos/opengl/ |
quaternion_demo.cpp | 154 const Vector3& coeffs() const { return m_angles; } function in class:EulerAngles 155 Vector3& coeffs() { return m_angles; } function in class:EulerAngles 192 res.coeffs() = lerp(t, a.coeffs(), b.coeffs()); 302 currentFrame.orientation.coeffs().normalize();
|