/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/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_geometry.cpp | 59 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs()); 60 q1.coeffs().setRandom(); 61 VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); 85 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps)
|
eigen2_geometry_with_eigen2_prefix.cpp | 61 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs()); 62 q1.coeffs().setRandom(); 63 VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); 87 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps)
|
/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/ |
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());
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_Equaliser.c | 66 BQ_C16_Coefs_t Coeffs; 83 Coeffs.A0 = (LVM_INT16) pEqualiserCoefTable[Offset].A0; 84 Coeffs.A1 = (LVM_INT16) pEqualiserCoefTable[Offset].A1; 85 Coeffs.A2 = (LVM_INT16) pEqualiserCoefTable[Offset].A2; 86 Coeffs.B1 = (LVM_INT16)-pEqualiserCoefTable[Offset].B1; 87 Coeffs.B2 = (LVM_INT16)-pEqualiserCoefTable[Offset].B2; 96 &Coeffs);
|
LVCS_ReverbGenerator.c | 71 BQ_C16_Coefs_t Coeffs; 101 Coeffs.A0 = (LVM_INT16)pReverbCoefTable[Offset].A0; 102 Coeffs.A1 = (LVM_INT16)pReverbCoefTable[Offset].A1; 103 Coeffs.A2 = (LVM_INT16)pReverbCoefTable[Offset].A2; 104 Coeffs.B1 = (LVM_INT16)-pReverbCoefTable[Offset].B1; 105 Coeffs.B2 = (LVM_INT16)-pReverbCoefTable[Offset].B2; 113 &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/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/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
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_ApplyNewSettings.c | 80 FO_C32_Coefs_t Coeffs; 83 LVM_FO_HPF(Omega, &Coeffs); 84 FO_1I_D32F32Cll_TRC_WRA_01_Init( &pPrivate->pFastCoef->HPCoefs, &pPrivate->pFastData->HPTaps, &Coeffs); 99 FO_C32_Coefs_t Coeffs; 102 Coeffs.A0 = 0x7FFFFFFF; 103 Coeffs.A1 = 0; 104 Coeffs.B1 = 0; 114 LVM_FO_LPF(Omega, &Coeffs); 117 FO_1I_D32F32Cll_TRC_WRA_01_Init( &pPrivate->pFastCoef->LPCoefs, &pPrivate->pFastData->LPTaps, &Coeffs); 248 FO_C32_Coefs_t Coeffs; [all...] |
/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/speex/libspeex/ |
cb_search.h | 57 int p, /* number of LPC coeffs */ 83 int p, /* number of LPC coeffs */
|
/external/libvpx/libvpx/vp8/encoder/arm/armv6/ |
vp8_fast_quantize_b_armv6.asm | 39 mov r1, #0 ; flags for quantized coeffs 75 orrne r1, r1, r2, lsr #24 ; add flag for nonzero coeffs 85 orrne r1, r1, r2, lsr #23 ; add flag for nonzero coeffs 107 cmp r1, #0 ; coeffs after quantization?
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_enc_tab.h | 228 /* first part of coeffs for last = 0. Indexed by [run][level-1] */ 246 /* rest of coeffs for last = 0. indexing by [run-2][level-1] */ 330 /* first coeffs of last = 1. indexing by [run][level-1] */ 344 /* rest of coeffs for last = 1. indexing by [run-2] */ 364 /* Coeffs for last = 0, run = 0. Indexed by [level-1] */ 378 /* Coeffs for last = 0, run = 1. Indexed by [level-1] */ 387 /* Coeffs for last = 0, run = 2 -> 9. Indexed by [run-2][level-1] */ 433 /* Coeffs for last = 0, run = 10 -> 14. Indexed by [run-10] */ 441 /* Coeffs for last = 1, run = 0. Indexed by [level-1] */ 449 /* Coeffs for last = 1, run = 1 -> 6. Indexed by [run-1][level-1] * [all...] |
/external/eigen/Eigen/src/Core/products/ |
GeneralMatrixVector.h | 87 // How many coeffs of the result do we have to skip to be aligned. 158 // process initial unaligned coeffs 224 /* process remaining coeffs (or all if there is no explicit vectorization) */ 247 // process first unaligned result's coeffs 250 // process aligned result's coeffs 338 // How many coeffs of the result do we have to skip to be aligned. 411 // process initial unaligned coeffs 483 // process remaining coeffs (or all if no explicit vectorization) 507 // process first unaligned result's coeffs 514 // process aligned rhs coeffs [all...] |