Home
last modified time | relevance | path

Searched refs:lu (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/external/eigen/test/
Dlu.cpp60 FullPivLU<MatrixType> lu; in lu_non_invertible() local
65 lu.setThreshold(RealScalar(0.01)); in lu_non_invertible()
66 lu.compute(m1); in lu_non_invertible()
69 u = lu.matrixLU().template triangularView<Upper>(); in lu_non_invertible()
72 = lu.matrixLU().block(0,0,rows,(std::min)(rows,cols)); in lu_non_invertible()
74 VERIFY_IS_APPROX(lu.permutationP() * m1 * lu.permutationQ(), l*u); in lu_non_invertible()
76 KernelMatrixType m1kernel = lu.kernel(); in lu_non_invertible()
77 ImageMatrixType m1image = lu.image(m1); in lu_non_invertible()
79 VERIFY_IS_APPROX(m1, lu.reconstructedMatrix()); in lu_non_invertible()
80 VERIFY(rank == lu.rank()); in lu_non_invertible()
[all …]
/external/eigen/test/eigen2/
Deigen2_lu.cpp52 LU<MatrixType> lu(m1); in lu_non_invertible() local
53 typename LU<MatrixType>::KernelResultType m1kernel = lu.kernel(); in lu_non_invertible()
54 typename LU<MatrixType>::ImageResultType m1image = lu.image(); in lu_non_invertible()
56 VERIFY(rank == lu.rank()); in lu_non_invertible()
57 VERIFY(cols - lu.rank() == lu.dimensionOfKernel()); in lu_non_invertible()
58 VERIFY(!lu.isInjective()); in lu_non_invertible()
59 VERIFY(!lu.isInvertible()); in lu_non_invertible()
60 VERIFY(lu.isSurjective() == (lu.rank() == rows)); in lu_non_invertible()
62 VERIFY(m1image.lu().rank() == rank); in lu_non_invertible()
65 VERIFY(sidebyside.lu().rank() == rank); in lu_non_invertible()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DLUDecompositionImpl.java42 private double lu[][]; field in LUDecompositionImpl
87 lu = matrix.getData(); in LUDecompositionImpl()
107 final double[] luRow = lu[row]; in LUDecompositionImpl()
110 sum -= luRow[i] * lu[i][col]; in LUDecompositionImpl()
119 final double[] luRow = lu[row]; in LUDecompositionImpl()
122 sum -= luRow[i] * lu[i][col]; in LUDecompositionImpl()
134 if (FastMath.abs(lu[max][col]) < singularityThreshold) { in LUDecompositionImpl()
142 final double[] luMax = lu[max]; in LUDecompositionImpl()
143 final double[] luCol = lu[col]; in LUDecompositionImpl()
156 final double luDiag = lu[col][col]; in LUDecompositionImpl()
[all …]
DFieldLUDecompositionImpl.java47 private T lu[][]; field in FieldLUDecompositionImpl
81 lu = matrix.getData(); in FieldLUDecompositionImpl()
101 final T[] luRow = lu[row]; in FieldLUDecompositionImpl()
104 sum = sum.subtract(luRow[i].multiply(lu[i][col])); in FieldLUDecompositionImpl()
112 final T[] luRow = lu[row]; in FieldLUDecompositionImpl()
115 sum = sum.subtract(luRow[i].multiply(lu[i][col])); in FieldLUDecompositionImpl()
119 if (lu[nonZero][col].equals(field.getZero())) { in FieldLUDecompositionImpl()
135 tmp = lu[nonZero][i]; in FieldLUDecompositionImpl()
136 lu[nonZero][i] = lu[col][i]; in FieldLUDecompositionImpl()
137 lu[col][i] = tmp; in FieldLUDecompositionImpl()
[all …]
DBigMatrixImpl.java76 protected BigDecimal lu[][] = null; field in BigMatrixImpl
114 lu = null; in BigMatrixImpl()
131 lu = null; in BigMatrixImpl()
174 lu = null; in BigMatrixImpl()
206 lu = null; in BigMatrixImpl()
236 lu = null; in BigMatrixImpl()
744 lu = null; in setSubMatrix()
951 det = det.multiply(lu[i][i]); in getDeterminant()
970 if (lu == null) { in isSingular()
1173 final BigDecimal[] luI = lu[i]; in solve()
[all …]
DAbstractRealMatrix.java41 private DecompositionSolver lu; field in AbstractRealMatrix
47 lu = null; in AbstractRealMatrix()
67 lu = null; in AbstractRealMatrix()
405 lu = null;
625 if (lu == null) {
626 lu = new LUDecompositionImpl(this, MathUtils.SAFE_MIN).getSolver();
628 return lu.getInverse();
646 if (lu == null) {
647 lu = new LUDecompositionImpl(this, MathUtils.SAFE_MIN).getSolver();
649 return !lu.isNonSingular();
[all …]
/external/eigen/Eigen/src/LU/
DPartialPivLU.h239 …static Index unblocked_lu(MatrixType& lu, PivIndex* row_transpositions, PivIndex& nb_transposition… in unblocked_lu()
241 const Index rows = lu.rows(); in unblocked_lu()
242 const Index cols = lu.cols(); in unblocked_lu()
253 = lu.col(k).tail(rows-k).cwiseAbs().maxCoeff(&row_of_biggest_in_col); in unblocked_lu()
262 lu.row(k).swap(lu.row(row_of_biggest_in_col)); in unblocked_lu()
268 lu.col(k).tail(rrows) /= lu.coeff(k,k); in unblocked_lu()
278lu.bottomRightCorner(rrows,rcols).noalias() -= lu.col(k).tail(rrows) * lu.row(k).tail(rcols); in unblocked_lu()
301 MatrixType lu(lu1,0,0,rows,cols);
308 return unblocked_lu(lu, row_transpositions, nb_transpositions);
332 BlockType A_0(lu,0,0,rows,k);
[all …]
/external/eigen/doc/snippets/
Dclass_FullPivLU.cpp5 Eigen::FullPivLU<Matrix5x3> lu(m);
7 << endl << lu.matrixLU() << endl;
10 l.block<5,3>(0,0).triangularView<StrictlyLower>() = lu.matrixLU();
13 Matrix5x3 u = lu.matrixLU().triangularView<Upper>();
16 cout << lu.permutationP().inverse() * l * u * lu.permutationQ().inverse() << endl;
/external/eigen/lapack/
Dlu.cpp62 MatrixType lu(a,*n,*n,*lda); variable
70 lu.triangularView<UnitLower>().solveInPlace(B);
71 lu.triangularView<Upper>().solveInPlace(B);
75 lu.triangularView<Upper>().transpose().solveInPlace(B);
76 lu.triangularView<UnitLower>().transpose().solveInPlace(B);
81 lu.triangularView<Upper>().adjoint().solveInPlace(B);
82 lu.triangularView<UnitLower>().adjoint().solveInPlace(B);
/external/eigen/doc/examples/
DTutorialLinAlgSetThreshold.cpp12 FullPivLU<Matrix2d> lu(A); in main() local
13 cout << "By default, the rank of A is found to be " << lu.rank() << endl; in main()
14 lu.setThreshold(1e-5); in main()
15 cout << "With threshold 1e-5, the rank of A is found to be " << lu.rank() << endl; in main()
/external/boringssl/src/crypto/x509/
Dx509_lu.c236 X509_LOOKUP *lu; in X509_STORE_free() local
250 lu=sk_X509_LOOKUP_value(sk,j); in X509_STORE_free()
251 X509_LOOKUP_shutdown(lu); in X509_STORE_free()
252 X509_LOOKUP_free(lu); in X509_STORE_free()
266 X509_LOOKUP *lu; in X509_STORE_add_lookup() local
271 lu=sk_X509_LOOKUP_value(sk,i); in X509_STORE_add_lookup()
272 if (m == lu->method) in X509_STORE_add_lookup()
274 return lu; in X509_STORE_add_lookup()
278 lu=X509_LOOKUP_new(m); in X509_STORE_add_lookup()
279 if (lu == NULL) in X509_STORE_add_lookup()
[all …]
Dby_dir.c96 static int new_dir(X509_LOOKUP *lu);
97 static void free_dir(X509_LOOKUP *lu);
152 static int new_dir(X509_LOOKUP *lu) in new_dir() argument
164 lu->method_data=(char *)a; in new_dir()
192 static void free_dir(X509_LOOKUP *lu) in free_dir() argument
196 a=(BY_DIR *)lu->method_data; in free_dir()
/external/eigen/bench/
Dsparse_lu.cpp50 SparseLU<EigenSparseMatrix,Backend> lu(sm1, flags); in doEigen() local
52 if (lu.succeeded()) in doEigen()
62 ok = lu.solve(b,&x); in doEigen()
101 FullPivLU<DenseMatrix> lu(m1); in main() local
107 lu.solve(b,&x); in main()
/external/clang/test/ARCMT/
Dobjcmt-numeric-literals.m70 [NSNumber numberWithChar:2lu];
100 [NSNumber numberWithUnsignedChar:2lu];
130 [NSNumber numberWithShort:2lu];
159 [NSNumber numberWithUnsignedShort:2lu];
188 [NSNumber numberWithInt:2lu];
223 [NSNumber numberWithUnsignedInt:2lu];
252 [NSNumber numberWithLong:2lu];
281 [NSNumber numberWithUnsignedLong:2lu];
310 [NSNumber numberWithLongLong:2lu];
339 [NSNumber numberWithUnsignedLongLong:2lu];
[all …]
Dobjcmt-numeric-literals.m.result70 [NSNumber numberWithChar:2lu];
100 [NSNumber numberWithUnsignedChar:2lu];
130 [NSNumber numberWithShort:2lu];
159 [NSNumber numberWithUnsignedShort:2lu];
281 @2lu;
426 [NSNumber numberWithBool:2lu];
484 @2lu;
/external/icu/icu4c/source/data/lang/
Dlu.txt6 // * Source File: <path>/common/main/lu.xml
9 lu{
33 lu{"Tshiluba"}
/external/icu/icu4c/source/data/zone/
Dlu.txt6 // * Source File: <path>/common/main/lu.xml
9 lu{
/external/icu/icu4c/source/data/unit/
Dlu.txt6 // * Source File: <path>/common/main/lu.xml
9 lu{
/external/aac/libSBRenc/src/
Dmh_det.cpp154 UCHAR i, ll, lu, k; in diff() local
160 lu = pFreqBandTable[i+1]; in diff()
165 for(k=ll;k<lu;k++){ in diff()
218 INT lu = pFreqBandTable[i+1]; in calculateFlatnessMeasure() local
222 if(lu - ll > 1){ in calculateFlatnessMeasure()
224 invBands = GetInvInt(lu-ll); in calculateFlatnessMeasure()
230 for(j= ll; j<lu; j++) { in calculateFlatnessMeasure()
687 INT i,j,ll, lu; in detection() local
724 lu = pFreqBandTable[i+1]; in detection()
730 for(j= ll;j<lu;j++){ in detection()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTestUnicodeProperty.java35 final UnicodeSet lu = property.getSet("Lu"); in TestBasic() local
36 if (!assertTrue("Gc=L contains 'A'", lu.contains('A'))) { in TestBasic()
37 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic()
/external/iproute2/ip/
Diplink_macvlan.c37 static int macvlan_parse_opt(struct link_util *lu, int argc, char **argv, in macvlan_parse_opt() argument
71 static void macvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in macvlan_print_opt() argument
Diplink_macvtap.c34 static int macvtap_parse_opt(struct link_util *lu, int argc, char **argv, in macvtap_parse_opt() argument
68 static void macvtap_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in macvtap_print_opt() argument
Diplink_can.c97 static int can_parse_opt(struct link_util *lu, int argc, char **argv, in can_parse_opt() argument
196 static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in can_print_opt() argument
260 static void can_print_xstats(struct link_util *lu, in can_print_xstats() argument
/external/clang/test/FixIt/
Dformat-darwin.m45 // CHECK: fix-it:"{{.*}}":{[[@LINE-7]]:11-[[@LINE-7]]:13}:"%lu"
105 …printf("%lu", getUInt32()); // expected-warning{{values of type 'UInt32' should not be used as for…
110 // CHECK-64: fix-it:"{{.*}}":{[[@LINE-7]]:11-[[@LINE-7]]:13}:"%lu"
141 // CHECK-64: fix-it:"{{.*}}":{[[@LINE-4]]:11-[[@LINE-4]]:13}:"%lu"
142 // CHECK-64: fix-it:"{{.*}}":{[[@LINE-4]]:11-[[@LINE-4]]:13}:"%lu"
148 printf("%lu", getNSUInteger()); // no-warning
158 …printf("%lu", getNSUInteger()); // expected-warning{{values of type 'NSUInteger' should not be use…
184 printf("%lu", getUInt32()); // no-warning
208 // CHECK: fix-it:"{{.*}}":{[[@LINE-7]]:11-[[@LINE-7]]:13}:"%lu"
/external/e2fsprogs/po/
Dcs.po121 msgid "Error reading block %lu (%s) while %s. "
122 msgstr "Chyba při čtení bloku %lu (%s) během %s. "
126 msgid "Error reading block %lu (%s). "
127 msgstr "Chyba při čtení bloku %lu (%s). "
139 msgid "Error writing block %lu (%s) while %s. "
140 msgstr "Chyba při zápisu bloku %lu (%s) při %s. "
144 msgid "Error writing block %lu (%s). "
145 msgstr "Chyba při zápisu bloku %lu (%s). "
217 msgstr "čtení superbloku žurnálu\n"
222 msgstr "%s: nenalezen platný superblok žurnálu\n"
[all …]

12345678910>>...16