Home
last modified time | relevance | path

Searched refs:qr (Results 1 – 25 of 64) sorted by relevance

123

/external/eigen/test/
Dqr_colpivoting.cpp14 template<typename MatrixType> void qr() in qr() function
27 ColPivHouseholderQR<MatrixType> qr(m1); in qr() local
28 VERIFY(rank == qr.rank()); in qr()
29 VERIFY(cols - qr.rank() == qr.dimensionOfKernel()); in qr()
30 VERIFY(!qr.isInjective()); in qr()
31 VERIFY(!qr.isInvertible()); in qr()
32 VERIFY(!qr.isSurjective()); in qr()
34 MatrixQType q = qr.householderQ(); in qr()
37 MatrixType r = qr.matrixQR().template triangularView<Upper>(); in qr()
38 MatrixType c = q * r * qr.colsPermutation().inverse(); in qr()
[all …]
Dqr_fullpivoting.cpp14 template<typename MatrixType> void qr() in qr() function
26 FullPivHouseholderQR<MatrixType> qr(m1); in qr() local
27 VERIFY(rank == qr.rank()); in qr()
28 VERIFY(cols - qr.rank() == qr.dimensionOfKernel()); in qr()
29 VERIFY(!qr.isInjective()); in qr()
30 VERIFY(!qr.isInvertible()); in qr()
31 VERIFY(!qr.isSurjective()); in qr()
33 MatrixType r = qr.matrixQR(); in qr()
35 MatrixQType q = qr.matrixQ(); in qr()
41 MatrixType c = qr.matrixQ() * r * qr.colsPermutation().inverse(); in qr()
[all …]
Dqr.cpp13 template<typename MatrixType> void qr(const MatrixType& m) in qr() function
39 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize() local
41 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); in qr_fixedsize()
45 VERIFY_IS_APPROX(m1, qr.householderQ() * r); in qr_fixedsize()
50 m2 = qr.solve(m3); in qr_fixedsize()
71 HouseholderQR<MatrixType> qr(m1); in qr_invertible() local
73 m2 = qr.solve(m3); in qr_invertible()
80 m3 = qr.householderQ(); // get a unitary in qr_invertible()
82 qr.compute(m1); in qr_invertible()
83 VERIFY_IS_APPROX(absdet, qr.absDeterminant()); in qr_invertible()
[all …]
Dhouseholder.cpp86 HouseholderQR<HBlockMatrixType> qr(hbm); in householder() local
88 m2.block(shift,0,brows,cols) = qr.matrixQR(); in householder()
89 HCoeffsVectorType hc = qr.hCoeffs().conjugate(); in householder()
/external/eigen/test/eigen2/
Deigen2_qr.cpp13 template<typename MatrixType> void qr(const MatrixType& m) in qr() function
50 CALL_SUBTEST_1( qr(Matrix2f()) ); in test_eigen2_qr()
51 CALL_SUBTEST_2( qr(Matrix4d()) ); in test_eigen2_qr()
52 CALL_SUBTEST_3( qr(MatrixXf(12,8)) ); in test_eigen2_qr()
53 CALL_SUBTEST_4( qr(MatrixXcd(5,5)) ); in test_eigen2_qr()
54 CALL_SUBTEST_4( qr(MatrixXcd(7,3)) ); in test_eigen2_qr()
62 VERIFY(mat.qr().isFullRank()); in test_eigen2_qr()
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dlmpar.h163 const ColPivHouseholderQR<Matrix< Scalar, Dynamic, Dynamic> > &qr, in lmpar2()
185 const Index n = qr.matrixQR().cols(); in lmpar2()
195 const Index rank = qr.rank(); // use a threshold in lmpar2()
198qr.matrixQR().topLeftCorner(rank, rank).template triangularView<Upper>().solveInPlace(wa1.head(ran… in lmpar2()
200 x = qr.colsPermutation()*wa1; in lmpar2()
219 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2)/dxnorm; in lmpar2()
220qr.matrixQR().topLeftCorner(n, n).transpose().template triangularView<Lower>().solveInPlace(wa1); in lmpar2()
227 …wa1[j] = qr.matrixQR().col(j).head(j+1).dot(qtb.head(j+1)) / diag[qr.colsPermutation().indices()(j… in lmpar2()
242 Matrix< Scalar, Dynamic, Dynamic > s = qr.matrixQR(); in lmpar2()
252 qrsolv<Scalar>(s, qr.colsPermutation().indices(), wa1, qtb, x, sdiag); in lmpar2()
[all …]
/external/chromium_org/third_party/JSON/JSON-2.59/t/
D08_pc_base.t86 like($@, qr/unexpected end/i);
90 like($@, qr/JSON can only/i, 'invalid value (coderef)');
94 #like($@, qr/JSON can only/i, 'invalid value (blessd object)');
98 like($@, qr/cannot encode reference/i, 'invalid value (ref)');
D11_pc_expo.t34 like($js, qr/[1.23[eE]-04]/, 'digit 1.23E-4');
46 like($js,qr/\[1.01[Ee]\+0?67\]/, 'digit 1.01e+67');
Dxe20_croak_message.t19 like( $@, qr/line 1\./ );
De16_incr_parse_fixed.t27 ok($@ =~ qr/JSON text must be an object or array/);
D21_evans_bugrep.t36 like( $@, qr/incr_text can not be called when the incremental parser already started parsing/ );
/external/antlr/antlr-3.4/runtime/Perl5/t/
Dversion.t12 #like($version, qr/^\d+\.\d{2,}(_\d{2,})?$/);
15 like($version, qr/^\d+\.\d+\.\d+(?:_\d+)?$/);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
Dpeer_channel.cc150 QueuedResponse qr; in QueueResponse() local
151 qr.status = status; in QueueResponse()
152 qr.content_type = content_type; in QueueResponse()
153 qr.extra_headers = extra_headers; in QueueResponse()
154 qr.data = data; in QueueResponse()
155 queue_.push(qr); in QueueResponse()
/external/ceres-solver/internal/ceres/
Dschur_complement_solver_test.cc69 scoped_ptr<LinearSolver> qr(LinearSolver::Create(options)); in SetUpFromProblemId() local
78 qr->Solve(&dense_A, b.get(), LinearSolver::PerSolveOptions(), sol.get()); in SetUpFromProblemId()
83 qr->Solve(&dense_A, b.get(), per_solve_options, sol_d.get()); in SetUpFromProblemId()
Diterative_schur_complement_solver_test.cc85 scoped_ptr<LinearSolver> qr(LinearSolver::Create(options)); in TestSolver() local
90 qr->Solve(&dense_A, b_.get(), per_solve_options, reference_solution.data()); in TestSolver()
/external/chromium_org/third_party/jemalloc/chromium/
DMakefile.in86 $(srcdir)/ql.h $(srcdir)/qr.h $(srcdir)/rb.h
88 $(srcdir)/qr.h $(srcdir)/rb.h $(CRT_OBJ_DIR)
Dqr.h33 #define qr(a_type) \ macro
Dql.h42 #define ql_elm(a_type) qr(a_type)
/external/chromium_org/third_party/jemalloc/vendor/
DMakefile.in86 $(srcdir)/ql.h $(srcdir)/qr.h $(srcdir)/rb.h
88 $(srcdir)/qr.h $(srcdir)/rb.h $(CRT_OBJ_DIR)
Dql.h42 #define ql_elm(a_type) qr(a_type)
Dqr.h33 #define qr(a_type) \ macro
/external/dnsmasq/src/
Dnameser.h287 unsigned qr: 1; /* response flag */ member
305 unsigned qr :1; /* response flag */ member
/external/eigen/unsupported/Eigen/src/Splines/
DSplineFitting.h141 HouseholderQR<MatrixType> qr(A); in Interpolate()
144 ControlPointVectorType ctrls = qr.solve(MatrixType(pts.transpose())).transpose(); in Interpolate()
/external/eigen/Eigen/src/Eigen2Support/
DQR.h60 MatrixBase<Derived>::qr() const in qr() function
/external/eigen/Eigen/
DQR18 * - MatrixBase::qr(),

123