Searched refs:permutation (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
H A Dtable_selection_model.js30 * @param {!Array.<number>} permutation The reordering permutation.
32 adjustToReordering: function(permutation) {
37 return permutation[oldIndex];
43 this.leadIndex = permutation[oldLeadIndex];
H A Dtable_single_selection_model.js30 * @param {!Array.<number>} permutation The reordering permutation.
32 adjustToReordering: function(permutation) {
34 this.leadIndex = permutation[this.leadIndex];
38 this.selectedIndex = permutation[oldSelectedIndex];
/external/chromium_org/chrome/browser/resources/file_manager/js/
H A Dfolder_shortcuts_data_model.js38 var permutation = this.calculatePermitation_(this.array_, list);
40 this.firePermutedEvent_(permutation);
69 var permutation = this.calculatePermitation_(this.array_, list);
71 this.firePermutedEvent_(permutation);
215 * Creates a permutation array for 'permuted' event, which is compatible with
220 * @return {Array.<number>} Created permutation array.
228 var permutation = []; variable
232 permutation[oldIndex] = -1;
240 permutation[oldIndex] = newIndex;
247 permutation[oldInde
[all...]
H A Dnavigation_list.js25 for (var i = 0; i < e.permutation.length; i++) {
26 newPermutation[i] = e.permutation[i];
29 newPermutation[i + e.permutation.length] = i + e.newLength;
37 for (var i = 0; i < e.permutation.length; i++) {
39 (e.permutation[i] !== -1) ? (e.permutation[i] + volumesLen) : -1;
44 permutedEvent.permutation = newPermutation;
/external/chromium_org/extensions/common/matcher/
H A Dsubstring_set_matcher_unittest.cc48 for (int permutation = 0; permutation < 2; ++permutation) {
50 if (permutation == 0) {
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/ui/
H A Dlist_selection_model.js306 * @param {!Array.<number>} permutation The reordering permutation.
308 adjustToReordering: function(permutation) {
314 return permutation[oldIndex];
321 this.leadIndex = permutation[oldLeadIndex];
323 this.anchorIndex = permutation[oldAnchorIndex];
H A Dlist_single_selection_model.js225 * @param {!Array.<number>} permutation The reordering permutation.
227 adjustToReordering: function(permutation) {
229 this.leadIndex = permutation[this.leadIndex];
233 this.selectedIndex = permutation[oldSelectedIndex];
H A Darray_data_model.js127 * This implementation runs sort after splice and creates permutation for
337 dispatchPermutedEvent_: function(permutation) {
339 e.permutation = permutation;
H A Dlist.js663 if (e.permutation[index] != -1) {
664 var newIndex = e.permutation[index];
673 if (e.permutation[index] != -1) {
674 newCachedItemHeights[e.permutation[index]] =
684 sm.adjustToReordering(e.permutation);
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dlist_selection_model.js316 * @param {!Array.<number>} permutation The reordering permutation.
318 adjustToReordering: function(permutation) {
325 return permutation[oldIndex];
332 this.leadIndex = permutation[oldLeadIndex];
334 this.anchorIndex = permutation[oldAnchorIndex];
H A Dlist_single_selection_model.js225 * @param {!Array.<number>} permutation The reordering permutation.
227 adjustToReordering: function(permutation) {
229 this.leadIndex = permutation[this.leadIndex];
233 this.selectedIndex = permutation[oldSelectedIndex];
H A Darray_data_model.js127 * This implementation runs sort after splice and creates permutation for
341 dispatchPermutedEvent_: function(permutation) {
343 e.permutation = permutation;
H A Dlist.js637 if (e.permutation[index] != -1) {
638 var newIndex = e.permutation[index];
647 if (e.permutation[index] != -1) {
648 newCachedItemHeights[e.permutation[index]] =
658 sm.adjustToReordering(e.permutation);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
H A Dlist_selection_model.js247 * @param {!Array.<number>} permutation The reordering permutation.
249 adjustToReordering: function(permutation) {
254 return permutation[oldIndex];
260 this.leadIndex = permutation[oldLeadIndex];
H A Dlist_single_selection_model.js197 * @param {!Array.<number>} permutation The reordering permutation.
199 adjustToReordering: function(permutation) {
201 this.leadIndex = permutation[this.leadIndex];
205 this.selectedIndex = permutation[oldSelectedIndex];
H A Darray_data_model.js112 * This implementation runs sort after splice and creates permutation for
293 dispatchPermutedEvent_: function(permutation) {
295 e.permutation = permutation;
H A Dlist.js569 if (e.permutation[index] != -1)
570 newCachedItems[e.permutation[index]] = this.cachedItems_[index];
580 sm.adjustToReordering(e.permutation);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
H A DImprovedNoise.java101 static final int p[] = new int[512], permutation[] = { 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, field in class:ImprovedNoise
118 ImprovedNoise.p[256 + i] = ImprovedNoise.p[i] = ImprovedNoise.permutation[i];
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A DLevenbergMarquardt.h103 PermutationMatrix<Dynamic,Dynamic> permutation; member in class:Eigen::LevenbergMarquardt
224 permutation = qrfac.colsPermutation();
251 if (wa2[permutation.indices()[j]] != 0.)
252 gnorm = (std::max)(gnorm, internal::abs( fjac.col(j).head(j+1).dot(qtf.head(j+1)/fnorm) / wa2[permutation.indices()[j]]));
453 permutation.setIdentity(n);
462 permutation = qrfac.colsPermutation();
498 if (wa2[permutation.indices()[j]] != 0.)
499 gnorm = (std::max)(gnorm, internal::abs( fjac.col(j).head(j+1).dot(qtf.head(j+1)/fnorm) / wa2[permutation.indices()[j]]));
512 internal::lmpar<Scalar>(fjac, permutation.indices(), diag, qtf, delta, par, wa1);
536 wa3 = fjac.topLeftCorner(n,n).template triangularView<Upper>() * (permutation
[all...]
/external/ceres-solver/internal/ceres/
H A Dcovariance_impl.cc656 SuiteSparse_long* permutation = NULL; local
677 &permutation,
680 CHECK_NOTNULL(permutation);
687 delete []permutation;
695 inverse_permutation[permutation[i]] = i;
742 delete []permutation;
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dlist_selection_model.js247 * @param {!Array.<number>} permutation The reordering permutation.
249 adjustToReordering: function(permutation) {
H A Dlist_single_selection_model.js197 * @param {!Array.<number>} permutation The reordering permutation.
199 adjustToReordering: function(permutation) {
/external/flac/libFLAC/ppc/as/
H A Dlpc_asm.s98 vsel v0,v1,v0,v2 ; v0: reversal permutation vector
101 lvsl v17,0,r5 ; v17: coefficient alignment permutation vector
102 vperm v17,v17,v17,v0 ; v17: reversal coefficient alignment permutation vector
105 lvsl v16,0,r11 ; v16: history alignment permutation vector
347 vsel v0,v1,v0,v2 ; v0: reversal permutation vector
350 lvsl v5,0,r5 ; v5: coefficient alignment permutation vector
351 vperm v5,v5,v5,v0 ; v5: reversal coefficient alignment permutation vector
354 lvsl v4,0,r11 ; v4: history alignment permutation vector
/external/flac/libFLAC/ppc/gas/
H A Dlpc_asm.s100 vsel v0,v1,v0,v2 # v0: reversal permutation vector
103 lvsl v17,0,r5 # v17: coefficient alignment permutation vector
104 vperm v17,v17,v17,v0 # v17: reversal coefficient alignment permutation vector
107 lvsl v16,0,r11 # v16: history alignment permutation vector
349 vsel v0,v1,v0,v2 # v0: reversal permutation vector
352 lvsl v5,0,r5 # v5: coefficient alignment permutation vector
353 vperm v5,v5,v5,v0 # v5: reversal coefficient alignment permutation vector
356 lvsl v4,0,r11 # v4: history alignment permutation vector
/external/eigen/Eigen/src/Core/
H A DPermutationMatrix.h25 * This class is the base class for all expressions representing a permutation matrix,
27 * The convention followed here is that if \f$ \sigma \f$ is a permutation, the corresponding permutation matrix
36 * operator* to multiply any kind of permutation object with any kind of matrix expression (MatrixBase)
78 /** Copies the other permutation into *this */
126 /** \returns a Matrix object initialized from this permutation matrix. Notice that it
137 /** \returns a reference to the stored array representing the permutation. */
147 /** Sets *this to be the identity permutation matrix */
154 /** Sets *this to be the identity permutation matrix of given size.
197 /** \returns the inverse permutation matri
510 operator *(const MatrixBase<Derived>& matrix, const PermutationBase<PermutationDerived> &permutation) argument
523 operator *(const PermutationBase<PermutationDerived> &permutation, const MatrixBase<Derived>& matrix) argument
[all...]

Completed in 4245 milliseconds

12