Home
last modified time | relevance | path

Searched refs:inverse (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/external/eigen/test/
Dinverse.cpp14 template<typename MatrixType> void inverse(const MatrixType& m) in inverse() function
30 m2 = m1.inverse(); in inverse()
31 VERIFY_IS_APPROX(m1, m2.inverse() ); in inverse()
33 VERIFY_IS_APPROX((Scalar(2)*m2).inverse(), m2.inverse()*Scalar(0.5)); in inverse()
35 VERIFY_IS_APPROX(identity, m1.inverse() * m1 ); in inverse()
36 VERIFY_IS_APPROX(identity, m1 * m1.inverse() ); in inverse()
38 VERIFY_IS_APPROX(m1, m1.inverse().inverse() ); in inverse()
41 VERIFY_IS_APPROX(MatrixType(m1.transpose().inverse()), MatrixType(m1.inverse().transpose())); in inverse()
77 …m5.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>().inverse(); in inverse()
78 …late topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>()), m2.inverse() ); in inverse()
[all …]
Dsparse_permutations.cpp93 VERIFY( is_sorted( res = mat*p.inverse() )); in sparse_permutations()
94 VERIFY_TRANSPOSITION_COUNT( ::eval(mat*p.inverse()), 0); in sparse_permutations()
95 res_d = mat*p.inverse(); in sparse_permutations()
99 VERIFY( is_sorted( res = p.inverse()*mat )); in sparse_permutations()
100 VERIFY_TRANSPOSITION_COUNT( ::eval(p.inverse()*mat), 0); in sparse_permutations()
101 res_d = p.inverse()*mat_d; in sparse_permutations()
104 VERIFY( is_sorted( (p * mat * p.inverse()).eval() )); in sparse_permutations()
106 VERIFY_TRANSPOSITION_COUNT( ::eval(p * mat * p.inverse()), 0); in sparse_permutations()
107 res_d = (p * mat_d) * p.inverse(); in sparse_permutations()
165 res_d = ((p * up_sym_d) * p.inverse()).eval().template triangularView<Upper>(); in sparse_permutations()
[all …]
Dpermutationmatrices.cpp55 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); in permutationmatrices()
56 …VERIFY_IS_APPROX(lv.asPermutation().inverse()*m_permuted*rv.asPermutation().inverse(), m_original); in permutationmatrices()
57 …Y_IS_APPROX(MapLeftPerm(lv.data(),lv.size()).inverse()*m_permuted*MapRightPerm(rv.data(),rv.size()… in permutationmatrices()
59 VERIFY((lp*lp.inverse()).toDenseMatrix().isIdentity()); in permutationmatrices()
60 VERIFY((lv.asPermutation()*lv.asPermutation().inverse()).toDenseMatrix().isIdentity()); in permutationmatrices()
61 …VERIFY((MapLeftPerm(lv.data(),lv.size())*MapLeftPerm(lv.data(),lv.size()).inverse()).toDenseMatrix… in permutationmatrices()
77 …VERIFY_EVALUATION_COUNT(m_permuted.noalias()= lp.inverse() * m_permuted, 1); // 1 temp to allocate… in permutationmatrices()
78 VERIFY_IS_APPROX(m_permuted, lp.inverse()*m_original); in permutationmatrices()
81 …VERIFY_EVALUATION_COUNT(m_permuted.noalias() = m_permuted * rp.inverse(), 1); // 1 temp to allocat… in permutationmatrices()
82 VERIFY_IS_APPROX(m_permuted, m_original*rp.inverse()); in permutationmatrices()
[all …]
/external/guava/guava/src/com/google/common/math/
DLinearTransformation.java157 public abstract LinearTransformation inverse(); in inverse() method in LinearTransformation
164 @LazyInit LinearTransformation inverse; field in LinearTransformation.RegularLinearTransformation
169 this.inverse = null; // to be lazily initialized in RegularLinearTransformation()
172 RegularLinearTransformation(double slope, double yIntercept, LinearTransformation inverse) { in RegularLinearTransformation() argument
175 this.inverse = inverse; in RegularLinearTransformation()
199 public LinearTransformation inverse() { in inverse() method in LinearTransformation.RegularLinearTransformation
200 LinearTransformation result = inverse; in inverse()
201 return (result == null) ? inverse = createInverse() : result; in inverse()
222 @LazyInit LinearTransformation inverse; field in LinearTransformation.VerticalLinearTransformation
226 this.inverse = null; // to be lazily initialized in VerticalLinearTransformation()
[all …]
/external/guava/android/guava/src/com/google/common/math/
DLinearTransformation.java157 public abstract LinearTransformation inverse(); in inverse() method in LinearTransformation
164 @LazyInit LinearTransformation inverse; field in LinearTransformation.RegularLinearTransformation
169 this.inverse = null; // to be lazily initialized in RegularLinearTransformation()
172 RegularLinearTransformation(double slope, double yIntercept, LinearTransformation inverse) { in RegularLinearTransformation() argument
175 this.inverse = inverse; in RegularLinearTransformation()
199 public LinearTransformation inverse() { in inverse() method in LinearTransformation.RegularLinearTransformation
200 LinearTransformation result = inverse; in inverse()
201 return (result == null) ? inverse = createInverse() : result; in inverse()
222 @LazyInit LinearTransformation inverse; field in LinearTransformation.VerticalLinearTransformation
226 this.inverse = null; // to be lazily initialized in VerticalLinearTransformation()
[all …]
/external/skqp/src/core/
DSkMatrix44.cpp501 SkMatrix44* inverse = (storage && storage != this) ? storage : &tmp; in invert() local
511 inverse->fMat[0][0] = SkDoubleToMScalar(invXScale); in invert()
512 inverse->fMat[0][1] = 0; in invert()
513 inverse->fMat[0][2] = 0; in invert()
514 inverse->fMat[0][3] = 0; in invert()
516 inverse->fMat[1][0] = 0; in invert()
517 inverse->fMat[1][1] = SkDoubleToMScalar(invYScale); in invert()
518 inverse->fMat[1][2] = 0; in invert()
519 inverse->fMat[1][3] = 0; in invert()
521 inverse->fMat[2][0] = 0; in invert()
[all …]
/external/skia/src/core/
DSkMatrix44.cpp510 SkMatrix44* inverse = (storage && storage != this) ? storage : &tmp; in invert() local
520 inverse->fMat[0][0] = SkDoubleToScalar(invXScale); in invert()
521 inverse->fMat[0][1] = 0; in invert()
522 inverse->fMat[0][2] = 0; in invert()
523 inverse->fMat[0][3] = 0; in invert()
525 inverse->fMat[1][0] = 0; in invert()
526 inverse->fMat[1][1] = SkDoubleToScalar(invYScale); in invert()
527 inverse->fMat[1][2] = 0; in invert()
528 inverse->fMat[1][3] = 0; in invert()
530 inverse->fMat[2][0] = 0; in invert()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularImmutableBiMap.java34 private ImmutableBiMap<V, K> inverse; field in RegularImmutableBiMap
38 this.inverse = (ImmutableBiMap<V, K>) this; in RegularImmutableBiMap()
49 this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this); in RegularImmutableBiMap()
52 RegularImmutableBiMap(ImmutableMap<K, V> delegate, ImmutableBiMap<V, K> inverse) { in RegularImmutableBiMap() argument
54 this.inverse = inverse; in RegularImmutableBiMap()
58 public ImmutableBiMap<V, K> inverse() { in inverse() method in RegularImmutableBiMap
59 return inverse; in inverse()
DSingletonImmutableBiMap.java39 transient SingletonImmutableBiMap<V, K> inverse; field in SingletonImmutableBiMap
47 private SingletonImmutableBiMap(K key, V value, SingletonImmutableBiMap<V, K> inverse) { in SingletonImmutableBiMap() argument
51 this.inverse = inverse; in SingletonImmutableBiMap()
55 public ImmutableBiMap<V, K> inverse() { in inverse() method in SingletonImmutableBiMap
56 ImmutableBiMap<V, K> result = inverse; in inverse()
58 return inverse = new SingletonImmutableBiMap<V, K>(singleValue, singleKey, this); in inverse()
/external/guava/guava/src/com/google/common/collect/
DAbstractBiMap.java54 @RetainedWith transient @Nullable AbstractBiMap<V, K> inverse; field in AbstractBiMap
64 inverse = forward; in AbstractBiMap()
90 checkState(inverse == null); in setDelegates()
95 inverse = makeInverse(backward); in setDelegates()
102 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument
103 this.inverse = inverse; in setInverse()
110 return inverse.containsKey(value); in containsValue()
135 inverse().remove(value); in putInBothMaps()
148 inverse.delegate.put(newValue, key); in updateInverseMap()
165 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
DSingletonImmutableBiMap.java45 this.inverse = null; in SingletonImmutableBiMap()
48 private SingletonImmutableBiMap(K singleKey, V singleValue, ImmutableBiMap<V, K> inverse) { in SingletonImmutableBiMap() argument
51 this.inverse = inverse; in SingletonImmutableBiMap()
94 private final transient @Nullable ImmutableBiMap<V, K> inverse; field in SingletonImmutableBiMap
98 public ImmutableBiMap<V, K> inverse() { in inverse() method in SingletonImmutableBiMap
99 if (inverse != null) { in inverse()
100 return inverse; in inverse()
/external/guava/android/guava-tests/test/com/google/common/math/
DStatsTesting.java382 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertDiagonalLinearTransformation()
383 assertThat(transformation.inverse().isVertical()).isFalse(); in assertDiagonalLinearTransformation()
386 assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); in assertDiagonalLinearTransformation()
387 assertThat(transformation.inverse().transform(y1 + yDelta)) in assertDiagonalLinearTransformation()
391 assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta); in assertDiagonalLinearTransformation()
392 assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse()); in assertDiagonalLinearTransformation()
393 assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation); in assertDiagonalLinearTransformation()
405 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertHorizontalLinearTransformation()
406 assertThat(transformation.inverse().isVertical()).isTrue(); in assertHorizontalLinearTransformation()
410 transformation.inverse().transform(0.0); in assertHorizontalLinearTransformation()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DAbstractBiMap.java53 @RetainedWith @NullableDecl transient AbstractBiMap<V, K> inverse; field in AbstractBiMap
63 inverse = forward; in AbstractBiMap()
89 checkState(inverse == null); in setDelegates()
94 inverse = makeInverse(backward); in setDelegates()
101 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument
102 this.inverse = inverse; in setInverse()
109 return inverse.containsKey(value); in containsValue()
134 inverse().remove(value); in putInBothMaps()
147 inverse.delegate.put(newValue, key); in updateInverseMap()
164 inverse.delegate.remove(oldValue); in removeFromInverseMap()
[all …]
DRegularImmutableBiMap.java37 private final transient RegularImmutableBiMap<V, K> inverse; field in RegularImmutableBiMap
46 this.inverse = (RegularImmutableBiMap<V, K>) this; in RegularImmutableBiMap()
59 this.inverse = in RegularImmutableBiMap()
68 RegularImmutableBiMap<V, K> inverse) { in RegularImmutableBiMap() argument
73 this.inverse = inverse; in RegularImmutableBiMap()
82 public ImmutableBiMap<V, K> inverse() { in inverse() method in RegularImmutableBiMap
83 return inverse; in inverse()
/external/ImageMagick/MagickCore/
Ddistort.c95 static void InvertAffineCoefficients(const double *coeff,double *inverse) in InvertAffineCoefficients() argument
101 inverse[0]=determinant*coeff[4]; in InvertAffineCoefficients()
102 inverse[1]=determinant*(-coeff[1]); in InvertAffineCoefficients()
103 inverse[2]=determinant*(coeff[1]*coeff[5]-coeff[2]*coeff[4]); in InvertAffineCoefficients()
104 inverse[3]=determinant*(-coeff[3]); in InvertAffineCoefficients()
105 inverse[4]=determinant*coeff[0]; in InvertAffineCoefficients()
106 inverse[5]=determinant*(coeff[2]*coeff[3]-coeff[0]*coeff[5]); in InvertAffineCoefficients()
110 double *inverse) in InvertPerspectiveCoefficients() argument
116 inverse[0]=determinant*(coeff[4]-coeff[7]*coeff[5]); in InvertPerspectiveCoefficients()
117 inverse[1]=determinant*(coeff[7]*coeff[2]-coeff[1]); in InvertPerspectiveCoefficients()
[all …]
/external/webp/src/dsp/
Dfilters.c33 uint8_t* dst, int length, int inverse) { in PredictLine_C() argument
35 if (inverse) { in PredictLine_C()
48 int inverse, uint8_t* out) { in DoHorizontalFilter_C() argument
55 preds = inverse ? out : in; in DoHorizontalFilter_C()
60 PredictLine_C(in + 1, preds, out + 1, width - 1, inverse); in DoHorizontalFilter_C()
70 PredictLine_C(in, preds - stride, out, 1, inverse); in DoHorizontalFilter_C()
71 PredictLine_C(in + 1, preds, out + 1, width - 1, inverse); in DoHorizontalFilter_C()
85 int inverse, uint8_t* out) { in DoVerticalFilter_C() argument
92 preds = inverse ? out : in; in DoVerticalFilter_C()
98 PredictLine_C(in + 1, preds, out + 1, width - 1, inverse); in DoVerticalFilter_C()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DStatsTesting.java411 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertDiagonalLinearTransformation()
412 assertThat(transformation.inverse().isVertical()).isFalse(); in assertDiagonalLinearTransformation()
415 assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); in assertDiagonalLinearTransformation()
416 assertThat(transformation.inverse().transform(y1 + yDelta)) in assertDiagonalLinearTransformation()
420 assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta); in assertDiagonalLinearTransformation()
421 assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse()); in assertDiagonalLinearTransformation()
422 assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation); in assertDiagonalLinearTransformation()
434 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertHorizontalLinearTransformation()
435 assertThat(transformation.inverse().isVertical()).isTrue(); in assertHorizontalLinearTransformation()
439 transformation.inverse().transform(0.0); in assertHorizontalLinearTransformation()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/hrss/
Dhrss_test.cc46 poly3 p, inverse, result; in TEST() local
48 memset(&inverse, 0, sizeof(inverse)); in TEST()
58 HRSS_poly3_invert(&inverse, &r); in TEST()
59 HRSS_poly3_mul(&result, &inverse, &r); in TEST()
69 HRSS_poly3_invert(&inverse, &p); in TEST()
71 Bytes(reinterpret_cast<const uint8_t*>(&inverse), sizeof(inverse))); in TEST()
76 HRSS_poly3_invert(&inverse, &p); in TEST()
78 Bytes(reinterpret_cast<const uint8_t*>(&inverse), sizeof(inverse))); in TEST()
87 HRSS_poly3_invert(&inverse, &r); in TEST()
88 HRSS_poly3_mul(&result, &inverse, &r); in TEST()
[all …]
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc46 poly3 p, inverse, result; in TEST() local
48 memset(&inverse, 0, sizeof(inverse)); in TEST()
58 HRSS_poly3_invert(&inverse, &r); in TEST()
59 HRSS_poly3_mul(&result, &inverse, &r); in TEST()
69 HRSS_poly3_invert(&inverse, &p); in TEST()
71 Bytes(reinterpret_cast<const uint8_t*>(&inverse), sizeof(inverse))); in TEST()
76 HRSS_poly3_invert(&inverse, &p); in TEST()
78 Bytes(reinterpret_cast<const uint8_t*>(&inverse), sizeof(inverse))); in TEST()
87 HRSS_poly3_invert(&inverse, &r); in TEST()
88 HRSS_poly3_mul(&result, &inverse, &r); in TEST()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java118 assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); in assertMoreInvariants()
161 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse(); in makePopulatedMap()
179 assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); in testEmptyBuilder()
186 assertMapEquals(map.inverse(), 1, "one"); in testSingletonBuilder()
205 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder()
234 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder_orderEntriesByValue()
275 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilderPutAll()
284 assertMapEquals(mapOne.inverse(), 1, "one", 2, "two"); in testBuilderReuse()
286 assertMapEquals(mapTwo.inverse(), 1, "one", 2, "two", 3, "three", 4, "four"); in testBuilderReuse()
341 assertMapEquals(ImmutableBiMap.of("one", 1).inverse(), 1, "one"); in testOf()
[all …]
/external/fmtlib/doc/bootstrap/
Dnavbar.less529 .navbar-inverse {
530 background-color: @navbar-inverse-bg;
531 border-color: @navbar-inverse-border;
534 color: @navbar-inverse-brand-color;
537 color: @navbar-inverse-brand-hover-color;
538 background-color: @navbar-inverse-brand-hover-bg;
543 color: @navbar-inverse-color;
548 color: @navbar-inverse-link-color;
552 color: @navbar-inverse-link-hover-color;
553 background-color: @navbar-inverse-link-hover-bg;
[all …]
/external/skqp/tests/
DMatrix44Test.cpp120 SkMatrix44 inverse; in test_translate() local
126 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in test_translate()
127 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kTranslate_Mask)); in test_translate()
146 SkMatrix44 inverse; in test_scale() local
152 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in test_scale()
153 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kScale_Mask)); in test_scale()
332 SkMatrix44 inverse; in test_invert() local
336 identity.invert(&inverse); in test_invert()
337 inverse.asRowMajord(inverseData); in test_invert()
346 translation.invert(&inverse); in test_invert()
[all …]
/external/skia/tests/
DMatrix44Test.cpp114 SkMatrix44 inverse; in test_translate() local
120 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in test_translate()
121 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kTranslate_Mask)); in test_translate()
140 SkMatrix44 inverse; in test_scale() local
146 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in test_scale()
147 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kScale_Mask)); in test_scale()
326 SkMatrix44 inverse; in test_invert() local
330 identity.invert(&inverse); in test_invert()
331 inverse.asRowMajord(inverseData); in test_invert()
340 translation.invert(&inverse); in test_invert()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java149 assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); in assertMoreInvariants()
192 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse(); in makePopulatedMap()
210 assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); in testEmptyBuilder()
217 assertMapEquals(map.inverse(), 1, "one"); in testSingletonBuilder()
236 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder()
265 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder_orderEntriesByValue()
306 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilderPutAll()
315 assertMapEquals(mapOne.inverse(), 1, "one", 2, "two"); in testBuilderReuse()
317 assertMapEquals(mapTwo.inverse(), 1, "one", 2, "two", 3, "three", 4, "four"); in testBuilderReuse()
372 assertMapEquals(ImmutableBiMap.of("one", 1).inverse(), 1, "one"); in testOf()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DBiMapClearTester.java36 BiMap<V, K> inv = getMap().inverse(); in testClearClearsInverse()
44 BiMap<V, K> inv = getMap().inverse(); in testKeySetClearClearsInverse()
52 BiMap<V, K> inv = getMap().inverse(); in testValuesClearClearsInverse()
60 BiMap<V, K> inv = getMap().inverse(); in testClearInverseClears()
68 BiMap<V, K> inv = getMap().inverse(); in testClearInverseKeySetClears()
76 BiMap<V, K> inv = getMap().inverse(); in testClearInverseValuesClears()

12345678910>>...33