Searched refs:conj (Results 1 - 25 of 53) sorted by relevance

123

/external/libcxx/test/numerics/complex.number/cmplx.over/
H A Dconj.pass.cpp12 // template<class T> complex<T> conj(const complex<T>&);
13 // complex<long double> conj(long double);
14 // complex<double> conj(double);
15 // template<Integral T> complex<double> conj(T);
16 // complex<float> conj(float);
28 static_assert((std::is_same<decltype(std::conj(x)), std::complex<double> >::value), "");
29 assert(std::conj(x) == conj(std::complex<double>(x, 0)));
36 static_assert((std::is_same<decltype(std::conj(x)), std::complex<T> >::value), "");
37 assert(std::conj(
[all...]
H A DAndroid.mk19 test_name := numerics/complex.number/cmplx.over/conj
20 test_src := conj.pass.cpp
/external/eigen/blas/
H A DRank2Update.h15 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu'
27 numext::conj(alpha) * numext::conj(u[i]) * OtherMap(v+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1))
28 + alpha * numext::conj(v[i]) * OtherMap(u+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1));
33 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu'
46 numext::conj(alpha) * numext::conj(u[i]) * OtherMap(v+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1))
47 + alpha * numext::conj(v[i]) * OtherMap(u+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1));
/external/eigen/Eigen/src/Core/products/
H A DSelfadjointRank2Update.h17 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu'
33 (numext::conj(alpha) * numext::conj(u.coeff(i))) * v.tail(size-i)
34 + (alpha * numext::conj(v.coeff(i))) * u.tail(size-i);
47 (numext::conj(alpha) * numext::conj(u.coeff(i))) * v.head(i+1)
48 + (alpha * numext::conj(v.coeff(i))) * u.head(i+1);
78 * numext::conj(VBlasTraits::extractScalarFactor(v.derived()));
80 actualAlpha = numext::conj(actualAlpha);
H A DSelfadjointMatrixMatrix.h33 blockA[count++] = numext::conj(lhs(k, i+w)); // transposed
44 blockA[count++] = numext::conj(lhs(k, i+w)); // transposed
71 blockA[count++] = numext::conj(lhs(k, i)); // transposed
110 blockB[count+0] = numext::conj(rhs(j2+0,k));
111 blockB[count+1] = numext::conj(rhs(j2+1,k));
114 blockB[count+2] = numext::conj(rhs(j2+2,k));
115 blockB[count+3] = numext::conj(rhs(j2+3,k));
131 blockB[count+w] = numext::conj(rhs(j2+w,k));
154 blockB[count+0] = numext::conj(rhs(j2+0,k));
155 blockB[count+1] = numext::conj(rh
[all...]
H A DTriangularSolverMatrix.h75 conj_if<Conjugate> conj; local
121 Scalar a = (Mode & UnitDiag) ? Scalar(1) : Scalar(1)/conj(tri(i,i));
130 b += conj(l[i3]) * r[i3];
141 r[i3] -= b * conj(l[i3]);
224 conj_if<Conjugate> conj; local
300 Scalar b = conj(rhs(IsLower ? j+1+k3 : absolute_j2+k3,j));
305 Scalar b = (Mode & UnitDiag) ? Scalar(1) : Scalar(1)/conj(rhs(j,j));
H A DGeneralMatrixMatrix_MKL.h64 using std::conj; \
H A DSelfadjointMatrixVector.h62 Scalar cjAlpha = ConjugateRhs ? numext::conj(alpha) : alpha;
117 t2 += numext::conj(A0[i]) * rhs[i];
118 t3 += numext::conj(A1[i]) * rhs[i];
/external/eigen/Eigen/src/Geometry/
H A DOrthoMethods.h36 numext::conj(lhs.coeff(1) * rhs.coeff(2) - lhs.coeff(2) * rhs.coeff(1)),
37 numext::conj(lhs.coeff(2) * rhs.coeff(0) - lhs.coeff(0) * rhs.coeff(2)),
38 numext::conj(lhs.coeff(0) * rhs.coeff(1) - lhs.coeff(1) * rhs.coeff(0))
52 numext::conj(lhs.coeff(1) * rhs.coeff(2) - lhs.coeff(2) * rhs.coeff(1)),
53 numext::conj(lhs.coeff(2) * rhs.coeff(0) - lhs.coeff(0) * rhs.coeff(2)),
54 numext::conj(lhs.coeff(0) * rhs.coeff(1) - lhs.coeff(1) * rhs.coeff(0)),
144 perp.coeffRef(maxi) = -numext::conj(src.coeff(sndi)) * invnm;
145 perp.coeffRef(sndi) = numext::conj(src.coeff(maxi)) * invnm;
171 perp.coeffRef(0) = -numext::conj(src.y())*invnm;
172 perp.coeffRef(1) = numext::conj(sr
[all...]
/external/eigen/test/
H A Djacobi.cpp43 VERIFY_IS_APPROX(b.row(p), c * a.row(p) + numext::conj(s) * a.row(q));
44 VERIFY_IS_APPROX(b.row(q), -s * a.row(p) + numext::conj(c) * a.row(q));
57 VERIFY_IS_APPROX(b.col(q), numext::conj(s) * a.col(p) + numext::conj(c) * a.col(q));
H A Dadjoint.cpp19 VERIFY(test_isApproxWithRef((s1 * v1 + s2 * v2).dot(v3), numext::conj(s1) * v1.dot(v3) + numext::conj(s2) * v2.dot(v3), 0));
34 VERIFY(test_isApproxWithRef((s1 * v1 + s2 * v2).dot(v3), numext::conj(s1) * v1.dot(v3) + numext::conj(s2) * v2.dot(v3), ref));
89 VERIFY_IS_APPROX((s1 * m1).adjoint(), numext::conj(s1) * m1.adjoint());
92 VERIFY_IS_APPROX(numext::conj(v1.dot(v2)), v2.dot(v1));
102 VERIFY_IS_APPROX(m1.conjugate()(r,c), numext::conj(m1(r,c)));
103 VERIFY_IS_APPROX(m1.adjoint()(c,r), numext::conj(m1(r,c)));
H A Dproduct_selfadjoint.cpp47 VERIFY_IS_APPROX(m2, (m1 + (s3*(-v1)*(s2*v2).adjoint()+numext::conj(s3)*(s2*v2)*(-v1).adjoint())).template triangularView<Upper>().toDenseMatrix());
51 VERIFY_IS_APPROX(m2, (m1 + s1*(-s2*r1.adjoint())*(r2.adjoint()*s3).adjoint() + numext::conj(s1)*(r2.adjoint()*s3) * (-s2*r1.adjoint()).adjoint()).template triangularView<Upper>().toDenseMatrix());
H A Ddeterminant.cpp42 VERIFY_IS_APPROX(numext::conj(m2.determinant()), m2.adjoint().determinant());
H A Dexceptions.cpp74 ScalarWithExceptions conj(const ScalarWithExceptions &x) { return x; } function
/external/libcxx/test/numerics/complex.number/complex.value.ops/
H A Dconj.pass.cpp14 // conj(const complex<T>& x);
23 assert(conj(z) == x);
H A DAndroid.mk23 test_name := numerics/complex.number/complex.value.ops/conj
24 test_src := conj.pass.cpp
/external/eigen/Eigen/src/Jacobi/
H A DJacobi.h53 using numext::conj;
54 return JacobiRotation(m_c * other.m_c - conj(m_s) * other.m_s,
55 conj(m_c * conj(other.m_s) + conj(m_s) * conj(other.m_c)));
59 JacobiRotation transpose() const { using numext::conj; return JacobiRotation(m_c, -conj(m_s)); }
62 JacobiRotation adjoint() const { using numext::conj; return JacobiRotation(conj(m_
[all...]
/external/eigen/Eigen/src/SparseCholesky/
H A DSimplicialCholesky_impl.h134 y[i] += numext::conj(it.value()); /* scatter A(i,k) into Y (sum duplicates) */
166 y[Li[p]] -= numext::conj(Lx[p]) * yi;
167 d -= numext::real(l_ki * numext::conj(yi));
/external/eigen/Eigen/src/Householder/
H A DHouseholder.h71 using numext::conj;
91 tau = conj((beta - c0) / beta);
/external/eigen/Eigen/src/SparseCore/
H A DSparseDot.h33 res += numext::conj(i.value()) * other.coeff(i.index());
67 res += numext::conj(i.value()) * j.value();
/external/clang/test/CodeGen/
H A Dcomplex-builtints.c4 /* Test for builtin conj, creal, cimag. */
8 extern double _Complex conj (double _Complex);
/external/eigen/Eigen/src/Core/
H A DSelfAdjointView.h125 * \f$ this = this + \alpha u v^* + conj(\alpha) v u^* \f$
219 dst.coeffRef(col, row) = numext::conj(dst.coeffRef(row, col) = src.coeff(row, col));
244 dst.coeffRef(col, row) = numext::conj(dst.coeffRef(row, col) = src.coeff(row, col));
265 dst.coeffRef(j,i) = numext::conj(dst.coeff(i,j));
283 dst.coeffRef(j,i) = numext::conj(dst.coeff(i,j));
H A DGlobalFunctions.h42 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(conj,scalar_conjugate_op)
/external/eigen/unsupported/Eigen/src/FFT/
H A Dei_kissfft_impl.h324 Complex fpnk = conj(dst[ncfft-k]);
329 dst[ncfft-k] = conj(f1k -tw)*Scalar(.5);
352 m_tmpBuf1[nfft-k] = conj(m_tmpBuf1[k]);
365 Complex fnkc = conj(src[ncfft-k]);
368 Complex fok = tmp * conj(rtw[k-1]);
370 m_tmpBuf1[ncfft-k] = conj(fek - fok);
/external/eigen/Eigen/src/Eigenvalues/
H A DTridiagonalization.h348 using numext::conj;
368 * (conj(h) * matA.col(i).tail(remainingSize)));
370 hCoeffs.tail(n-i-1) += (conj(h)*Scalar(-0.5)*(hCoeffs.tail(remainingSize).dot(matA.col(i).tail(remainingSize)))) * matA.col(i).tail(n-i-1);

Completed in 5177 milliseconds

123