HomeSort by relevance Sort by last modified time
    Searched refs:coeffRef (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/eigen/failtest/
block_on_const_type_actually_const_0.cpp 13 Block<CV_QUALIFIER Matrix3f>(m, 0, 0, 3, 3).coeffRef(0, 0) = 1.0f;
block_on_const_type_actually_const_1.cpp 13 Block<CV_QUALIFIER MatrixXf, 3, 3>(m, 0, 0).coeffRef(0, 0) = 1.0f;
diagonal_on_const_type_actually_const.cpp 13 Diagonal<CV_QUALIFIER MatrixXf>(m).coeffRef(0) = 1.0f;
map_on_const_type_actually_const_0.cpp 12 Map<CV_QUALIFIER MatrixXf>(ptr, 1, 1).coeffRef(0,0) = 1.0f;
map_on_const_type_actually_const_1.cpp 12 Map<CV_QUALIFIER Vector3f>(ptr).coeffRef(0) = 1.0f;
transpose_on_const_type_actually_const.cpp 13 Transpose<CV_QUALIFIER MatrixXf>(m).coeffRef(0, 0) = 1.0f;
cwiseunaryview_on_const_type_actually_const.cpp 13 CwiseUnaryView<internal::scalar_real_ref_op<double>,CV_QUALIFIER MatrixXf>(m).coeffRef(0, 0) = 1.0f;
selfadjointview_on_const_type_actually_const.cpp 13 SelfAdjointView<CV_QUALIFIER MatrixXf,Upper>(m).coeffRef(0, 0) = 1.0f;
triangularview_on_const_type_actually_const.cpp 13 TriangularView<CV_QUALIFIER MatrixXf,Upper>(m).coeffRef(0, 0) = 1.0f;
  /external/eigen/unsupported/test/
cxx11_tensor_custom_index.cpp 37 VERIFY_IS_EQUAL(tensor.coeffRef(coeffC), tensor.coeffRef(coeff));
55 VERIFY_IS_EQUAL(tensor.coeffRef(coeffC), tensor.coeffRef(coeff));
70 VERIFY_IS_EQUAL(tensor.coeffRef({1,2,4,1}), tensor.coeffRef(coeff));
86 VERIFY_IS_EQUAL(tensor.coeffRef(coeffC), tensor.coeffRef(coeff));
kronecker_product.cpp 92 SM_a.insert(0,0) = DM_a.coeffRef(0,0) = -0.4461540300782201;
93 SM_a.insert(0,1) = DM_a.coeffRef(0,1) = -0.8057364375283049;
94 SM_a.insert(0,2) = DM_a.coeffRef(0,2) = 0.3896572459516341;
95 SM_a.insert(1,0) = DM_a.coeffRef(1,0) = -0.9076572187376921;
96 SM_a.insert(1,1) = DM_a.coeffRef(1,1) = 0.6469156566545853;
97 SM_a.insert(1,2) = DM_a.coeffRef(1,2) = -0.3658010398782789;
101 SM_b.insert(0,0) = DM_b.coeffRef(0,0) = 0.9004440976767099;
102 SM_b.insert(0,1) = DM_b.coeffRef(0,1) = -0.2368830858139832;
103 SM_b.insert(1,0) = DM_b.coeffRef(1,0) = -0.9311078389941825;
104 SM_b.insert(1,1) = DM_b.coeffRef(1,1) = 0.5310335762980047
    [all...]
  /external/eigen/Eigen/src/LU/
InverseImpl.h 47 result.coeffRef(0,0) = Scalar(1) / matrixEval.coeff(0,0);
66 if(invertible) result.coeffRef(0,0) = typename ResultType::Scalar(1) / determinant;
80 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
81 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
82 result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet;
83 result.coeffRef(1,1) = matrix.coeff(0,0) * invdet;
147 result.coeffRef(1,0) = cofactor_3x3<MatrixType,0,1>(matrix) * invdet;
148 result.coeffRef(1,1) = cofactor_3x3<MatrixType,1,1>(matrix) * invdet;
149 result.coeffRef(1,2) = cofactor_3x3<MatrixType,2,1>(matrix) * invdet;
150 result.coeffRef(2,0) = cofactor_3x3<MatrixType,0,2>(matrix) * invdet
    [all...]
  /external/eigen/Eigen/src/Eigenvalues/
GeneralizedEigenSolver.h 324 m_alphas.coeffRef(i) = mS.diagonal().coeff(i);
325 m_betas.coeffRef(i) = mT.diagonal().coeff(i);
329 v.coeffRef(i) = Scalar(1.0);
331 if(abs(m_betas.coeffRef(i)) >= (std::numeric_limits<RealScalar>::min)())
334 const Scalar alpha = real(m_alphas.coeffRef(i));
335 const Scalar beta = m_betas.coeffRef(i);
350 v.coeffRef(j) = -v.segment(st,sz).transpose().cwiseProduct(beta*mS.block(j,st,1,sz) - alpha*mT.block(j,st,1,sz)).sum() / (beta*mS.coeffRef(j,j) - alpha*mT.coeffRef(j,j));
369 const RealScalar beta = m_betas.coeffRef(i) = m_betas.coeffRef(i+1) = a*b
    [all...]
EigenSolver.h 333 matD.coeffRef(i,i) = numext::real(m_eivalues.coeff(i));
365 matV.coeffRef(i,j) = ComplexScalar(m_eivec.coeff(i,j), m_eivec.coeff(i,j+1));
366 matV.coeffRef(i,j+1) = ComplexScalar(m_eivec.coeff(i,j), -m_eivec.coeff(i,j+1));
406 m_eivalues.coeffRef(i) = m_matT.coeff(i, i);
407 if(!(isfinite)(m_eivalues.coeffRef(i)))
432 m_eivalues.coeffRef(i) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, z);
433 m_eivalues.coeffRef(i+1) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, -z);
434 if(!((isfinite)(m_eivalues.coeffRef(i)) && (isfinite)(m_eivalues.coeffRef(i+1))))
488 m_matT.coeffRef(n,n) = Scalar(1)
    [all...]
RealSchur.h 294 Scalar* workspace = &m_workspaceVector.coeffRef(0);
315 m_matT.coeffRef(iu,iu) = m_matT.coeff(iu,iu) + exshift;
317 m_matT.coeffRef(iu, iu-1) = Scalar(0);
393 m_matT.coeffRef(iu,iu) += exshift;
394 m_matT.coeffRef(iu-1,iu-1) += exshift;
407 m_matT.coeffRef(iu, iu-1) = Scalar(0);
413 m_matT.coeffRef(iu-1, iu-2) = Scalar(0);
422 shiftInfo.coeffRef(0) = m_matT.coeff(iu,iu);
423 shiftInfo.coeffRef(1) = m_matT.coeff(iu-1,iu-1);
424 shiftInfo.coeffRef(2) = m_matT.coeff(iu,iu-1) * m_matT.coeff(iu-1,iu)
    [all...]
  /external/eigen/bench/
bench_sum.cpp 15 v.coeffRef(0) += v.sum() * SCALAR(1e-20);
  /external/eigen/Eigen/src/Core/
ArrayWrapper.h 58 using Base::coeffRef;
78 inline const Scalar& coeffRef(Index rowId, Index colId) const
80 return m_expression.coeffRef(rowId, colId);
84 inline const Scalar& coeffRef(Index index) const
86 return m_expression.coeffRef(index);
156 using Base::coeffRef;
176 inline const Scalar& coeffRef(Index rowId, Index colId) const
178 return m_expression.derived().coeffRef(rowId, colId);
182 inline const Scalar& coeffRef(Index index) const
184 return m_expression.coeffRef(index)
    [all...]
NestByValue.h 54 EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index row, Index col)
56 return m_expression.const_cast_derived().coeffRef(row, col);
64 EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index index)
66 return m_expression.const_cast_derived().coeffRef(index);
Diagonal.h 106 inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.coeffRef(rowOffset(), colOffset())); }
108 inline const Scalar* data() const { return &(m_matrix.coeffRef(rowOffset(), colOffset())); }
111 inline Scalar& coeffRef(Index row, Index)
114 return m_matrix.coeffRef(row+rowOffset(), row+colOffset());
118 inline const Scalar& coeffRef(Index row, Index) const
120 return m_matrix.coeffRef(row+rowOffset(), row+colOffset());
130 inline Scalar& coeffRef(Index idx)
133 return m_matrix.coeffRef(idx+rowOffset(), idx+colOffset());
137 inline const Scalar& coeffRef(Index idx) const
139 return m_matrix.coeffRef(idx+rowOffset(), idx+colOffset())
    [all...]
ForceAlignedAccess.h 54 EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index row, Index col)
56 return m_expression.const_cast_derived().coeffRef(row, col);
64 EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index index)
66 return m_expression.const_cast_derived().coeffRef(index);
Assign_MKL.h 95 const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : \
96 &(src.nestedExpression().coeffRef(0, outer)); \
97 EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
157 const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : \
158 &(src.lhs().coeffRef(0, outer)); \
159 EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
  /external/eigen/unsupported/Eigen/src/MatrixFunctions/
MatrixSquareRoot.h 39 sqrtT.coeffRef(i,j) = (T.coeff(i,j) - tmp) / (sqrtT.coeff(i,i) + sqrtT.coeff(j,j));
74 coeffMatrix.coeffRef(0,0) = A.coeff(0,0) + B.coeff(0,0);
75 coeffMatrix.coeffRef(1,1) = A.coeff(0,0) + B.coeff(1,1);
76 coeffMatrix.coeffRef(2,2) = A.coeff(1,1) + B.coeff(0,0);
77 coeffMatrix.coeffRef(3,3) = A.coeff(1,1) + B.coeff(1,1);
78 coeffMatrix.coeffRef(0,1) = B.coeff(1,0);
79 coeffMatrix.coeffRef(0,2) = A.coeff(0,1);
80 coeffMatrix.coeffRef(1,0) = B.coeff(0,1);
81 coeffMatrix.coeffRef(1,3) = A.coeff(0,1);
82 coeffMatrix.coeffRef(2,0) = A.coeff(1,0)
    [all...]
  /external/eigen/Eigen/src/QR/
ColPivHouseholderQR.h 505 m_colNormsDirect.coeffRef(k) = m_qr.col(k).norm();
506 m_colNormsUpdated.coeffRef(k) = m_colNormsDirect.coeffRef(k);
528 m_colsTranspositions.coeffRef(k) = biggest_col_index;
531 std::swap(m_colNormsUpdated.coeffRef(k), m_colNormsUpdated.coeffRef(biggest_col_index));
532 std::swap(m_colNormsDirect.coeffRef(k), m_colNormsDirect.coeffRef(biggest_col_index));
538 m_qr.col(k).tail(rows-k).makeHouseholderInPlace(m_hCoeffs.coeffRef(k), beta);
541 m_qr.coeffRef(k,k) = beta
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorRef.h 27 EIGEN_DEVICE_FUNC virtual Scalar& coeffRef(DenseIndex index) = 0;
66 EIGEN_DEVICE_FUNC virtual Scalar& coeffRef(DenseIndex /*index*/) {
88 EIGEN_DEVICE_FUNC virtual Scalar& coeffRef(DenseIndex index) {
89 return this->m_impl.coeffRef(index);
205 EIGEN_STRONG_INLINE Scalar& coeffRef(Index firstIndex, IndexTypes... otherIndices)
209 return coeffRef(indices);
252 EIGEN_STRONG_INLINE Scalar& coeffRef(Index i0, Index i1)
257 return coeffRef(indices);
260 EIGEN_STRONG_INLINE Scalar& coeffRef(Index i0, Index i1, Index i2)
266 return coeffRef(indices)
    [all...]
  /external/eigen/test/
incomplete_cholesky.cpp 50 m.coeffRef( i, i / 2 ) = 2;
51 m.coeffRef( i, i / 3 ) = 2;
52 m.coeffRef( i, i / 4 ) = 2;

Completed in 455 milliseconds

1 2 3 4 5 6