HomeSort by relevance Sort by last modified time
    Searched defs:diagonal (Results 1 - 17 of 17) sorted by null

  /external/eigen/test/
diagonal.cpp 12 template<typename MatrixType> void diagonal(const MatrixType& m) function
25 //check diagonal()
26 VERIFY_IS_APPROX(m1.diagonal(), m1.transpose().diagonal());
27 m2.diagonal() = 2 * m1.diagonal();
28 m2.diagonal()[0] *= 3;
37 // check sub/super diagonal
40 VERIFY(m1.template diagonal<N1>().RowsAtCompileTime == m1.diagonal(N1).size())
    [all...]
  /external/eigen/Eigen/src/Core/
Diagonal.h 16 /** \class Diagonal
19 * \brief Expression of a diagonal/subdiagonal/superdiagonal in a matrix
21 * \param MatrixType the type of the object in which we are taking a sub/main/super diagonal
22 * \param DiagIndex the index of the sub/super diagonal. The default is 0 and it means the main diagonal.
28 * This class represents an expression of the main diagonal, or any sub/super diagonal
29 * of a square matrix. It is the return type of MatrixBase::diagonal() and MatrixBase::diagonal(Index) and most of the
32 * \sa MatrixBase::diagonal(), MatrixBase::diagonal(Index
188 MatrixBase<Derived>::diagonal() function in class:Eigen::MatrixBase
196 MatrixBase<Derived>::diagonal() const function in class:Eigen::MatrixBase
214 MatrixBase<Derived>::diagonal(Index index) function in class:Eigen::MatrixBase
222 MatrixBase<Derived>::diagonal(Index index) const function in class:Eigen::MatrixBase
241 MatrixBase<Derived>::diagonal() function in class:Eigen::MatrixBase
250 MatrixBase<Derived>::diagonal() const function in class:Eigen::MatrixBase
    [all...]
BandMatrix.h 83 /** \returns a vector expression of the main diagonal */
84 inline Block<CoefficientsType,1,SizeAtCompileTime> diagonal() function in class:Eigen::internal::BandMatrixBase
87 /** \returns a vector expression of the main diagonal (const version) */
88 inline const Block<const CoefficientsType,1,SizeAtCompileTime> diagonal() const function in class:Eigen::internal::BandMatrixBase
108 /** \returns a vector expression of the \a N -th sub or super diagonal */
109 template<int N> inline typename DiagonalIntReturnType<N>::Type diagonal() function in class:Eigen::internal::BandMatrixBase
114 /** \returns a vector expression of the \a N -th sub or super diagonal */
115 template<int N> inline const typename DiagonalIntReturnType<N>::Type diagonal() const function in class:Eigen::internal::BandMatrixBase
120 /** \returns a vector expression of the \a i -th sub or super diagonal */
121 inline Block<CoefficientsType,1,Dynamic> diagonal(Index i function in class:Eigen::internal::BandMatrixBase
128 inline const Block<const CoefficientsType,1,Dynamic> diagonal(Index i) const function in class:Eigen::internal::BandMatrixBase
    [all...]
DiagonalMatrix.h 49 inline const DiagonalVectorType& diagonal() const { return derived().diagonal(); } function in class:Eigen::DiagonalBase
51 inline DiagonalVectorType& diagonal() { return derived().diagonal(); } function in class:Eigen::DiagonalBase
54 inline Index rows() const { return diagonal().size(); }
56 inline Index cols() const { return diagonal().size(); }
71 return InverseReturnType(diagonal().cwiseInverse());
78 return DiagonalWrapper<const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(DiagonalVectorType,Scalar,product) >(diagonal() * scalar);
84 return DiagonalWrapper<const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar,DiagonalVectorType,product) >(scalar * other.diagonal());
93 * \brief Represents a diagonal matrix with its storag
136 inline const DiagonalVectorType& diagonal() const { return m_diagonal; } function in class:Eigen::DiagonalMatrix
139 inline DiagonalVectorType& diagonal() { return m_diagonal; } function in class:Eigen::DiagonalMatrix
260 const DiagonalVectorType& diagonal() const { return m_diagonal; } function in class:Eigen::DiagonalWrapper
    [all...]
SelfAdjointView.h 222 /** \returns a const expression of the main diagonal of the matrix \c *this
224 * This method simply returns the diagonal of the nested expression, thus by-passing the SelfAdjointView decorator.
226 * \sa MatrixBase::diagonal(), class Diagonal */
228 typename MatrixType::ConstDiagonalReturnType diagonal() const function in class:Eigen::SelfAdjointView
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
PathShapeTest.java 78 // scale down to half size; diagonal is now 50px
84 int diagonal = 0; local
93 diagonal += 1;
98 assertEquals(25, diagonal, TOLERANCE);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
BiDiagonalTransformer.java 24 * Class transforming any matrix to bi-diagonal shape.
27 * B an m &times; n bi-diagonal matrix (lower diagonal if m &lt; n, upper diagonal
29 * <p>Transformation to bi-diagonal shape is often not a goal by itself, but it is
43 /** Main diagonal. */
46 /** Secondary diagonal. */
59 * Build the transformation to bi-diagonal shape of a matrix.
96 final double[] diagonal = (m >= n) ? main : secondary; local
114 alpha /= diagonal[k - diagOffset] * hK[k - diagOffset]
177 final double[] diagonal = (m >= n) ? secondary : main; local
    [all...]
  /external/eigen/Eigen/src/Eigenvalues/
Tridiagonalization.h 46 * main diagonal and the first diagonal below and above it. The Hessenberg
89 typename internal::add_const_on_value_type<typename Diagonal<const MatrixType>::RealReturnType>::type,
90 const Diagonal<const MatrixType>
94 typename internal::add_const_on_value_type<typename Diagonal<const MatrixType, -1>::RealReturnType>::type,
95 const Diagonal<const MatrixType, -1>
199 * - the diagonal and lower sub-diagonal represent the real tridiagonal
259 * returned by diagonal() and subDiagonal() instead of creating a new
263 * matrixQ(), packedMatrix(), diagonal(), subDiagonal(
307 Tridiagonalization<MatrixType>::diagonal() const function in class:Eigen::Tridiagonalization
    [all...]
  /external/eigen/Eigen/src/Geometry/
AlignedBox.h 130 /** \returns an expression for the bounding box diagonal vector
131 * if the length of the diagonal is needed: diagonal().norm()
134 EIGEN_DEVICE_FUNC inline CwiseBinaryOp< internal::scalar_difference_op<Scalar,Scalar>, const VectorType, const VectorType> diagonal() const function in class:Eigen::AlignedBox
  /external/skia/bench/
ShapesBench.cpp 105 float diagonal = sqrtf(static_cast<float>(fShapesSize.width() * fShapesSize.width()) + local
107 if (diagonal > maxDiagonal) {
108 fShapesSize.fWidth = static_cast<int>(fShapesSize.width() * maxDiagonal / diagonal);
109 fShapesSize.fHeight = static_cast<int>(fShapesSize.height() * maxDiagonal / diagonal);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
GraggBulirschStoerIntegrator.java 525 * @param diag working diagonal of the Aitken-Neville's
532 // update the diagonal
565 final double[][] diagonal = new double[sequence.length-1][]; local
568 diagonal[k] = new double[y0.length];
680 (k == 0) ? yMidDots[0] : diagonal[k-1],
818 extrapolate(0, j, diagonal, yMidDots[0]);
836 diagonal[j-1][i] = factor * fk[l2+j][middleIndex+l][i];
838 extrapolate(l2, j, diagonal, yMidDots[l+1]);
    [all...]
  /external/eigen/Eigen/src/SparseCore/
SparseMatrix.h 64 struct traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
85 struct traits<Diagonal<const SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
86 : public traits<Diagonal<SparseMatrix<_Scalar, _Options, _StorageIndex>, DiagIndex> >
110 typedef Diagonal<SparseMatrix> DiagonalReturnType;
111 typedef Diagonal<const SparseMatrix> ConstDiagonalReturnType;
649 /** \returns a const expression of the diagonal coefficients. */
650 const ConstDiagonalReturnType diagonal() const { return ConstDiagonalReturnType(*this); } function in class:Eigen::SparseMatrix
652 /** \returns a read-write expression of the diagonal coefficients.
653 * \warning If the diagonal entries are written, then all diagonal
656 DiagonalReturnType diagonal() { return DiagonalReturnType(*this); } function in class:Eigen::SparseMatrix
    [all...]
  /prebuilts/tools/common/m2/repository/com/googlecode/java-diff-utils/diffutils/1.3.0/
diffutils-1.3.0.jar 
  /prebuilts/devtools/tools/lib/
sdkuilib.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.4.0-beta6/
sdkuilib-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.5.0/
sdkuilib-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/25.0.0-alpha1/
sdkuilib-25.0.0-alpha1.jar 

Completed in 505 milliseconds