/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/nalgebra-0.18.1/src/linalg/ |
H A D | symmetric_eigen.rs | 114 let (mut q, mut diag, mut off_diag); in do_decompose() 120 off_diag = res.2; in do_decompose() 125 off_diag = res.1; in do_decompose() 145 off_diag[start], in do_decompose() 154 off_diag[i - 1] = norm; in do_decompose() 160 let mij = off_diag[i]; in do_decompose() 173 v.x = off_diag[i]; in do_decompose() 175 off_diag[i + 1] *= rot.c(); in do_decompose() 193 off_diag[start], diag[start + 1], in do_decompose() 258 if off_diag[m].is_zero() in delimit_subproblem() [all …]
|
H A D | schur.rs | 359 let off_diag = t[(new_start, m)]; in delimit_subproblem() localVariable 360 if off_diag.is_zero() in delimit_subproblem() 361 || off_diag.norm1() <= eps * (t[(new_start, new_start)].norm1() + t[(m, m)].norm1()) in delimit_subproblem()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/nalgebra-0.18.1/src/linalg/ |
H A D | symmetric_eigen.rs | 114 let (mut q, mut diag, mut off_diag); 120 off_diag = res.2; 125 off_diag = res.1; 145 off_diag[start], 154 off_diag[i - 1] = norm; in CreateTrigger() 160 let mij = off_diag[i]; in CreateTrigger() 173 v.x = off_diag[i]; in CreateTrigger() 175 off_diag[i + 1] *= rot.c(); in CreateTrigger() 193 off_diag[start], diag[start + 1], 258 if off_diag[m].is_zero() [all …]
|
H A D | schur.rs | 359 let off_diag = t[(new_start, m)]; in delimit_subproblem() localVariable 360 if off_diag.is_zero() in delimit_subproblem() 361 || off_diag.norm1() <= eps * (t[(new_start, new_start)].norm1() + t[(m, m)].norm1()) in delimit_subproblem()
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/nalgebra/src/linalg/ |
H A D | symmetric_eigen.rs | 110 let (mut q_mat, mut diag, mut off_diag); in do_decompose() 116 off_diag = res.2; in do_decompose() 121 off_diag = res.1; in do_decompose() 148 off_diag[start].clone(), in do_decompose() 157 off_diag[i - 1] = norm; in do_decompose() 189 if off_diag[m].clone().norm1() in do_decompose() 198 off_diag[start].clone(), in do_decompose() 204 off_diag[start].clone(), in do_decompose() 254 if off_diag[m].clone().norm1() in delimit_subproblem() 271 if off_diag[m].clone().is_zero() in delimit_subproblem() [all …]
|
H A D | schur.rs | 372 let off_diag = t[(new_start, m)].clone(); in delimit_subproblem() localVariable 373 if off_diag.is_zero() in delimit_subproblem() 374 || off_diag.norm1() in delimit_subproblem()
|
/dports/math/blocksolve95/BlockSolve95/examples/ |
H A D | get_mat3d.c | 22 FLOAT *aval, fncomp, off_diag, sign; in get_mat3d() local 40 off_diag = -(1.0/(6.0*fncomp)); in get_mat3d() 81 aval[rp[count]] = off_diag; in get_mat3d() 93 aval[rp[count]] = off_diag; in get_mat3d() 102 aval[rp[count]] = off_diag; in get_mat3d() 111 aval[rp[count]] = off_diag; in get_mat3d() 120 aval[rp[count]] = off_diag; in get_mat3d() 129 aval[rp[count]] = off_diag; in get_mat3d()
|
/dports/biology/iqtree/IQ-TREE-2.0.6/whtest/ |
H A D | eigen_sym.c | 199 double *off_diag; in eigen_sym_core() local 204 off_diag = (double *) malloc(n * sizeof(double*)); in eigen_sym_core() 211 tred2(a, n, eval, off_diag); in eigen_sym_core() 213 tqli(eval, off_diag, n, a); in eigen_sym_core() 215 free(off_diag); in eigen_sym_core() 226 DVec20 forg, new_forg, forg_sqrt, off_diag, eval_new; in eigen_sym() local 249 tred2(a, new_num, eval_new, off_diag); in eigen_sym() 251 tqli(eval_new, off_diag, new_num, a); in eigen_sym()
|
/dports/math/py-chaospy/chaospy-4.3.3/chaospy/expansion/ |
H A D | cholesky.py | 149 off_diag = abs(mat - numpy.diag(mat_diag)).max() 151 delta = tolerance*max(gamma+off_diag, 1) 152 beta = numpy.sqrt(max(gamma, off_diag/size, tolerance))
|
/dports/science/chrono/chrono-7.0.1/src/chrono/core/ |
H A D | ChMatrix33.h | 48 ChMatrix33(const ChVector<>& diag, const ChVector<>& off_diag); 202 ChMatrix33<Real>::ChMatrix33(const ChVector<>& diag, const ChVector<>& off_diag) { in ChMatrix33() argument 205 (*this)(0, 1) = off_diag.x(); in ChMatrix33() 206 (*this)(1, 0) = off_diag.x(); in ChMatrix33() 208 (*this)(0, 2) = off_diag.y(); in ChMatrix33() 209 (*this)(2, 0) = off_diag.y(); in ChMatrix33() 211 (*this)(1, 2) = off_diag.z(); in ChMatrix33() 212 (*this)(2, 1) = off_diag.z(); in ChMatrix33()
|
/dports/games/vamos/vamos-0.7.1/geometry/ |
H A D | Three_Matrix.cc | 181 double off_diag = 0.0; in diagonalize() local 186 off_diag += mat [i][j]; in diagonalize() 189 if (off_diag == 0.0) in diagonalize() 192 double thresh = (iter < 4) ? (0.2 * off_diag / (dim * dim)) : 0.0; in diagonalize()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/pecos/src/ |
H A D | NumericGenOrthogPolynomial.cpp | 88 RealVector off_diag(m-1, false); in solve_eigenproblem() local 114 off_diag[i-1] = std::sqrt(beta3TR[i]); in solve_eigenproblem() 184 off_diag[i-1] = H(i,i) / Him1im1; in solve_eigenproblem() 185 beta3TR[i] = std::pow(off_diag[i-1], 2); in solve_eigenproblem() 203 off_diag[i-1] = std::sqrt(beta3TR[i]); in solve_eigenproblem() 252 la.STEQR('I', m, &colloc_pts[0], off_diag.values(), z_eigvec.values(), ldz, in solve_eigenproblem()
|
/dports/science/ALPSCore/ALPSCore-2.2.0/alea/include/alps/alea/ |
H A D | complex_op.hpp | 181 T off_diag = x.rere() * x.reim() + x.imre() * x.imim(); in abs2() local 183 off_diag, off_diag, in abs2()
|
/dports/biology/hyphy/hyphy-2.5.33/res/TemplateBatchFiles/libv3/tasks/ |
H A D | distances.bf | 92 off_diag = count["_MATRIX_ELEMENT_COLUMN_==_MATRIX_ELEMENT_ROW_"]; 102 identicalSites = +count[off_diag];
|
/dports/math/libmesh/libmesh-1.6.2/src/geom/ |
H A D | face_quad.C | 259 off_diag = A[k][0]*A[k][1] + A[k][2]*A[k][3] + A[k][4]*A[k][5], in quality() local 262 T[k] = {{top_left, off_diag, in quality() 263 off_diag, bot_rigt}}; in quality()
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | lri_optimize_ri_basis.F | 845 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:) :: diag, off_diag, tau local 899 ALLOCATE (diag(nn), off_diag(nn - 1), tau(nn - 1), work(1)) 901 off_diag = 0.0_dp 906 CALL DSYTRD('U', nn, smat, nn, diag, off_diag, tau, work, lwork, info) 910 CALL DSYTRD('U', nn, smat, nn, diag, off_diag, tau, work, lwork, info) 911 CALL DSTERF(nn, diag, off_diag, info) 915 DEALLOCATE (diag, off_diag, smat, tau, work)
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | lri_optimize_ri_basis.F | 845 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:) :: diag, off_diag, tau local 899 ALLOCATE (diag(nn), off_diag(nn - 1), tau(nn - 1), work(1)) 901 off_diag = 0.0_dp 906 CALL DSYTRD('U', nn, smat, nn, diag, off_diag, tau, work, lwork, info) 910 CALL DSYTRD('U', nn, smat, nn, diag, off_diag, tau, work, lwork, info) 911 CALL DSTERF(nn, diag, off_diag, info) 915 DEALLOCATE (diag, off_diag, smat, tau, work)
|
/dports/science/siesta/siesta-4.1.5/Src/ |
H A D | m_ts_rgn2trimat.F90 | 530 real(dp), parameter :: off_diag = 1.2_dp local 536 p_N = R(n_part(1)) ** 2 + off_diag * R(n_part(2)) 539 g_N = R(g_part(1)) ** 2 + off_diag * R(g_part(2)) 548 p_N = R(n_part(i)) ** 2 + off_diag * R(n_part(i-1)) 551 g_N = R(g_part(i)) ** 2 + off_diag * R(g_part(i-1)) 564 p_N = R(n_part(i)) ** 2 + off_diag * R(n_part(i-1)) 578 g_N = R(g_part(i)) ** 2 + off_diag * R(g_part(i-1))
|
/dports/math/py-autograd/autograd-1.3/autograd/numpy/ |
H A D | linalg.py | 111 off_diag = anp.ones((N, N)) - anp.eye(N) 112 F = off_diag / (T(w_repeated) - w_repeated + anp.eye(N))
|
/dports/biology/ncbi-toolkit/ncbi/algo/blast/core/ |
H A D | na_ungapped.c | 691 Int4 off_diag = (orig_diag + delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() local 692 Int4 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 693 Int4 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit() 700 off_diag = (orig_diag - delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() 701 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 702 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/algo/blast/core/ |
H A D | na_ungapped.c | 694 Int4 off_diag = (orig_diag + delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() local 695 Int4 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 696 Int4 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit() 703 off_diag = (orig_diag - delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() 704 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 705 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit()
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/blast/core/ |
H A D | na_ungapped.c | 694 Int4 off_diag = (orig_diag + delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() local 695 Int4 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 696 Int4 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit() 703 off_diag = (orig_diag - delta) & diag_table->diag_mask; in s_BlastnDiagTableExtendInitialHit() 704 off_s_end = hit_level_array[off_diag].last_hit; in s_BlastnDiagTableExtendInitialHit() 705 off_s_l = diag_table->hit_len_array[off_diag]; in s_BlastnDiagTableExtendInitialHit()
|
/dports/biology/iqtree/IQ-TREE-2.0.6/utils/ |
H A D | eigendecomposition.cpp | 168 double *off_diag = new double[num_state]; in eigensystem_sym() local 211 tred2(a, new_num, eval_new, off_diag); in eigensystem_sym() 213 tqli(eval_new, off_diag, new_num, a); in eigensystem_sym() 304 delete [] off_diag; in eigensystem_sym()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_models/robot/robosimian/ |
H A D | RoboSimian.cpp | 242 ChVector<> off_diag(-com.x() * com.y(), // in InertiaConverter() local 245 ChMatrix33<> offset(diag, off_diag); in InertiaConverter()
|