/external/eigen/test/ |
D | inverse.cpp | 60 …m5.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>().inverse(); in inverse_for_fixed_size() 61 …late topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>()), m2.inverse() ); in inverse_for_fixed_size() 65 template<typename MatrixType> void inverse(const MatrixType& m) in inverse() function 68 Inverse.h in inverse() 79 m2 = m1.inverse(); in inverse() 80 VERIFY_IS_APPROX(m1, m2.inverse() ); in inverse() 82 VERIFY_IS_APPROX((Scalar(2)*m2).inverse(), m2.inverse()*Scalar(0.5)); in inverse() 84 VERIFY_IS_APPROX(identity, m1.inverse() * m1 ); in inverse() 85 VERIFY_IS_APPROX(identity, m1 * m1.inverse() ); in inverse() 87 VERIFY_IS_APPROX(m1, m1.inverse().inverse() ); in inverse() [all …]
|
D | permutationmatrices.cpp | 59 lpi = lp.inverse(); in permutationmatrices() 60 VERIFY_IS_APPROX(lpi*m_permuted,lp.inverse()*m_permuted); in permutationmatrices() 62 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); in permutationmatrices() 63 …VERIFY_IS_APPROX(lv.asPermutation().inverse()*m_permuted*rv.asPermutation().inverse(), m_original); in permutationmatrices() 64 …Y_IS_APPROX(MapLeftPerm(lv.data(),lv.size()).inverse()*m_permuted*MapRightPerm(rv.data(),rv.size()… in permutationmatrices() 66 VERIFY((lp*lp.inverse()).toDenseMatrix().isIdentity()); in permutationmatrices() 67 VERIFY((lv.asPermutation()*lv.asPermutation().inverse()).toDenseMatrix().isIdentity()); in permutationmatrices() 68 …VERIFY((MapLeftPerm(lv.data(),lv.size())*MapLeftPerm(lv.data(),lv.size()).inverse()).toDenseMatrix… in permutationmatrices() 84 …VERIFY_EVALUATION_COUNT(m_permuted.noalias()= lp.inverse() * m_permuted, 1); // 1 temp to allocate… in permutationmatrices() 85 VERIFY_IS_APPROX(m_permuted, lp.inverse()*m_original); in permutationmatrices() [all …]
|
D | sparse_permutations.cpp | 93 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 …]
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_inverse.inl | 9 tmat2x2<T, P> const Inv(inverse(tmat2x2<T, P>(m))); 20 tmat3x3<T, P> const Inv(inverse(tmat3x3<T, P>(m))); 34 tmat2x2<T, P> Inverse( local 40 return Inverse; 51 tmat3x3<T, P> Inverse(uninitialize); local 52 Inverse[0][0] = + (m[1][1] * m[2][2] - m[2][1] * m[1][2]); 53 Inverse[0][1] = - (m[1][0] * m[2][2] - m[2][0] * m[1][2]); 54 Inverse[0][2] = + (m[1][0] * m[2][1] - m[2][0] * m[1][1]); 55 Inverse[1][0] = - (m[0][1] * m[2][2] - m[2][1] * m[0][2]); 56 Inverse[1][1] = + (m[0][0] * m[2][2] - m[2][0] * m[0][2]); [all …]
|
/external/eigen/Eigen/src/Core/ |
D | Inverse.h | 20 struct traits<Inverse<XprType> > 32 /** \class Inverse 34 * \brief Expression of the inverse of another expression 36 * \tparam XprType the type of the expression we are taking the inverse 38 * This class represents an abstract expression of A.inverse() 43 class Inverse : public InverseImpl<XprType,typename internal::traits<XprType>::StorageKind> 50 typedef typename internal::ref_selector<Inverse>::type Nested; 53 explicit EIGEN_DEVICE_FUNC Inverse(const XprType &xpr) 69 : public internal::generic_xpr_base<Inverse<XprType> >::type 72 typedef typename internal::generic_xpr_base<Inverse<XprType> >::type Base; [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | AbstractBiMap.java | 62 transient AbstractBiMap<V, K> inverse; field in AbstractBiMap 69 /** Private constructor for inverse bimap. */ 72 inverse = forward; in AbstractBiMap() 100 checkState(inverse == null); in setDelegates() 105 inverse = makeInverse(backward); in setDelegates() 109 return new Inverse<>(backward, this); in makeInverse() 112 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument 113 this.inverse = inverse; in setInverse() 120 return inverse.containsKey(value); in containsValue() 148 inverse().remove(value); in putInBothMaps() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractBiMap.java | 63 transient AbstractBiMap<V, K> inverse; field in AbstractBiMap 70 /** Private constructor for inverse bimap. */ 73 inverse = forward; in AbstractBiMap() 101 checkState(inverse == null); in setDelegates() 106 inverse = makeInverse(backward); in setDelegates() 110 return new Inverse<>(backward, this); in makeInverse() 113 void setInverse(AbstractBiMap<V, K> inverse) { in setInverse() argument 114 this.inverse = inverse; in setInverse() 121 return inverse.containsKey(value); in containsValue() 149 inverse().remove(value); in putInBothMaps() [all …]
|
/external/guava/guava/src/com/google/common/math/ |
D | LinearTransformation.java | 104 * (The inverse of this will be a horizontal transformation.) 113 * (The inverse of this will be a vertical transformation.) 124 * #transform} methods all return {@link Double#NaN}. The {@link #inverse} method returns the same 151 * Returns the inverse linear transformation. The inverse of a horizontal transformation is a 152 * vertical transformation, and vice versa. The inverse of the {@link #forNaN} transformation is 153 * itself. In all other cases, the inverse is a transformation such that applying both the 154 * original transformation and its inverse to a value gives you the original value give-or-take 159 public abstract LinearTransformation inverse(); in inverse() method in LinearTransformation 166 @CheckForNull @LazyInit LinearTransformation inverse; field in LinearTransformation.RegularLinearTransformation 171 this.inverse = null; // to be lazily initialized in RegularLinearTransformation() [all …]
|
/external/guava/android/guava/src/com/google/common/math/ |
D | LinearTransformation.java | 104 * (The inverse of this will be a horizontal transformation.) 113 * (The inverse of this will be a vertical transformation.) 124 * #transform} methods all return {@link Double#NaN}. The {@link #inverse} method returns the same 151 * Returns the inverse linear transformation. The inverse of a horizontal transformation is a 152 * vertical transformation, and vice versa. The inverse of the {@link #forNaN} transformation is 153 * itself. In all other cases, the inverse is a transformation such that applying both the 154 * original transformation and its inverse to a value gives you the original value give-or-take 159 public abstract LinearTransformation inverse(); in inverse() method in LinearTransformation 166 @CheckForNull @LazyInit LinearTransformation inverse; field in LinearTransformation.RegularLinearTransformation 171 this.inverse = null; // to be lazily initialized in RegularLinearTransformation() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | GraphTraits.h | 12 // This file also defines the marker class Inverse that is used to iterate over 13 // graphs in a graph defined, inverse ordering... 81 // Inverse - This class is used as a little marker class to tell the graph 82 // iterator to iterate over the graph in a graph defined "Inverse" ordering. 83 // Not all graphs define an inverse ordering, and if they do, it depends on 91 // df_iterator<Inverse<Method*>> I = idf_begin(M), E = idf_end(M); 95 struct Inverse { struct 98 inline Inverse(const GraphType &G) : Graph(G) {} in Inverse() argument 101 // Provide a partial specialization of GraphTraits so that the inverse of an 102 // inverse falls back to the original graph. [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/ |
D | GraphTraits.h | 14 /// This file also defines the marker class Inverse that is used to iterate over 15 /// graphs in a graph defined, inverse ordering... 83 // Inverse - This class is used as a little marker class to tell the graph 84 // iterator to iterate over the graph in a graph defined "Inverse" ordering. 85 // Not all graphs define an inverse ordering, and if they do, it depends on 93 // df_iterator<Inverse<Method*>> I = idf_begin(M), E = idf_end(M); 97 struct Inverse { struct 100 inline Inverse(const GraphType &G) : Graph(G) {} in Inverse() function 103 // Provide a partial specialization of GraphTraits so that the inverse of an 104 // inverse falls back to the original graph. [all …]
|
/external/llvm/include/llvm/ADT/ |
D | GraphTraits.h | 13 // This file also defines the marker class Inverse that is used to iterate over 14 // graphs in a graph defined, inverse ordering... 64 // Inverse - This class is used as a little marker class to tell the graph 65 // iterator to iterate over the graph in a graph defined "Inverse" ordering. 66 // Not all graphs define an inverse ordering, and if they do, it depends on 74 // df_iterator<Inverse<Method*> > I = idf_begin(M), E = idf_end(M); 78 struct Inverse { struct 81 inline Inverse(const GraphType &G) : Graph(G) {} in Inverse() function 84 // Provide a partial specialization of GraphTraits so that the inverse of an 85 // inverse falls back to the original graph. [all …]
|
/external/eigen/Eigen/src/LU/ |
D | InverseImpl.h | 28 result = matrix.partialPivLu().inverse(); in run() 106 ResultType& inverse, 117 compute_inverse_size2_helper(matrix, invdet, inverse); 185 ResultType& inverse, 199 compute_inverse_size3_helper(matrix, invdet, cofactors_col0, inverse); 273 ResultType& inverse, 281 if(invertible && extract_data(matrix) != extract_data(inverse)) { 282 compute_inverse<MatrixType, ResultType>::run(matrix, inverse); 286 compute_inverse<MatrixType, ResultType>::run(matrix_t, inverse); 299 // Specialization for "dense = dense_xpr.inverse()" [all …]
|
/external/ktfmt/website/ |
D | all.css | 103 .navbar-inverse .navbar-inner { 109 .navbar-inverse.home .navbar-inner { 113 .navbar-inverse .btn-navbar { 118 .navbar-inverse .btn-navbar:hover, 119 .navbar-inverse .btn-navbar:focus, 120 .navbar-inverse .btn-navbar:active, 121 .navbar-inverse .btn-navbar.active, 122 .navbar-inverse .btn-navbar.disabled, 123 .navbar-inverse .btn-navbar[disabled] { 187 .navbar-inverse .nav-collapse .nav>li>a { [all …]
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | inverse_registrations.py | 15 """Registrations for LinearOperator.inverse.""" 82 # We take the inverse of each block on the diagonal. 85 operator.inverse() for operator in block_diag_operator.operators], 95 """Inverse of LinearOperatorBlockLowerTriangular. 104 where `A` is n-by-n, `B` is m-by-n, `C` is m-by-m, and `'` denotes inverse. 125 `LinearOperatorBlockLowerTriangular`, the inverse of 131 [[block_lower_triangular_operator.operators[0][0].inverse()]], 140 # Calculate the inverse of the `LinearOperatorBlockLowerTriangular` 145 block_lower_triangular_operator.operators[:-1]).inverse()) 148 bottom_right_inverse = bottom_row[-1].inverse() [all …]
|
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/mutation/combinator/ |
D | PostComposedMutator.java | 36 private final Function<R, T> inverse; field in PostComposedMutator 38 PostComposedMutator(SerializingMutator<T> mutator, Function<T, R> map, Function<R, T> inverse) { in PostComposedMutator() argument 41 this.inverse = requireNonNull(inverse); in PostComposedMutator() 46 return map.apply(mutator.detach(inverse.apply(value))); in detach() 56 return map.apply(mutator.mutate(inverse.apply(value), prng)); in mutate() 61 return map.apply(mutator.crossOver(inverse.apply(value), inverse.apply(otherValue), prng)); in crossOver() 71 mutator.write(inverse.apply(value), out); in write() 81 mutator.writeExclusive(inverse.apply(value), out); in writeExclusive()
|
/external/skia/resources/sksl/intrinsics/ |
D | Inverse.sksl | 10 // This test would require some slack to pass on real GPUs, since `inverse` on GPU hardware 12 return (inverse(matrix2x2) == inv2x2 && 13 inverse(float3x3(1, 2, 3, 0, 1, 4, 5, 6, 0)) == inv3x3 && 14 inverse(float4x4(1, 0, 0, 1, 0, 2, 1, 2, 2, 1, 0, 1, 2, 0, 1, 4)) == inv4x4 && 15 inverse(float3x3(1, 2, 3, 4, 5, 6, 7, 8, 9)) != inv3x3 && 16 inverse(matrix2x2 + Zero) == inv2x2 && 17 inverse(float3x3(1, 2, 3, 0, 1, 4, 5, 6, 0) + Zero) == inv3x3 && 18 inverse(float4x4(1, 0, 0, 1, 0, 2, 1, 2, 2, 1, 0, 1, 2, 0, 1, 4) + Zero) == inv4x4)
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | StatsTesting.java | 404 * {@code transformation} and its inverse). Since the transformation is expected to be diagonal, 413 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertDiagonalLinearTransformation() 414 assertThat(transformation.inverse().isVertical()).isFalse(); in assertDiagonalLinearTransformation() 417 assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); in assertDiagonalLinearTransformation() 418 assertThat(transformation.inverse().transform(y1 + yDelta)) in assertDiagonalLinearTransformation() 422 assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta); in assertDiagonalLinearTransformation() 423 assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse()); in assertDiagonalLinearTransformation() 424 assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation); in assertDiagonalLinearTransformation() 431 * its inverse throws as expected. 436 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertHorizontalLinearTransformation() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | StatsTesting.java | 374 * {@code transformation} and its inverse). Since the transformation is expected to be diagonal, 383 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertDiagonalLinearTransformation() 384 assertThat(transformation.inverse().isVertical()).isFalse(); in assertDiagonalLinearTransformation() 387 assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); in assertDiagonalLinearTransformation() 388 assertThat(transformation.inverse().transform(y1 + yDelta)) in assertDiagonalLinearTransformation() 392 assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta); in assertDiagonalLinearTransformation() 393 assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse()); in assertDiagonalLinearTransformation() 394 assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation); in assertDiagonalLinearTransformation() 401 * its inverse throws as expected. 406 assertThat(transformation.inverse().isHorizontal()).isFalse(); in assertHorizontalLinearTransformation() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularImmutableBiMap.java | 35 private ImmutableBiMap<V, K> inverse; field in RegularImmutableBiMap 40 this.inverse = (ImmutableBiMap<V, K>) this; in RegularImmutableBiMap() 51 this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this); in RegularImmutableBiMap() 54 RegularImmutableBiMap(ImmutableMap<K, V> delegate, ImmutableBiMap<V, K> inverse) { in RegularImmutableBiMap() argument 56 this.inverse = inverse; in RegularImmutableBiMap() 60 public ImmutableBiMap<V, K> inverse() { in inverse() method in RegularImmutableBiMap 61 return inverse; in inverse()
|
D | SingletonImmutableBiMap.java | 41 @Nullable transient SingletonImmutableBiMap<V, K> inverse; field in SingletonImmutableBiMap 49 private SingletonImmutableBiMap(K key, V value, SingletonImmutableBiMap<V, K> inverse) { in SingletonImmutableBiMap() argument 53 this.inverse = inverse; in SingletonImmutableBiMap() 57 public ImmutableBiMap<V, K> inverse() { in inverse() method in SingletonImmutableBiMap 58 ImmutableBiMap<V, K> result = inverse; in inverse() 60 return inverse = new SingletonImmutableBiMap<V, K>(singleValue, singleKey, this); in inverse()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapInverseTester.java | 35 * Tests for the {@code inverse} view of a BiMap. 37 * <p>This assumes that {@code bimap.inverse().inverse() == bimap}, which is not technically 48 assertSame(getMap(), getMap().inverse().inverse()); in testInverseSame() 57 assertSame(copy.backward, copy.forward.inverse()); in testInverseSerialization() 58 assertSame(copy.forward, copy.backward.inverse()); in testInverseSerialization() 67 this.backward = original.inverse(); in BiMapPair() 74 * Returns {@link Method} instances for the tests that assume that the inverse will be the same
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapInverseTester.java | 35 * Tests for the {@code inverse} view of a BiMap. 37 * <p>This assumes that {@code bimap.inverse().inverse() == bimap}, which is not technically 48 assertSame(getMap(), getMap().inverse().inverse()); in testInverseSame() 57 assertSame(copy.backward, copy.forward.inverse()); in testInverseSerialization() 58 assertSame(copy.forward, copy.backward.inverse()); in testInverseSerialization() 67 this.backward = original.inverse(); in BiMapPair() 74 * Returns {@link Method} instances for the tests that assume that the inverse will be the same
|
/external/libhevc/common/ |
D | ihevc_iquant_itrans_recon.c | 24 * Contains function definitions for inverse quantization, inverse 57 * This function performs inverse quantization, inverse transform 61 * Performs inverse quantization , inverse transform type 1 and adds 68 * Temporary 4x4 buffer for storing inverse 123 /* Inverse Quant and Inverse Transform and Reconstruction */ in ihevc_iquant_itrans_recon_4x4_ttype1() 131 /* Inverse Quantization constants */ in ihevc_iquant_itrans_recon_4x4_ttype1() 143 /* Inverse Transform 1st stage */ in ihevc_iquant_itrans_recon_4x4_ttype1() 225 /* Inverse Transform 2nd stage */ in ihevc_iquant_itrans_recon_4x4_ttype1() 265 * This function performs inverse quantization, inverse transform and 269 * Performs inverse quantization , inverse transform and adds the [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math3/linear/ |
D | DecompositionSolver.java | 71 * href="http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse">pseudo-inverse</a> of 74 * <p><em>This is equal to the inverse of the decomposed matrix, if such an inverse exists.</em> 76 * <p>If no such inverse exists, then the result has properties that resemble that of an 77 * inverse. 80 * \( A x = b \) may have no solutions, or many. If it has no solutions, then the pseudo-inverse 85 * <p>Note however that some decompositions cannot compute a pseudo-inverse for all matrices. 91 * @return pseudo-inverse matrix (which is the inverse, if it exists), if the decomposition can 94 * can not compute a pseudo-inverse
|