Home
last modified time | relevance | path

Searched refs:amd_flip (Results 1 – 1 of 1) sorted by relevance

/external/eigen/Eigen/src/OrderingMethods/
DAmd.h38 template<typename T> inline T amd_flip(const T& i) { return -i-2; } in amd_flip() function
39 template<typename T> inline T amd_unflip(const T& i) { return i<0 ? amd_flip(i) : i; } in amd_unflip()
41 …e T0, typename T1> inline void amd_mark(const T0* w, const T1& j) { return w[j] = amd_flip(w[j]); } in amd_mark()
168 Cp[i] = amd_flip (n); in minimum_degree_ordering()
201 Ci[p] = amd_flip (j); /* first entry is now amd_flip(j) */ in minimum_degree_ordering()
206 if((j = amd_flip (Ci[p++])) >= 0) /* found object j */ in minimum_degree_ordering()
255 Cp[e] = amd_flip (k); /* absorb e into k */ in minimum_degree_ordering()
308 Cp[e] = amd_flip (k); /* aggressive absorb. e->k */ in minimum_degree_ordering()
326 Cp[i] = amd_flip (k); /* absorb i into k */ in minimum_degree_ordering()
374 Cp[j] = amd_flip (i); /* absorb j into i */ in minimum_degree_ordering()
[all …]