/external/eigen/Eigen/src/Eigenvalues/ |
H A D | ComplexSchur.h | 299 ComplexScalar det = t.coeff(0,0) * t.coeff(1,1) - b; local 305 eival2 = det / eival1; 307 eival1 = det / eival2;
|
/external/eigen/Eigen/src/Geometry/ |
H A D | Hyperplane.h | 192 Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0); local 195 if(internal::isMuchSmallerThan(det, Scalar(1))) 204 Scalar invdet = Scalar(1) / det;
|
/external/eigen/Eigen/src/LU/ |
H A D | InverseImpl.h | 166 const Scalar det = (cofactors_col0.cwiseProduct(matrix.col(0))).sum(); local 167 const Scalar invdet = Scalar(1) / det;
|
/external/eigen/Eigen/src/LU/arch/ |
H A D | Inverse_SSE.h | 80 __m128 det, d, d1, d2; local 126 // det = |A|*|D| + |B|*|C| - trace(A#*B*D#*C) 127 det = _mm_sub_ss(_mm_add_ss(d1,d2),d); 128 rd = _mm_div_ss(_mm_set_ss(1.0f), det); 131 // rd = _mm_and_ps(_mm_cmpneq_ss(det,_mm_setzero_ps()), rd); 150 // iX = iX / det 223 __m128d det, d1, d2, rd; local 292 // det = |A|*|D| + |B|*|C| - trace(A#*B*D#*C) 293 det = _mm_add_sd(d1, d2); 294 det [all...] |
/external/eigen/test/ |
H A D | product_extra.cpp | 119 double det = 6.0, wt = 0.5; local 120 VERIFY_IS_APPROX(dNdxy.transpose()*dNdxy*det*wt, det*wt*dNdxy.transpose()*dNdxy);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
H A D | TestCharsetDetector.java | 90 CharsetDetector det = new CharsetDetector(); 91 if(det==null){ 105 String[] activeCharsetNames = det.getDetectableCharsets(); 138 CharsetDetector det = new CharsetDetector(); 141 det.enableInputFilter(true); 142 if (!det.inputFilterEnabled()){ 146 det.setText(bytes); 147 m = det.detect(); 153 det.enableInputFilter(false); 154 det 423 checkMatch(CharsetDetector det, String testString, String encoding, String language, boolean checkRoundtrip, String id) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | csrmbcs.cpp | 132 int32_t IteratedChar::nextByte(InputText *det) argument 134 if (nextIndex >= det->fRawLength) { 140 return det->fRawInput[nextIndex++]; 148 int32_t CharsetRecog_mbcs::match_mbcs(InputText *det, const uint16_t commonChars[], int32_t commonCharsLen) const { argument 157 while (nextChar(&iter, det)) { 244 UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) const { 248 int32_t firstByte = it->charValue = it->nextByte(det); 258 int32_t secondByte = it->nextByte(det); 272 UBool CharsetRecog_sjis::match(InputText* det, CharsetMatch *results) const { argument 273 int32_t confidence = match_mbcs(det, commonChars_sji 372 match(InputText *det, CharsetMatch *results) const argument 394 match(InputText *det, CharsetMatch *results) const argument 446 match(InputText *det, CharsetMatch *results) const argument 522 match(InputText *det, CharsetMatch *results) const argument [all...] |
H A D | csrsbcs.cpp | 95 int32_t NGramParser::nextByte(InputText *det) argument 97 if (byteIndex >= det->fInputLen) { 101 return det->fInputBytes[byteIndex++]; 104 void NGramParser::parseCharacters(InputText *det) argument 109 while ((b = nextByte(det)) >= 0) { 123 int32_t NGramParser::parse(InputText *det) argument 125 parseCharacters(det); 192 int32_t NGramParser_IBM420::nextByte(InputText *det) argument 195 if (byteIndex >= det->fInputLen || det 211 parseCharacters(InputText *det) argument 254 match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMap[]) const argument 1224 match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMap[]) const argument [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
H A D | TestCharsetDetector.java | 87 CharsetDetector det = new CharsetDetector(); 88 if(det==null){ 102 String[] activeCharsetNames = det.getDetectableCharsets(); 135 CharsetDetector det = new CharsetDetector(); 138 det.enableInputFilter(true); 139 if (!det.inputFilterEnabled()){ 143 det.setText(bytes); 144 m = det.detect(); 150 det.enableInputFilter(false); 151 det 420 checkMatch(CharsetDetector det, String testString, String encoding, String language, boolean checkRoundtrip, String id) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_sf.h | 67 struct brw_reg det; member in struct:brw_sf_compile
|
/external/opencv/cv/src/ |
H A D | cvposit.cpp | 278 float det = 0; local 306 det += ata00 * p00; 307 det += ata01 * p01; 308 det += ata02 * p02; 310 inv_det = 1 / det;
|
H A D | cvgeometry.cpp | 149 double det = a0[0] * b1[0] - a1[0] * b0[0]; local 151 if( det != 0 ) 153 det = 1. / det; 154 point->x = (float) ((b0[0] * c1[0] - b1[0] * c0[0]) * det); 155 point->y = (float) ((a1[0] * c0[0] - a0[0] * c1[0]) * det); 581 assert(cvDet(tmpMatrixM) != 0.0); // So far only finite cameras could be decomposed, so M has to be nonsingular [det(M) != 0].
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CharsetRecog_sbcs.java | 110 private int nextByte(CharsetDetector det) argument 112 if (byteIndex >= det.fInputLen) { 116 return det.fInputBytes[byteIndex++] & 0xFF; 119 protected void parseCharacters(CharsetDetector det) argument 124 while ((b = nextByte(det)) >= 0) { 139 public int parse(CharsetDetector det) argument 141 return parse (det, (byte)0x20); 143 public int parse(CharsetDetector det, byte spaceCh) argument 148 parseCharacters(det); 217 private int nextByte(CharsetDetector det) argument 236 parseCharacters(CharsetDetector det) argument 270 match(CharsetDetector det, int[] ngrams, byte[] byteMap) argument 275 match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) argument 281 matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) argument 427 match(CharsetDetector det) argument 524 match(CharsetDetector det) argument 608 match(CharsetDetector det) argument 675 match(CharsetDetector det) argument 742 match(CharsetDetector det) argument 816 match(CharsetDetector det) argument 840 match(CharsetDetector det) argument 909 match(CharsetDetector det) argument 974 match(CharsetDetector det) argument 1038 match(CharsetDetector det) argument 1102 match(CharsetDetector det) argument 1151 match(CharsetDetector det) argument 1172 match(CharsetDetector det) argument 1225 match(CharsetDetector det) argument 1247 match(CharsetDetector det) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CharsetRecog_sbcs.java | 109 private int nextByte(CharsetDetector det) argument 111 if (byteIndex >= det.fInputLen) { 115 return det.fInputBytes[byteIndex++] & 0xFF; 118 protected void parseCharacters(CharsetDetector det) argument 123 while ((b = nextByte(det)) >= 0) { 138 public int parse(CharsetDetector det) argument 140 return parse (det, (byte)0x20); 142 public int parse(CharsetDetector det, byte spaceCh) argument 147 parseCharacters(det); 216 private int nextByte(CharsetDetector det) argument 235 parseCharacters(CharsetDetector det) argument 269 match(CharsetDetector det, int[] ngrams, byte[] byteMap) argument 274 match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) argument 280 matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) argument 426 match(CharsetDetector det) argument 523 match(CharsetDetector det) argument 607 match(CharsetDetector det) argument 674 match(CharsetDetector det) argument 741 match(CharsetDetector det) argument 815 match(CharsetDetector det) argument 839 match(CharsetDetector det) argument 908 match(CharsetDetector det) argument 973 match(CharsetDetector det) argument 1037 match(CharsetDetector det) argument 1101 match(CharsetDetector det) argument 1150 match(CharsetDetector det) argument 1171 match(CharsetDetector det) argument 1224 match(CharsetDetector det) argument 1246 match(CharsetDetector det) argument [all...] |
/external/opencv/ml/src/ |
H A D | mlnbayes.cpp | 217 double det = 1; local 259 det *= w->data.db[j]; 262 c->data.db[cls] = log( det );
|
/external/swiftshader/src/Renderer/ |
H A D | Matrix.cpp | 242 float Matrix::det(const Matrix &M) function in class:sw::Matrix 257 float Matrix::det(float m11) function in class:sw::Matrix 262 float Matrix::det(float m11, float m12, function in class:sw::Matrix 268 float Matrix::det(float m11, float m12, float m13, function in class:sw::Matrix 277 float Matrix::det(float m11, float m12, float m13, float m14, function in class:sw::Matrix 295 float Matrix::det(const Vector &v1, const Vector &v2, const Vector &v3) function in class:sw::Matrix
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
H A D | utils.h | 365 const float det = static_cast<float>(FindDeterminant2x2(a)); local 366 if (fabs(det) < EPSILON) { 369 const float inv_det = 1.0f / det;
|
/external/deqp/framework/common/ |
H A D | tcuMatrix.hpp | 204 const T det = determinant(mat); local 207 retVal(0, 0) = mat(1, 1) / det; 208 retVal(0, 1) = -mat(0, 1) / det; 209 retVal(1, 0) = -mat(1, 0) / det; 210 retVal(1, 1) = mat(0, 0) / det;
|
/external/eigen/Eigen/src/SparseLU/ |
H A D | SparseLU.h | 258 Scalar det = Scalar(1.); local 267 det *= abs(it.value()); 272 return det; 289 Scalar det = Scalar(0.); local 297 det += log(abs(it.value())); 302 return det; 313 Index det = 1; local 323 det = -det; 330 return det * m_detPerm 341 Scalar det = Scalar(1.); local [all...] |
/external/opencv/cvaux/src/ |
H A D | cv3dtracker.cpp | 496 static inline double det(CvPoint3D32f v1, CvPoint3D32f v2, CvPoint3D32f v3) function 539 double t1 = det(x, d2, cross) / den; 540 double t2 = det(x, d1, cross) / den;
|
/external/eigen/Eigen/src/SuperLUSupport/ |
H A D | SuperLUSupport.h | 800 Scalar det = Scalar(1); local 808 det *= m_u.valuePtr()[lastId]; 812 det = -det; 814 return det/m_sluRscale.prod()/m_sluCscale.prod(); 816 return det;
|
/external/eigen/Eigen/src/UmfPackSupport/ |
H A D | UmfPackSupport.h | 15 /* TODO extract L, extract U, compute det, etc... */ 466 Scalar det; local 467 umfpack_get_determinant(&det, 0, m_numeric, 0); 468 return det;
|
/external/libxcam/xcore/ |
H A D | vec_mat.h | 754 T det = mat(0, 0) * mat(1, 1) - mat(0, 1) * mat(1, 0); local 756 if (det == (T)0) { 765 return result * (1.0f / det); 773 T det = mat(0, 0) * mat(1, 1) * mat(2, 2) + local 780 if (det == (T)0) { 794 return result * (1.0f / det); 802 T det = mat(0, 3) * mat(1, 2) * mat(2, 1) * mat(3, 1) - local 827 if (det == (T)0) { 943 return result * (1.0f / det);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_tri.c | 167 /* det = cross(e,f).z */ 168 const float det = ex * fy - ey * fx; local 169 if (det < 0.0f) 171 else if (det > 0.0f)
|
/external/mesa3d/src/mesa/math/ |
H A D | m_matrix.c | 486 GLfloat det; local 510 det = pos + neg; 512 if (fabsf(det) < 1e-25F) 515 det = 1.0F / det; 516 MAT(out,0,0) = ( (MAT(in,1,1)*MAT(in,2,2) - MAT(in,2,1)*MAT(in,1,2) )*det); 517 MAT(out,0,1) = (- (MAT(in,0,1)*MAT(in,2,2) - MAT(in,2,1)*MAT(in,0,2) )*det); 518 MAT(out,0,2) = ( (MAT(in,0,1)*MAT(in,1,2) - MAT(in,1,1)*MAT(in,0,2) )*det); 519 MAT(out,1,0) = (- (MAT(in,1,0)*MAT(in,2,2) - MAT(in,2,0)*MAT(in,1,2) )*det); 520 MAT(out,1,1) = ( (MAT(in,0,0)*MAT(in,2,2) - MAT(in,2,0)*MAT(in,0,2) )*det); [all...] |