/external/eigen/doc/snippets/ |
ComplexEigenSolver_eigenvalues.cpp | 2 ComplexEigenSolver<MatrixXcf> ces(ones, /* computeEigenvectors = */ false); 4 << endl << ces.eigenvalues() << endl;
|
ComplexEigenSolver_eigenvectors.cpp | 2 ComplexEigenSolver<MatrixXcf> ces(ones); 4 << endl << ces.eigenvectors().col(1) << endl;
|
ComplexEigenSolver_compute.cpp | 4 ComplexEigenSolver<MatrixXcf> ces; variable 5 ces.compute(A); 6 cout << "The eigenvalues of A are:" << endl << ces.eigenvalues() << endl; 7 cout << "The matrix of eigenvectors, V, is:" << endl << ces.eigenvectors() << endl << endl; 9 complex<float> lambda = ces.eigenvalues()[0]; 11 VectorXcf v = ces.eigenvectors().col(0); 16 << ces.eigenvectors() * ces.eigenvalues().asDiagonal() * ces.eigenvectors().inverse() << endl;
|
/external/icu/icu4c/source/test/intltest/ |
colldata.h | 52 * This object holds a list of CEs generated from a particular 62 * @param coll - the Collator used to collect the CEs. 63 * @param string - the string for which to collect the CEs. 78 * Return the number of CEs in the list. 80 * @return the number of CEs in the list. 94 * Check if the CEs in another <code>CEList</code> match the 100 * @return <code>TRUE</code> if the CEs match, <code>FALSE</code> otherwise. 117 uint32_t *ces; member in class:CEList 198 * generate a partcular list of CEs. 234 * of CEs starting with a given CE [all...] |
colldata.cpp | 42 : ces(NULL), listMax(CELIST_BUFFER_SIZE), listSize(0) 70 ces = ceBuffer; 101 if (ces != ceBuffer) { 102 DELETE_ARRAY(ces); 121 uprv_memcpy(newCEs, ces, listSize * sizeof(uint32_t)); 123 if (ces != ceBuffer) { 124 DELETE_ARRAY(ces); 127 ces = newCEs; 131 ces[listSize++] = ce; 137 return ces[index] [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
ContractionsAndExpansions.java | 39 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in class:ContractionsAndExpansions 43 void handleExpansion(long ces[], int start, int length); 147 ces[0] = Collation.latinCE0FromCE32(ce32); 148 ces[1] = Collation.latinCE1FromCE32(ce32); 149 sink.handleExpansion(ces, 0, 2); 162 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); 164 sink.handleExpansion(ces, 0, length); 176 sink.handleExpansion(data.ces, idx, length); 222 // Currently no need to send offset CEs to the sink. 225 // Currently no need to send implicit CEs to the sink [all...] |
CollationDataBuilder.java | 41 * that changes a tailoring builder's temporary CEs to final CEs. 114 * @return true if c has CEs in this builder 120 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { 121 int ce32 = encodeCEs(ces, cesLength); 126 * Encodes the ces as either the returned ce32 by itself, 129 * <p>add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength)) 131 int encodeCEs(long ces[], int cesLength) { 133 throw new IllegalArgumentException("mapping to too many CEs"); [all...] |
CollationBuilder.java | 115 ces[0] = getSpecialResetPosition(str); 117 assert((ces[0] & Collation.CASE_AND_QUATERNARY_MASK) == 0); 121 cesLength = dataBuilder.getCEs(nfdString, ces, 0); 232 strength = ceStrength(ces[cesLength - 1]); 234 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); 292 // Quaternary CEs are not supported. 293 // Non-zero quaternary weights are possible only on tertiary or stronger CEs. 357 // script-first-primary CEs in the root collator. 390 // because there are no root CEs with a boundary primary 484 long ce = ces[cesLength - 1] 1507 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in class:CollationBuilder [all...] |
CollationData.java | 112 long dataCE = ces[Collation.indexFromCE32(ce32)]; 159 return d.ces[Collation.indexFromCE32(ce32)]; 495 long[] ces; field in class:CollationData
|
TailoredSet.java | 168 // Offset tags always result in long-primary CEs, 174 long dataCE = baseData.ces[Collation.indexFromCE32(baseCE32)]; 218 if (data.ces[idx0 + i] != baseData.ces[idx1 + i]) {
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
ContractionsAndExpansions.java | 35 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in class:ContractionsAndExpansions 39 void handleExpansion(long ces[], int start, int length); 143 ces[0] = Collation.latinCE0FromCE32(ce32); 144 ces[1] = Collation.latinCE1FromCE32(ce32); 145 sink.handleExpansion(ces, 0, 2); 158 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); 160 sink.handleExpansion(ces, 0, length); 172 sink.handleExpansion(data.ces, idx, length); 218 // Currently no need to send offset CEs to the sink. 221 // Currently no need to send implicit CEs to the sink [all...] |
CollationDataBuilder.java | 40 * that changes a tailoring builder's temporary CEs to final CEs. 113 * @return true if c has CEs in this builder 119 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { 120 int ce32 = encodeCEs(ces, cesLength); 125 * Encodes the ces as either the returned ce32 by itself, 128 * <p>add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength)) 130 int encodeCEs(long ces[], int cesLength) { 132 throw new IllegalArgumentException("mapping to too many CEs"); [all...] |
CollationBuilder.java | 111 ces[0] = getSpecialResetPosition(str); 113 assert((ces[0] & Collation.CASE_AND_QUATERNARY_MASK) == 0); 117 cesLength = dataBuilder.getCEs(nfdString, ces, 0); 228 strength = ceStrength(ces[cesLength - 1]); 230 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); 288 // Quaternary CEs are not supported. 289 // Non-zero quaternary weights are possible only on tertiary or stronger CEs. 353 // script-first-primary CEs in the root collator. 386 // because there are no root CEs with a boundary primary 480 long ce = ces[cesLength - 1] 1503 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in class:CollationBuilder [all...] |
CollationData.java | 110 long dataCE = ces[Collation.indexFromCE32(ce32)]; 157 return d.ces[Collation.indexFromCE32(ce32)]; 493 long[] ces; field in class:CollationData
|
/external/icu/icu4c/source/i18n/ |
collationdatabuilder.h | 51 * that changes a tailoring builder's temporary CEs to final CEs. 81 * @return TRUE if c has CEs in this builder 98 const int64_t ces[], int32_t cesLength, 102 * Encodes the ces as either the returned ce32 by itself, 105 * add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength)) 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 112 * Sets three-byte-primary CEs for a range of code points in code point order, 128 * Sets three-byte-primary CEs for a range of code points in code point order [all...] |
collationdata.h | 57 ce32s(NULL), ces(NULL), contexts(NULL), base(NULL), 116 int64_t dataCE = ces[Collation::indexFromCE32(ce32)]; 183 const int64_t *ces; member in struct:CollationData
|
collationsets.h | 93 virtual void handleExpansion(const int64_t ces[], int32_t length) = 0; 137 int64_t ces[Collation::MAX_EXPANSION_LENGTH]; member in class:ContractionsAndExpansions
|
collationsets.cpp | 151 // Offset tags always result in long-primary CEs, 157 int64_t dataCE = baseData->ces[Collation::indexFromCE32(baseCE32)]; 188 const int64_t *ces = data->ces + Collation::indexFromCE32(ce32); local 191 const int64_t *baseCEs = baseData->ces + Collation::indexFromCE32(baseCE32); 199 if(ces[i] != baseCEs[i]) { 457 ces[0] = Collation::latinCE0FromCE32(ce32); 458 ces[1] = Collation::latinCE1FromCE32(ce32); 459 sink->handleExpansion(ces, 2); 472 ces[i] = Collation::ceFromCE32(*ce32s++) [all...] |
collationdatabuilder.cpp | 86 * When fetching CEs from the builder, the contexts are built into their runtime form 109 * Uses the runtime CollationIterator for fetching CEs for a string 132 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength); 172 int64_t ces[], int32_t cesLength) { 175 builderData.ces = builder.ce64s.getBuffer(); 183 // No need to keep all CEs in the iterator buffer. 201 ces[cesLength] = ce; 399 int64_t dataCE = fromBase ? base->ces[i] : ce64s.elementAti(i); 464 return fromBase ? base->ces[i] : ce64s.elementAti(i); 530 const int64_t ces[], int32_t cesLength [all...] |
collationbuilder.cpp | 299 ces[0] = getSpecialResetPosition(str, parserErrorReason, errorCode); 302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); 310 cesLength = dataBuilder->getCEs(nfdString, ces, 0); 429 strength = ceStrength(ces[cesLength - 1]); 435 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); 492 // Quaternary CEs are not supported. 493 // Non-zero quaternary weights are possible only on tertiary or stronger CEs. 559 // script-first-primary CEs in the root collator. 596 // because there are no root CEs with a boundary primary 701 int64_t ce = ces[cesLength - 1] [all...] |
coleitr.cpp | 85 // CollationIterator::previousCE() decrements the CEs length 86 // while it pops CEs from its internal buffer. 124 // No need to keep all CEs in the buffer when we iterate. 128 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 194 // If we already have expansion CEs, then we also have offsets. 200 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 207 // When we convert a single 64-bit CE into two 32-bit CEs, 401 virtual void handleExpansion(const int64_t ces[], int32_t length) { 403 // We do not need to add single CEs into the map. 408 count += ceNeedsTwoParts(ces[i]) ? 2 : 1 [all...] |
usearch.cpp | 316 if (pattern->ces != cetable && pattern->ces) { 317 uprv_free(pattern->ces); 345 pattern->ces = cetable; 397 // ** Should processed CEs be signed or unsigned? 477 * @param cesize size of the pattern ces 490 // number of characters to give the relevant ces, ie approximately 491 // the number of ces minus their expansion, since expansions can come 499 // number of ces from right of array to the count 558 setShiftTable(pattern->shift, pattern->backShift, pattern->ces, [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
image.c | 89 // Pointers to the entries. ces[0 .. ces_used-1] are non-NULL. 90 // ces[ces_used .. CACHE_N_ENTRIES-1] are NULL. 93 CEnt* ces[CACHE_N_ENTRIES]; member in struct:_DiImage 425 vg_assert(img->ces[entNo] == NULL); 426 img->ces[entNo] = ML_(dinfo_zalloc)("di.alloc_CEnt.1", sizeof(CEnt)); 436 CEnt* tmp = img->ces[entNo]; 438 img->ces[entNo] = img->ces[entNo-1]; 441 img->ces[0] = tmp; 456 vg_assert(img->ces[entNo] != NULL) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CollationElementIterator.java | 120 * so that getOffset() returns intermediate offsets for the CEs 281 // CollationIterator.previousCE() decrements the CEs length 282 // while it pops CEs from its internal buffer. 330 // No need to keep all CEs in the buffer when we iterate. 336 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 387 // If we already have expansion CEs, then we also have offsets. 395 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 402 // When we convert a single 64-bit CE into two 32-bit CEs, 580 public void handleExpansion(long ces[], int start, int length) { 582 // We do not need to add single CEs into the map [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollationElementIterator.java | 120 * so that getOffset() returns intermediate offsets for the CEs 290 // CollationIterator.previousCE() decrements the CEs length 291 // while it pops CEs from its internal buffer. 340 // No need to keep all CEs in the buffer when we iterate. 346 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 398 // If we already have expansion CEs, then we also have offsets. 406 // Turn the 64-bit CE into two old-style 32-bit CEs, without quaternary bits. 413 // When we convert a single 64-bit CE into two 32-bit CEs, 597 public void handleExpansion(long ces[], int start, int length) { 599 // We do not need to add single CEs into the map [all...] |