/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/tests/quick_tests/ |
H A D | umfpack.cc | 101 deallog << "relative norm distance = " << x.l2_norm() / solution.l2_norm() in test() 103 deallog << "absolute norms = " << x.l2_norm() << ' ' << solution.l2_norm() in test() 105 Assert(x.l2_norm() / solution.l2_norm() < 1e-8, ExcInternalError()); in test()
|
H A D | lapack.cc | 70 if (v1.l2_norm() < 1.e-14) in test_rect() 77 if (v1.l2_norm() < 1.e-14) in test_rect() 83 if (u.l2_norm() < 1.e-14) in test_rect() 89 if (u.l2_norm() < 1.e-14) in test_rect()
|
/dports/math/vtk9/VTK-9.1.0/Infovis/Core/Testing/Cxx/ |
H A D | TestArrayNorm.cxx | 71 vtkDenseArray<double>* const l2_norm = vtkDenseArray<double>::SafeDownCast( in TestArrayNorm() local 75 vtkPrintVectorFormat(cout, l2_norm); in TestArrayNorm() 77 test_expression(l2_norm); in TestArrayNorm() 78 test_expression(close_enough(l2_norm->GetValueN(0), 1.1180339887498949)); in TestArrayNorm() 79 test_expression(close_enough(l2_norm->GetValueN(1), 1.2247448713915889)); in TestArrayNorm() 80 test_expression(close_enough(l2_norm->GetValueN(2), 1.1180339887498949)); in TestArrayNorm()
|
/dports/math/vtk8/VTK-8.2.0/Infovis/Core/Testing/Cxx/ |
H A D | TestArrayNorm.cxx | 68 vtkDenseArray<double>* const l2_norm = vtkDenseArray<double>::SafeDownCast( in TestArrayNorm() local 72 vtkPrintVectorFormat(cout, l2_norm); in TestArrayNorm() 74 test_expression(l2_norm); in TestArrayNorm() 75 test_expression(close_enough(l2_norm->GetValueN(0), 1.1180339887498949)); in TestArrayNorm() 76 test_expression(close_enough(l2_norm->GetValueN(1), 1.2247448713915889)); in TestArrayNorm() 77 test_expression(close_enough(l2_norm->GetValueN(2), 1.1180339887498949)); in TestArrayNorm()
|
/dports/math/vtk6/VTK-6.2.0/Infovis/Core/Testing/Cxx/ |
H A D | TestArrayNorm.cxx | 68 vtkDenseArray<double>* const l2_norm = vtkDenseArray<double>::SafeDownCast( in TestArrayNorm() local 72 vtkPrintVectorFormat(cout, l2_norm); in TestArrayNorm() 74 test_expression(l2_norm); in TestArrayNorm() 75 test_expression(close_enough(l2_norm->GetValueN(0), 1.1180339887498949)); in TestArrayNorm() 76 test_expression(close_enough(l2_norm->GetValueN(1), 1.2247448713915889)); in TestArrayNorm() 77 test_expression(close_enough(l2_norm->GetValueN(2), 1.1180339887498949)); in TestArrayNorm()
|
/dports/math/libmesh/libmesh-1.6.2/src/systems/ |
H A D | continuation_system.C | 310 const Real ynorm=y->l2_norm(); in initialize_tangent() 483 const Real old_norm_u = solution->l2_norm(); in continuation_solve() 587 const Real yrhsnorm=rhs->l2_norm(); in continuation_solve() 706 nonlinear_residual_afterstep = rhs->l2_norm(); in continuation_solve() 857 const Real norm_delta_u = delta_u->l2_norm(); in continuation_solve() 858 const Real norm_u = solution->l2_norm(); in continuation_solve() 872 const Real norm_residual = rhs->l2_norm(); in continuation_solve() 1025 const Real ynorm = y->l2_norm(); in solve_tangent() 1210 const Real yoldnorm = y_old->l2_norm(); in update_solution() 1211 const Real ynorm = y->l2_norm(); in update_solution() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/examples/step-52/ |
H A D | step-52.cc | 708 std::cout << " Forward Euler: error=" << solution.l2_norm() in run() 715 std::cout << " Third order Runge-Kutta: error=" << solution.l2_norm() in run() 722 std::cout << " Fourth order Runge-Kutta: error=" << solution.l2_norm() in run() 732 std::cout << " Backward Euler: error=" << solution.l2_norm() in run() 739 std::cout << " Implicit Midpoint: error=" << solution.l2_norm() in run() 746 std::cout << " Crank-Nicolson: error=" << solution.l2_norm() in run() 753 std::cout << " SDIRK: error=" << solution.l2_norm() in run() 763 std::cout << " Heun-Euler: error=" << solution.l2_norm() in run() 771 std::cout << " Bogacki-Shampine: error=" << solution.l2_norm() in run() 779 std::cout << " Dopri: error=" << solution.l2_norm() in run() [all …]
|
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/ |
H A D | linear_constraint_manager.cc | 169 ct_info.l2_norm = ComputeL2Norm(ct_info.constraint); in Add() 188 if (constraint_infos_[ct_index].l2_norm == 0.0) { in ComputeObjectiveParallelism() 203 (constraint_infos_[ct_index].l2_norm * objective_l2_norm_); in ComputeObjectiveParallelism() 220 const double l2_norm = ComputeL2Norm(ct); in AddCut() local 223 if (violation / l2_norm < 1e-5) return false; in AddCut() 240 << " norm=" << l2_norm << " violation=" << violation in AddCut() 241 << " eff=" << violation / l2_norm << " " << extra_info; in AddCut() 477 constraint_infos_[i].l2_norm = in ChangeLp() 624 constraint_infos_[new_constraint].l2_norm)); in ChangeLp() 722 const double l2_norm = ComputeL2Norm(ct); in AddCut() local [all …]
|
/dports/math/libmesh/libmesh-1.6.2/src/solvers/ |
H A D | newton_solver.C | 89 current_residual = rhs.l2_norm(); in line_search() 197 Real fu = current_residual = rhs.l2_norm(); in line_search() 323 Real current_residual = rhs.l2_norm(); in solve() 369 Real norm_total = newton_iterate.l2_norm(); in solve() 448 Real norm_delta = linear_solution.l2_norm(); in solve() 459 norm_total = newton_iterate.l2_norm(); in solve() 463 rhs, rhs.l2_norm(), _outer_iterations); in solve() 478 current_residual = rhs.l2_norm(); in solve() 530 norm_total = newton_iterate.l2_norm(); in solve()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/lac/ |
H A D | eigen.h | 219 double length = x.l2_norm(); in solve() 233 length = y.l2_norm(); in solve() 318 double length = x.l2_norm(); in solve() 331 length = y.l2_norm(); in solve() 370 res = r.l2_norm(); in solve()
|
H A D | solver_relaxation.h | 130 conv = this->iteration_status(iter, r.l2_norm(), x); in solve() 138 SolverControl::NoConvergence(iter, r.l2_norm())); in solve()
|
H A D | solver_idr.h | 298 double res = r.l2_norm(); in solve() 343 tmp_q *= 1.0 / tmp_q.l2_norm(); in solve() 428 res = r.l2_norm(); in solve() 461 res = r.l2_norm(); in solve()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/algorithms/ |
H A D | newton.templates.h | 111 deallog << "u: " << u.l2_norm() << std::endl; in operator() 133 double resnorm = res->l2_norm(); in operator() 182 resnorm = res->l2_norm(); in operator() 199 resnorm = res->l2_norm(); in operator()
|
/dports/math/libmesh/libmesh-1.6.2/tests/numerics/ |
H A D | dense_matrix_test.C | 151 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper() 176 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper() 195 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper() 230 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper() 255 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper() 268 LIBMESH_ASSERT_FP_EQUAL(/*expected=*/0., /*actual=*/lhs.l2_norm(), std::sqrt(tol)*tol); in testEVD_helper()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/pecos/python/python_src/PyDakota/unit/ |
H A D | test_univariate_polynomials.py | 69 l2_norm = poly.norm_squared(i) 70 msg = (j,numpy.absolute(l2_norm-integral)) 71 assert numpy.absolute(l2_norm-integral)<eps, msg
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/numerics/ |
H A D | adaptation_strategies.h | 105 l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator 168 l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator 246 l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator in l2_norm() function 307 l2_norm( in l2_norm() function
|
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/ |
H A D | norms_test.cpp | 28 using boost::math::tools::l2_norm; 625 l2 = boost::math::tools::l2_norm(v); in test_l2_norm() 629 l2 = boost::math::tools::l2_norm(w); in test_l2_norm() 637 l2 = boost::math::tools::l2_norm(v.begin(), v.end()); in test_l2_norm() 642 Real l2_1 = scale*l2_norm(v); in test_l2_norm() 647 Real l2_2 = l2_norm(v); in test_l2_norm() 663 double l2_1 = scale*l2_norm(v); in test_integer_l2_norm() 668 double l2_2 = l2_norm(v); in test_integer_l2_norm() 683 l2 = boost::math::tools::l2_norm(v); in test_complex_l2_norm() 688 Real l2_1 = scale*l2_norm(v); in test_complex_l2_norm() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/ |
H A D | norms_test.cpp | 28 using boost::math::tools::l2_norm; 625 l2 = boost::math::tools::l2_norm(v); in test_l2_norm() 629 l2 = boost::math::tools::l2_norm(w); in test_l2_norm() 637 l2 = boost::math::tools::l2_norm(v.begin(), v.end()); in test_l2_norm() 642 Real l2_1 = scale*l2_norm(v); in test_l2_norm() 647 Real l2_2 = l2_norm(v); in test_l2_norm() 663 double l2_1 = scale*l2_norm(v); in test_integer_l2_norm() 668 double l2_2 = l2_norm(v); in test_integer_l2_norm() 683 l2 = boost::math::tools::l2_norm(v); in test_complex_l2_norm() 688 Real l2_1 = scale*l2_norm(v); in test_complex_l2_norm() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/math/test/ |
H A D | norms_test.cpp | 28 using boost::math::tools::l2_norm; 625 l2 = boost::math::tools::l2_norm(v); in test_l2_norm() 629 l2 = boost::math::tools::l2_norm(w); in test_l2_norm() 637 l2 = boost::math::tools::l2_norm(v.begin(), v.end()); in test_l2_norm() 642 Real l2_1 = scale*l2_norm(v); in test_l2_norm() 647 Real l2_2 = l2_norm(v); in test_l2_norm() 663 double l2_1 = scale*l2_norm(v); in test_integer_l2_norm() 668 double l2_2 = l2_norm(v); in test_integer_l2_norm() 683 l2 = boost::math::tools::l2_norm(v); in test_complex_l2_norm() 688 Real l2_1 = scale*l2_norm(v); in test_complex_l2_norm() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/math/test/ |
H A D | norms_test.cpp | 28 using boost::math::tools::l2_norm; 625 l2 = boost::math::tools::l2_norm(v); in test_l2_norm() 629 l2 = boost::math::tools::l2_norm(w); in test_l2_norm() 637 l2 = boost::math::tools::l2_norm(v.begin(), v.end()); in test_l2_norm() 642 Real l2_1 = scale*l2_norm(v); in test_l2_norm() 647 Real l2_2 = l2_norm(v); in test_l2_norm() 663 double l2_1 = scale*l2_norm(v); in test_integer_l2_norm() 668 double l2_2 = l2_norm(v); in test_integer_l2_norm() 683 l2 = boost::math::tools::l2_norm(v); in test_complex_l2_norm() 688 Real l2_1 = scale*l2_norm(v); in test_complex_l2_norm() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/lac/ |
H A D | trilinos_block_sparse_matrix.cc | 257 return dst.l2_norm(); in residual() 275 return dst.l2_norm(); in residual() 289 return dst.l2_norm(); in residual() 303 return dst.l2_norm(); in residual()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/multigrid/ |
H A D | mg_smoother.h | 1157 deallog << ' ' << r->l2_norm() << ' '; in smooth() 1160 deallog << ' ' << d->l2_norm() << ' '; in smooth() 1169 deallog << ' ' << r->l2_norm() << ' '; in smooth() 1172 deallog << ' ' << d->l2_norm() << ' '; in smooth() 1205 deallog << ' ' << rhs.l2_norm() << ' '; in apply() 1213 deallog << ' ' << u.l2_norm() << ' '; in apply() 1235 deallog << ' ' << r->l2_norm() << ' '; in apply() 1238 deallog << ' ' << d->l2_norm() << ' '; in apply() 1247 deallog << ' ' << r->l2_norm() << ' '; in apply() 1250 deallog << ' ' << d->l2_norm() << ' '; in apply()
|
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Graphics/Handwriting/ |
H A D | recognize_handwriting.cpp | 33 double dist= l2_norm (cont - cont1) / sqrt (N(cont1)); in recognize_glyph_one() 49 double dist= l2_norm (cont - cont2) / sqrt (N(cont2)); in recognize_glyph_one()
|
/dports/math/py-sympy/sympy-1.9/examples/advanced/ |
H A D | gibbs_phenomenon.py | 22 def l2_norm(f, lim): function 82 v_norm = l2_norm(v, lim)
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/deep-embedded-clustering/ |
H A D | autoencoder.py | 164 def l2_norm(label, pred): function 168 solver.set_metric(mx.metric.CustomMetric(l2_norm)) 187 def l2_norm(label, pred): function 191 solver.set_metric(mx.metric.CustomMetric(l2_norm))
|