Home
last modified time | relevance | path

Searched refs:pivots (Results 1 – 25 of 1332) sorted by relevance

12345678910>>...54

/dports/science/madness/madness-ebb3fd7/src/madness/external/elemental/include/elemental/lapack-like/perm/
H A DPivotsToPermutation.hpp24 if( pivots.Width() != 1 ) in PivotsToPermutation()
28 const Int n = pivots.Height(); in PivotsToPermutation()
59 if( pivots.Width() != 1 ) in PivotsToPermutation()
63 const Int n = pivots.Height(); in PivotsToPermutation()
72 perm.SetGrid( pivots.Grid() ); in PivotsToPermutation()
73 perm.AlignWith( pivots ); in PivotsToPermutation()
94 if( pivots.Width() != 1 ) in PivotsToInversePermutation()
98 const Int n = pivots.Height(); in PivotsToInversePermutation()
129 if( pivots.Width() != 1 ) in PivotsToInversePermutation()
133 const Int n = pivots.Height(); in PivotsToInversePermutation()
[all …]
H A DApplyColPivots.hpp25 if( pivots.Width() != 1 ) in ApplyColPivots()
27 if( pivots.Height() > A.Width() ) in ApplyColPivots()
35 const Int numPivots = pivots.Height(); in ApplyColPivots()
38 const Int k = pivots.Get(j,0)-offset; in ApplyColPivots()
56 if( pivots.Width() != 1 ) in ApplyInverseColPivots()
58 if( pivots.Height() > A.Width() ) in ApplyInverseColPivots()
66 const Int numPivots = pivots.Height(); in ApplyInverseColPivots()
69 const Int k = pivots.Get(j,0)-offset; in ApplyInverseColPivots()
87 DistMatrix<Int,UPerm,STAR> perm(pivots.Grid()), in ApplyColPivots()
89 if( pivots.Height() == A.Width() ) in ApplyColPivots()
[all …]
H A DApplyRowPivots.hpp25 if( pivots.Width() != 1 ) in ApplyRowPivots()
27 if( pivots.Height() > A.Height() ) in ApplyRowPivots()
35 const Int numPivots = pivots.Height(); in ApplyRowPivots()
39 const Int k = pivots.Get(i,0)-offset; in ApplyRowPivots()
57 if( pivots.Width() != 1 ) in ApplyInverseRowPivots()
59 if( pivots.Height() > A.Height() ) in ApplyInverseRowPivots()
67 const Int numPivots = pivots.Height(); in ApplyInverseRowPivots()
71 const Int k = pivots.Get(i,0)-offset; in ApplyInverseRowPivots()
89 DistMatrix<Int,UPerm,STAR> perm(pivots.Grid()), in ApplyRowPivots()
91 if( pivots.Height() == A.Width() ) in ApplyRowPivots()
[all …]
H A DPivotsToPartialPermutation.hpp22 if( pivots.Width() != 1 ) in PivotsToPartialPermutation()
26 const Int b = pivots.Height(); in PivotsToPartialPermutation()
36 Int k = pivots.Get(i,0) - offset; in PivotsToPartialPermutation()
39 const Int relSwap = pivots.Get(j,0)-offset; in PivotsToPartialPermutation()
53 const Int relSwap = pivots.Get(j,0)-offset; in PivotsToPartialPermutation()
66 ( const DistMatrix<Int,U, STAR>& pivots, in PivotsToPartialPermutation() argument
72 if( pivots.Width() != 1 ) in PivotsToPartialPermutation()
76 const Int b = pivots.Height(); in PivotsToPartialPermutation()
77 perm.SetGrid( pivots.Grid() ); in PivotsToPartialPermutation()
78 invPerm.SetGrid( pivots.Grid() ); in PivotsToPartialPermutation()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/nmod_mat/test/
H A Dt-howell_form.c24 slong *pivots; in nmod_mat_is_in_howell_form() local
44 flint_free(pivots); in nmod_mat_is_in_howell_form()
47 pivots[numberpivots] = j; in nmod_mat_is_in_howell_form()
65 flint_free(pivots); in nmod_mat_is_in_howell_form()
74 flint_free(pivots); in nmod_mat_is_in_howell_form()
79 flint_free(pivots); in nmod_mat_is_in_howell_form()
97 if (nmod_mat_entry(A, j, pivots[i]) >= nmod_mat_entry(A, i, pivots[i])) in nmod_mat_is_in_howell_form()
99 flint_free(pivots); in nmod_mat_is_in_howell_form()
125 if (pivots[r] == j) in nmod_mat_is_in_howell_form()
141 flint_free(pivots); in nmod_mat_is_in_howell_form()
[all …]
/dports/math/e-antic/flint2-ae7ec89/nmod_mat/test/
H A Dt-howell_form.c24 slong *pivots; in nmod_mat_is_in_howell_form() local
44 flint_free(pivots); in nmod_mat_is_in_howell_form()
47 pivots[numberpivots] = j; in nmod_mat_is_in_howell_form()
65 flint_free(pivots); in nmod_mat_is_in_howell_form()
74 flint_free(pivots); in nmod_mat_is_in_howell_form()
79 flint_free(pivots); in nmod_mat_is_in_howell_form()
97 if (nmod_mat_entry(A, j, pivots[i]) >= nmod_mat_entry(A, i, pivots[i])) in nmod_mat_is_in_howell_form()
99 flint_free(pivots); in nmod_mat_is_in_howell_form()
125 if (pivots[r] == j) in nmod_mat_is_in_howell_form()
141 flint_free(pivots); in nmod_mat_is_in_howell_form()
[all …]
/dports/math/flint2/flint-2.8.4/nmod_mat/test/
H A Dt-howell_form.c24 slong *pivots; in nmod_mat_is_in_howell_form() local
44 flint_free(pivots); in nmod_mat_is_in_howell_form()
47 pivots[numberpivots] = j; in nmod_mat_is_in_howell_form()
65 flint_free(pivots); in nmod_mat_is_in_howell_form()
74 flint_free(pivots); in nmod_mat_is_in_howell_form()
79 flint_free(pivots); in nmod_mat_is_in_howell_form()
97 if (nmod_mat_entry(A, j, pivots[i]) >= nmod_mat_entry(A, i, pivots[i])) in nmod_mat_is_in_howell_form()
99 flint_free(pivots); in nmod_mat_is_in_howell_form()
125 if (pivots[r] == j) in nmod_mat_is_in_howell_form()
141 flint_free(pivots); in nmod_mat_is_in_howell_form()
[all …]
/dports/math/e-antic/flint2-ae7ec89/fmpz_mat/test/
H A Dt-howell_form_mod.c22 slong *pivots; in fmpz_mat_mod_is_in_howell_form() local
42 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
45 pivots[numberpivots] = j; in fmpz_mat_mod_is_in_howell_form()
62 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
71 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
76 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
95 if (fmpz_cmp(fmpz_mat_entry(A, j, pivots[i]), fmpz_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mat_mod_is_in_howell_form()
97 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
119 if (pivots[r] == j) in fmpz_mat_mod_is_in_howell_form()
137 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
[all …]
/dports/math/e-antic/flint2-ae7ec89/fmpz_mod_mat/test/
H A Dt-howell_form.c23 slong *pivots; in fmpz_mod_mat_is_in_howell_form() local
43 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
46 pivots[numberpivots] = j; in fmpz_mod_mat_is_in_howell_form()
63 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
72 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
77 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
96 … if (fmpz_cmp(fmpz_mod_mat_entry(A, j, pivots[i]), fmpz_mod_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mod_mat_is_in_howell_form()
98 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
120 if (pivots[r] == j) in fmpz_mod_mat_is_in_howell_form()
138 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
[all …]
/dports/math/flint2/flint-2.8.4/fmpz_mod_mat/test/
H A Dt-howell_form.c23 slong *pivots; in fmpz_mod_mat_is_in_howell_form() local
43 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
46 pivots[numberpivots] = j; in fmpz_mod_mat_is_in_howell_form()
63 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
72 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
77 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
96 … if (fmpz_cmp(fmpz_mod_mat_entry(A, j, pivots[i]), fmpz_mod_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mod_mat_is_in_howell_form()
98 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
120 if (pivots[r] == j) in fmpz_mod_mat_is_in_howell_form()
138 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
[all …]
/dports/math/flint2/flint-2.8.4/fmpz_mat/test/
H A Dt-howell_form_mod.c22 slong *pivots; in fmpz_mat_mod_is_in_howell_form() local
42 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
45 pivots[numberpivots] = j; in fmpz_mat_mod_is_in_howell_form()
62 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
71 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
76 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
95 if (fmpz_cmp(fmpz_mat_entry(A, j, pivots[i]), fmpz_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mat_mod_is_in_howell_form()
97 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
119 if (pivots[r] == j) in fmpz_mat_mod_is_in_howell_form()
137 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_mat/test/
H A Dt-howell_form_mod.c22 slong *pivots; in fmpz_mat_mod_is_in_howell_form() local
42 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
45 pivots[numberpivots] = j; in fmpz_mat_mod_is_in_howell_form()
62 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
71 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
76 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
95 if (fmpz_cmp(fmpz_mat_entry(A, j, pivots[i]), fmpz_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mat_mod_is_in_howell_form()
97 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
119 if (pivots[r] == j) in fmpz_mat_mod_is_in_howell_form()
137 flint_free(pivots); in fmpz_mat_mod_is_in_howell_form()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_mod_mat/test/
H A Dt-howell_form.c23 slong *pivots; in fmpz_mod_mat_is_in_howell_form() local
43 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
46 pivots[numberpivots] = j; in fmpz_mod_mat_is_in_howell_form()
63 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
72 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
77 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
96 … if (fmpz_cmp(fmpz_mod_mat_entry(A, j, pivots[i]), fmpz_mod_mat_entry(A, i, pivots[i])) >= 0) in fmpz_mod_mat_is_in_howell_form()
98 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
120 if (pivots[r] == j) in fmpz_mod_mat_is_in_howell_form()
138 flint_free(pivots); in fmpz_mod_mat_is_in_howell_form()
[all …]
/dports/science/axom/axom-0.6.1/src/axom/core/numerics/
H A DLU.hpp57 int lu_decompose(Matrix<T>& A, int* pivots);
75 int lu_solve(const Matrix<T>& A, const int* pivots, const T* b, T* x);
90 int lu_decompose(Matrix<T>& LU, int* pivots) in lu_decompose() argument
93 assert("pre: pivots buffer is NULL" && (pivots != nullptr)); in lu_decompose()
106 pivots[i] = i; // row of max element in lu_decompose()
113 pivots[i] = j; in lu_decompose()
119 if(pivots[i] != i) in lu_decompose()
121 LU.swapRows(i, pivots[i]); in lu_decompose()
156 assert("pre: pivots buffer is NULL!" && (pivots != nullptr)); in lu_solve()
173 if(pivots[i] != i) in lu_solve()
[all …]
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfagraph/
H A Dng_split.cpp89 for (auto pivot : pivots) { in splitLHS()
135 vector<NFAVertex> pivots(1, pivot); in splitLHS() local
138 splitLHS(base, pivots, rhs_pivots, lhs, lhs_map); in splitLHS()
152 for (auto pivot : pivots) { in splitRHS()
192 assert(!pivots.empty()); in findCommonSuccessors()
197 insert(&adj, adjacent_vertices(pivots.at(0), g)); in findCommonSuccessors()
199 for (auto it = pivots.begin() + 1, ite = pivots.end(); it != ite; ++it) { in findCommonSuccessors()
223 findCommonSuccessors(base, pivots, rhs_pivots); in splitGraph()
226 splitLHS(base, pivots, rhs_pivots, lhs, lhs_map); in splitGraph()
240 vector<NFAVertex> pivots(1, pivot); in splitGraph() local
[all …]
/dports/math/stanmath/math-4.2.0/lib/sundials_5.7.0/src/sunlinsol/dense/
H A Dsunlinsol_dense.c33 #define PIVOTS(S) ( DENSE_CONTENT(S)->pivots )
101 content->pivots = NULL; in SUNLinSol_Dense()
136 sunindextype *pivots; in SUNLinSolSetup_Dense() local
150 pivots = NULL; in SUNLinSolSetup_Dense()
152 pivots = PIVOTS(S); in SUNLinSolSetup_Dense()
153 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Dense()
160 SUNDenseMatrix_Columns(A), pivots); in SUNLinSolSetup_Dense()
172 sunindextype *pivots; in SUNLinSolSolve_Dense() local
183 pivots = NULL; in SUNLinSolSolve_Dense()
186 pivots = PIVOTS(S); in SUNLinSolSolve_Dense()
[all …]
/dports/devel/upp/upp/bazaar/plugin/sundials/src/sunlinsol/dense/
H A Dsunlinsol_dense.c33 #define PIVOTS(S) ( DENSE_CONTENT(S)->pivots )
101 content->pivots = NULL; in SUNLinSol_Dense()
136 sunindextype *pivots; in SUNLinSolSetup_Dense() local
150 pivots = NULL; in SUNLinSolSetup_Dense()
152 pivots = PIVOTS(S); in SUNLinSolSetup_Dense()
153 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Dense()
160 SUNDenseMatrix_Columns(A), pivots); in SUNLinSolSetup_Dense()
172 sunindextype *pivots; in SUNLinSolSolve_Dense() local
183 pivots = NULL; in SUNLinSolSolve_Dense()
186 pivots = PIVOTS(S); in SUNLinSolSolve_Dense()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/src/sunlinsol/dense/
H A Dsunlinsol_dense.c33 #define PIVOTS(S) ( DENSE_CONTENT(S)->pivots )
101 content->pivots = NULL; in SUNLinSol_Dense()
136 sunindextype *pivots; in SUNLinSolSetup_Dense() local
150 pivots = NULL; in SUNLinSolSetup_Dense()
152 pivots = PIVOTS(S); in SUNLinSolSetup_Dense()
153 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Dense()
160 SUNDenseMatrix_Columns(A), pivots); in SUNLinSolSetup_Dense()
172 sunindextype *pivots; in SUNLinSolSolve_Dense() local
183 pivots = NULL; in SUNLinSolSolve_Dense()
186 pivots = PIVOTS(S); in SUNLinSolSolve_Dense()
[all …]
/dports/math/sundials/sundials-5.7.0/src/sunlinsol/dense/
H A Dsunlinsol_dense.c33 #define PIVOTS(S) ( DENSE_CONTENT(S)->pivots )
101 content->pivots = NULL; in SUNLinSol_Dense()
136 sunindextype *pivots; in SUNLinSolSetup_Dense() local
150 pivots = NULL; in SUNLinSolSetup_Dense()
152 pivots = PIVOTS(S); in SUNLinSolSetup_Dense()
153 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Dense()
160 SUNDenseMatrix_Columns(A), pivots); in SUNLinSolSetup_Dense()
172 sunindextype *pivots; in SUNLinSolSolve_Dense() local
183 pivots = NULL; in SUNLinSolSolve_Dense()
186 pivots = PIVOTS(S); in SUNLinSolSolve_Dense()
[all …]
/dports/math/eclib/eclib-20210318/libsrc/eclib/
H A Dmsubspace.h34 :pivots(iota(n)),basis(midmat(n)) {denom=1;} in pivots() function
36 :denom(d),pivots(p),basis(b) {} in msubspace()
38 :denom(s.denom),pivots(s.pivots),basis(s.basis) {} in msubspace()
43 {pivots=s.pivots; basis=s.basis; denom=s.denom;}
46 void clear() { pivots.init(); basis.init();} in clear()
51 friend vec_i pivots(const msubspace& s);// the pivot vector
63 vec_i pivots; variable
86 inline vec_i pivots(const msubspace& s) {return s.pivots;} // the pivot vector in pivots() function
/dports/math/stanmath/math-4.2.0/lib/sundials_5.7.0/src/sunlinsol/band/
H A Dsunlinsol_band.c35 #define PIVOTS(S) ( BAND_CONTENT(S)->pivots )
109 content->pivots = NULL; in SUNLinSol_Band()
144 sunindextype *pivots; in SUNLinSolSetup_Band() local
158 pivots = NULL; in SUNLinSolSetup_Band()
160 pivots = PIVOTS(S); in SUNLinSolSetup_Band()
161 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Band()
174 SM_LBAND_B(A), SM_SUBAND_B(A), pivots); in SUNLinSolSetup_Band()
186 sunindextype *pivots; in SUNLinSolSolve_Band() local
198 pivots = NULL; in SUNLinSolSolve_Band()
201 pivots = PIVOTS(S); in SUNLinSolSolve_Band()
[all …]
/dports/devel/upp/upp/bazaar/plugin/sundials/src/sunlinsol/band/
H A Dsunlinsol_band.c35 #define PIVOTS(S) ( BAND_CONTENT(S)->pivots )
109 content->pivots = NULL; in SUNLinSol_Band()
144 sunindextype *pivots; in SUNLinSolSetup_Band() local
158 pivots = NULL; in SUNLinSolSetup_Band()
160 pivots = PIVOTS(S); in SUNLinSolSetup_Band()
161 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Band()
174 SM_LBAND_B(A), SM_SUBAND_B(A), pivots); in SUNLinSolSetup_Band()
186 sunindextype *pivots; in SUNLinSolSolve_Band() local
198 pivots = NULL; in SUNLinSolSolve_Band()
201 pivots = PIVOTS(S); in SUNLinSolSolve_Band()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/src/sunlinsol/band/
H A Dsunlinsol_band.c35 #define PIVOTS(S) ( BAND_CONTENT(S)->pivots )
109 content->pivots = NULL; in SUNLinSol_Band()
144 sunindextype *pivots; in SUNLinSolSetup_Band() local
158 pivots = NULL; in SUNLinSolSetup_Band()
160 pivots = PIVOTS(S); in SUNLinSolSetup_Band()
161 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Band()
174 SM_LBAND_B(A), SM_SUBAND_B(A), pivots); in SUNLinSolSetup_Band()
186 sunindextype *pivots; in SUNLinSolSolve_Band() local
198 pivots = NULL; in SUNLinSolSolve_Band()
201 pivots = PIVOTS(S); in SUNLinSolSolve_Band()
[all …]
/dports/math/sundials/sundials-5.7.0/src/sunlinsol/band/
H A Dsunlinsol_band.c35 #define PIVOTS(S) ( BAND_CONTENT(S)->pivots )
109 content->pivots = NULL; in SUNLinSol_Band()
144 sunindextype *pivots; in SUNLinSolSetup_Band() local
158 pivots = NULL; in SUNLinSolSetup_Band()
160 pivots = PIVOTS(S); in SUNLinSolSetup_Band()
161 if ( (A_cols == NULL) || (pivots == NULL) ) { in SUNLinSolSetup_Band()
174 SM_LBAND_B(A), SM_SUBAND_B(A), pivots); in SUNLinSolSetup_Band()
186 sunindextype *pivots; in SUNLinSolSolve_Band() local
198 pivots = NULL; in SUNLinSolSolve_Band()
201 pivots = PIVOTS(S); in SUNLinSolSolve_Band()
[all …]
/dports/science/R-cran-kernlab/kernlab/R/
H A Dinchol.R45 Tk <- T <- pivots <- maxresiduals <- padded.veck <- matrix(0,0,0) functionVar
86 pivots.tmp <- matrix(0, dim(pivots)[1]+BLOCKSIZE)
87 pivots.tmp[1:(dim(pivots)[1] + BLOCKSIZE)<= dim(pivots)[1]] <- pivots
88 pivots <- pivots.tmp
114 padded.veck[1:counter] <- veck[pivots[1:counter]]
141 pivots[counter + 1] <- index
163 pivots <- pivots[1:counter]
167 …return(new("inchol",.Data=Tk,pivots=pivots,diagresidues = diag.residues, maxresiduals = maxresidua…

12345678910>>...54