HomeSort by relevance Sort by last modified time
    Searched refs:Upper (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /external/llvm/lib/Support/
ConstantRange.cpp 11 // for an integral value. This keeps track of a lower and upper bound for the
13 // keeps track of a [lower, upper) bound, which specifies an interval just like
34 Lower = Upper = APInt::getMaxValue(BitWidth);
36 Lower = Upper = APInt::getMinValue(BitWidth);
42 : Lower(llvm_move(V)), Upper(Lower + 1) {}
45 : Lower(llvm_move(L)), Upper(llvm_move(U)) {
46 assert(Lower.getBitWidth() == Upper.getBitWidth() &&
48 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) &&
49 "Lower == Upper, but they aren't min or max value!");
120 return Lower == Upper && Lower.isMaxValue()
    [all...]
  /external/eigen/doc/snippets/
Tutorial_solve_triangular_inplace.cpp 5 A.triangularView<Upper>().solveInPlace(b);
Tutorial_solve_triangular.cpp 7 Vector3f x = A.triangularView<Upper>().solve(b);
  /external/eigen/test/
cholmod_support.cpp 17 CholmodDecomposition<SparseMatrix<T>, Upper> g_chol_colmajor_upper; g_chol_colmajor_upper.setMode(CholmodSupernodalLLt);
19 CholmodDecomposition<SparseMatrix<T>, Upper> g_llt_colmajor_upper; g_llt_colmajor_upper.setMode(CholmodSimplicialLLt);
21 CholmodDecomposition<SparseMatrix<T>, Upper> g_ldlt_colmajor_upper; g_ldlt_colmajor_upper.setMode(CholmodLDLt);
24 CholmodSupernodalLLT<SparseMatrix<T>, Upper> chol_colmajor_upper;
26 CholmodSimplicialLLT<SparseMatrix<T>, Upper> llt_colmajor_upper;
28 CholmodSimplicialLDLT<SparseMatrix<T>, Upper> ldlt_colmajor_upper;
sparse_permutations.cpp 32 up = mat.template triangularView<Upper>();
35 up_sym_d = mat_d.template selfadjointView<Upper>();
39 VERIFY_IS_APPROX(up, DenseMatrix(mat_d.template triangularView<Upper>()));
68 res = mat.template selfadjointView<Upper>().twistedBy(p_null);
70 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
77 res = up.template selfadjointView<Upper>().twistedBy(p_null);
79 VERIFY(res.isApprox(res_d) && "upper selfadjoint to full");
86 res = mat.template selfadjointView<Upper>();
88 VERIFY(res.isApprox(res_d) && "full selfadjoint upper to full");
94 res = up.template selfadjointView<Upper>();
    [all...]
simplicial_cholesky.cpp 15 SimplicialCholesky<SparseMatrix<T>, Upper> chol_colmajor_upper;
17 SimplicialLDLT<SparseMatrix<T>, Upper> llt_colmajor_upper;
19 SimplicialLDLT<SparseMatrix<T>, Upper> ldlt_colmajor_upper;
conjugate_gradient.cpp 16 ConjugateGradient<SparseMatrix<T>, Upper> cg_colmajor_upper_diag;
18 ConjugateGradient<SparseMatrix<T>, Upper, IdentityPreconditioner> cg_colmajor_upper_I;
triangular.cpp 33 MatrixType m1up = m1.template triangularView<Upper>();
34 MatrixType m2up = m2.template triangularView<Upper>();
43 // VERIFY_IS_APPROX(m1up.transpose() * m2, m1.upper().transpose().lower() * m2);
48 r1.template triangularView<Upper>() += m1;
54 m1.template triangularView<Upper>() = m2.transpose() + m2;
72 m3 = m1.template triangularView<Upper>();
75 VERIFY(v2.isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(v2)), largerEps));
76 m3 = m1.template triangularView<Upper>();
77 VERIFY(v2.isApprox(m3 * (m1.template triangularView<Upper>().solve(v2)), largerEps));
82 m3 = m1.template triangularView<Upper>();
    [all...]
product_mmtr.cpp 41 CHECK_MMTR(matc, Upper, = s*(soc*soc.adjoint()));
43 CHECK_MMTR(matr, Upper, = soc*(s*sor.adjoint()));
46 CHECK_MMTR(matc, Upper, += s*(soc*sor.transpose()));
48 CHECK_MMTR(matr, Upper, += soc*(s*soc.adjoint()));
51 CHECK_MMTR(matc, Upper, -= s*(osc.transpose()*osc.conjugate()));
53 CHECK_MMTR(matr, Upper, -= soc*(s*soc.adjoint()));
pardiso_support.cpp 11 PardisoLLT < SparseMatrix<T, RowMajor>, Upper> pardiso_llt_upper;
13 PardisoLDLT < SparseMatrix<T, RowMajor>, Upper> pardiso_ldlt_upper;
pastix_support.cpp 19 PastixLLT< SparseMatrix<T, ColMajor>, Eigen::Upper > pastix_llt_upper;
20 PastixLDLT< SparseMatrix<T, ColMajor>, Eigen::Upper > pastix_ldlt_upper;
nomalloc.cpp 63 m2.col(0).noalias() = m1.template triangularView<Upper>() * m1.col(0);
64 m2.col(0).noalias() -= m1.adjoint().template triangularView<Upper>() * m1.col(0);
65 m2.col(0).noalias() -= m1.template triangularView<Upper>() * m1.row(0).adjoint();
66 m2.col(0).noalias() -= m1.adjoint().template triangularView<Upper>() * m1.row(0).adjoint();
68 m2.row(0).noalias() = m1.row(0) * m1.template triangularView<Upper>();
69 m2.row(0).noalias() -= m1.row(0) * m1.adjoint().template triangularView<Upper>();
70 m2.row(0).noalias() -= m1.col(0).adjoint() * m1.template triangularView<Upper>();
71 m2.row(0).noalias() -= m1.col(0).adjoint() * m1.adjoint().template triangularView<Upper>();
74 m2.col(0).noalias() = m1.template selfadjointView<Upper>() * m1.col(0);
75 m2.col(0).noalias() -= m1.adjoint().template selfadjointView<Upper>() * m1.col(0)
    [all...]
product_syrk.cpp 40 VERIFY_IS_APPROX(m2.template selfadjointView<Upper>().rankUpdate(rhs2,s1)._expression(),
41 (s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix());
48 VERIFY_IS_APPROX(m2.template selfadjointView<Upper>().rankUpdate(rhs1.adjoint(),s1)._expression(),
49 (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Upper>().toDenseMatrix());
56 VERIFY_IS_APPROX(m2.template selfadjointView<Upper>().rankUpdate(rhs3.adjoint(),s1)._expression(),
57 (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Upper>().toDenseMatrix());
64 VERIFY_IS_APPROX((m2.template selfadjointView<Upper>().rankUpdate(m1.col(c),s1)._expression()),
65 ((s1 * m1.col(c) * m1.col(c).adjoint()).eval().template triangularView<Upper>().toDenseMatrix()));
72 VERIFY_IS_APPROX((m2.template selfadjointView<Upper>().rankUpdate(m1.col(c).conjugate(),s1)._expression()),
73 ((s1 * m1.col(c).conjugate() * m1.col(c).conjugate().adjoint()).eval().template triangularView<Upper>().toDenseMatrix()))
    [all...]
selfadjoint.cpp 30 m3 = m1.template selfadjointView<Upper>();
31 VERIFY_IS_APPROX(MatrixType(m3.template triangularView<Upper>()), MatrixType(m1.template triangularView<Upper>()));
sparse_solvers.cpp 56 // upper - dense
58 VERIFY_IS_APPROX(refMat2.template triangularView<Upper>().solve(vec2),
59 m2.template triangularView<Upper>().solve(vec3));
60 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
61 m2.conjugate().template triangularView<Upper>().solve(vec3));
66 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
67 mm2.conjugate().template triangularView<Upper>().solve(vec3));
72 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Upper>().solve(vec2),
73 m2.transpose().template triangularView<Upper>().solve(vec3));
75 // upper - transpos
    [all...]
product_selfadjoint.cpp 46 m2 = m1.template triangularView<Upper>();
47 m2.template selfadjointView<Upper>().rankUpdate(-v1,s2*v2,s3);
48 VERIFY_IS_APPROX(m2, (m1 + (s3*(-v1)*(s2*v2).adjoint()+internal::conj(s3)*(s2*v2)*(-v1).adjoint())).template triangularView<Upper>().toDenseMatrix());
50 m2 = m1.template triangularView<Upper>();
51 m2.template selfadjointView<Upper>().rankUpdate(-s2*r1.adjoint(),r2.adjoint()*s3,s1);
52 VERIFY_IS_APPROX(m2, (m1 + s1*(-s2*r1.adjoint())*(r2.adjoint()*s3).adjoint() + internal::conj(s1)*(r2.adjoint()*s3) * (-s2*r1.adjoint()).adjoint()).template triangularView<Upper>().toDenseMatrix());
product_symm.cpp 44 m2 = m1.template triangularView<Upper>(); rhs12.setRandom(); rhs13 = rhs12;
45 m3 = m2.template selfadjointView<Upper>();
47 VERIFY_IS_APPROX(rhs12 += (s1*m2).template selfadjointView<Upper>() * (s2*rhs1),
54 m2 = m1.template triangularView<Upper>();
55 VERIFY_IS_APPROX(rhs12 = (s1*m2).template selfadjointView<Upper>() * (s2*rhs2.adjoint()),
58 m2 = m1.template triangularView<Upper>();
67 m2 = m1.template triangularView<Upper>();
72 m2 = m1.template triangularView<Upper>(); rhs13 = rhs12;
product_trmv.cpp 35 m3 = m1.template triangularView<Eigen::Upper>();
36 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Upper>() * v1, largerEps));
45 m3 = m1.template triangularView<Eigen::Upper>();
46 VERIFY((m3.conjugate() * v1.conjugate()).isApprox(m1.conjugate().template triangularView<Eigen::Upper>() * v1.conjugate(), largerEps));
49 m3 = m1.template triangularView<Eigen::Upper>();
52 VERIFY((m3.transpose() * v1).isApprox(m1.transpose().template triangularView<Eigen::Upper>() * v1, largerEps));
59 m3 = m1.template triangularView<Eigen::Upper>();
62 VERIFY((m3.adjoint() * (s1*v1.conjugate())).isApprox(m1.adjoint().template triangularView<Eigen::Upper>() * (s1*v1.conjugate()), largerEps));
  /external/eigen/doc/examples/
TemplateKeyword_flexible.cpp 10 dst.template triangularView<Upper>() = src.template triangularView<Upper>();
TemplateKeyword_simple.cpp 8 dst.triangularView<Upper>() = src.triangularView<Upper>();
  /external/llvm/include/llvm/Support/
UnicodeCharRanges.h 24 uint32_t Upper;
47 DEBUG(llvm::dbgs() << "Upper bound 0x");
53 if (I->Upper < I->Lower) {
54 DEBUG(llvm::dbgs() << "Upper bound 0x");
57 DEBUG(llvm::dbgs().write_hex(I->Upper) << "\n");
60 Prev = I->Upper;
89 else if (C > CharSet[MidPoint].Upper)
ConstantRange.h 11 // for an integral value. This keeps track of a lower and upper bound for the
13 // keeps track of a [lower, upper) bound, which specifies an interval just like
43 APInt Lower, Upper;
63 /// Lower==Upper and Lower != Min or Max value for its type. It will also
65 ConstantRange(APIntMoveTy Lower, APIntMoveTy Upper);
81 /// getUpper - Return the upper value for this range...
83 const APInt &getUpper() const { return Upper; }
120 if (Upper == Lower + 1)
156 return Lower == CR.Lower && Upper == CR.Upper;
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
RangeConstraintManager.cpp 107 const llvm::APSInt &Upper,
123 if (i->From() > Upper) {
128 if (i->Includes(Upper)) {
130 BV.getValue(Upper)));
135 if (i->Includes(Upper)) {
136 newRanges = F.add(newRanges, Range(i->From(), BV.getValue(Upper)));
149 bool pin(llvm::APSInt &Lower, llvm::APSInt &Upper) const {
151 // both the upper and lower bounds against the symbol's type.
157 APSIntType::RangeTestResultKind UpperTest = Type.testInRange(Upper, true);
165 if (Lower < Upper)
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/
TriangularSolver.h 17 const unsigned int UpperTriangularBit = Upper;
20 const unsigned int UpperTriangular = Upper;
  /external/eigen/lapack/
cholesky.cpp 29 if(UPLO(*uplo)==UP) ret = internal::llt_inplace<Scalar, Upper>::blocked(A);
62 A.triangularView<Upper>().adjoint().solveInPlace(B);
63 A.triangularView<Upper>().solveInPlace(B);

Completed in 529 milliseconds

1 2 3 4 5