/external/dng_sdk/source/ |
dng_matrix.h | 49 uint32 cols); 66 uint32 Cols () const
|
/external/eigen/test/ |
qr.cpp | 18 Index cols = m.cols(); local 23 MatrixType a = MatrixType::Random(rows,cols); 35 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; 37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); 38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); 40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); 42 for(int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>j) r(i,j) = Scalar(0); 46 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2) [all...] |
triangular.cpp | 23 typename MatrixType::Index cols = m.cols(); local 25 MatrixType m1 = MatrixType::Random(rows, cols), 26 m2 = MatrixType::Random(rows, cols), 27 m3(rows, cols), 28 m4(rows, cols), 29 r1(rows, cols), 30 r2(rows, cols); 36 if (rows*cols>1) 66 m1 = MatrixType::Random(rows, cols); 143 Index cols = m.cols(); local [all...] |
diagonalmatrices.cpp | 16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; 18 typedef Matrix<Scalar, 1, Cols> RowVectorType; 22 typedef DiagonalMatrix<Scalar, Cols> RightDiagonalMatrix; 23 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; 25 Index cols = m.cols(); local 27 MatrixType m1 = MatrixType::Random(rows, cols), 28 m2 = MatrixType::Random(rows, cols); 31 RowVectorType rv1 = RowVectorType::Random(cols), [all...] |
permutationmatrices.cpp | 19 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, 24 typedef PermutationMatrix<Cols> RightPermutationType; 25 typedef Matrix<int, Cols, 1> RightPermutationVectorType; 29 Index cols = m.cols(); local 31 MatrixType m_original = MatrixType::Random(rows,cols); 36 randomPermutationVector(rv, cols); 38 MatrixType m_permuted = MatrixType::Random(rows,cols); 43 for (int j=0; j<cols; j++) 47 Matrix<Scalar,Cols,Cols> rm(rp) [all...] |
qr_colpivoting.cpp | 20 Index cols = internal::random<Index>(2, EIGEN_TEST_MAX_SIZE); local 22 Index rank = internal::random<Index>(1, (std::min)(rows, cols) - 1); 29 createRandomPIMatrixOfRank(rank, rows, cols, matrix); 32 VERIFY(cols - cod.rank() == cod.dimensionOfKernel()); 44 t.setZero(rows, cols); 51 MatrixType exact_solution = MatrixType::Random(cols, cols2); 69 Cols = MatrixType::ColsAtCompileTime 72 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols)) - 1); 73 Matrix<Scalar, Rows, Cols> matrix; 74 createRandomPIMatrixOfRank(rank, Rows, Cols, matrix) 99 Index rows = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE), cols = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE), cols2 = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE); local 218 Index rows = 300, cols = rows; local [all...] |
/external/eigen/Eigen/src/Core/ |
GeneralProduct.h | 23 template<int Rows, int Cols, int Depth> struct product_type_selector; 44 Cols = traits<_Rhs>::ColsAtCompileTime, 56 cols_select = product_size_category<Cols,MaxCols>::value, 70 EIGEN_DEBUG_VAR(Cols); 240 actualLhs.rows(), actualLhs.cols(), 273 actualLhs.rows(), actualLhs.cols(), 335 actualLhs.rows(), actualLhs.cols(),
|
/external/eigen/unsupported/Eigen/src/KroneckerProduct/ |
KroneckerTensorProduct.h | 42 inline Index cols() const { return m_A.cols() * m_B.cols(); } function in class:Eigen::KroneckerProductBase 50 return m_A.coeff(row / m_B.rows(), col / m_B.cols()) * 51 m_B.coeff(row % m_B.rows(), col % m_B.cols()); 139 Bc = m_B.cols(); 141 for (Index j=0; j < m_A.cols(); ++j) 149 Index Br = m_B.rows(), Bc = m_B.cols(); 150 dst.resize(this->rows(), this->cols()); 168 VectorXi nnzA = VectorXi::Zero(Dest::IsRowMajor ? m_A.rows() : m_A.cols()); [all...] |
/external/gemmlowp/internal/ |
simd_wrappers.h | 152 static constexpr int Cols = ResultBlockType::kCols; 160 static_assert(LhsCols == Cols || LhsCols == 1, ""); 161 static_assert(RhsCols == Cols || RhsCols == 1, ""); 169 for (int c = 0; c < Cols; c++) { 170 const int lhs_c = LhsCols == Cols ? c : 0; 171 const int rhs_c = RhsCols == Cols ? c : 0; 201 static constexpr int Cols = ResultBlockType::kCols; 215 static_assert(LhsCols == Cols || LhsCols == 1, ""); 216 static_assert(RhsCols == Cols || RhsCols == 1, ""); 217 for (int c = 0; c < Cols; c++) [all...] |
/external/eigen/Eigen/src/Geometry/ |
Homogeneous.h | 76 EIGEN_DEVICE_FUNC inline Index cols() const { return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); } function in class:Eigen::Homogeneous 200 Direction==Horizontal ? _expression().cols()-1 : _expression().cols()).cwiseQuotient( 206 Direction==Horizontal ? _expression().cols()-1:0, 208 Direction==Horizontal ? 1 : _expression().cols()), 210 Direction==Horizontal ? _expression().cols()-1 : 1)); 266 EIGEN_DEVICE_FUNC inline Index cols() const { return m_rhs.cols(); } function in struct:Eigen::internal::homogeneous_left_product_impl 274 (m_lhs,0,0,m_lhs.rows(),m_lhs.cols()-1) * m_rhs 304 EIGEN_DEVICE_FUNC inline Index cols() const { return m_rhs.cols(); } function in struct:Eigen::internal::homogeneous_right_product_impl [all...] |
/external/llvm/lib/MC/ |
MCAsmStreamer.cpp | 766 const size_t Cols = 4; 767 for (size_t I = 0, EI = alignTo(Data.size(), Cols); I < EI; I += Cols) { 768 size_t J = I, EJ = std::min(I + Cols, Data.size()); [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixFunction.h | 249 fT.setZero(T.rows(), T.cols()); 281 eigen_assert(A.rows() == A.cols()); 283 eigen_assert(B.rows() == B.cols()); 286 eigen_assert(C.cols() == B.rows()); 406 static const int Rows = Traits::RowsAtCompileTime, Cols = Traits::ColsAtCompileTime; 410 typedef Matrix<ComplexScalar, Rows, Cols, 0, MaxRows, MaxCols> ComplexMatrix; 520 Index cols() const { return m_A.cols(); } function in class:Eigen::MatrixFunctionReturnValue 542 eigen_assert(rows() == cols()); 549 eigen_assert(rows() == cols()); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderMatrixTests.cpp | 392 template <typename T, int Rows, int Cols> 393 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 395 tcu::Matrix<T, Rows, Cols> retVal; 398 for (int c = 0; c < Cols; ++c) 406 template <typename T, int Rows, int Cols> 407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) 409 tcu::Matrix<T, Rows, Cols> retVal [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderMatrixTests.cpp | 618 template <typename T, int Rows, int Cols> 619 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 621 tcu::Matrix<T, Rows, Cols> retVal; 624 for (int c = 0; c < Cols; ++c) 632 template <typename T, int Rows, int Cols> 633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) 635 tcu::Matrix<T, Rows, Cols> retVal [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderMatrixTests.cpp | 623 template <typename T, int Rows, int Cols> 624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 626 tcu::Matrix<T, Rows, Cols> retVal; 629 for (int c = 0; c < Cols; ++c) 637 template <typename T, int Rows, int Cols> 638 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) 640 tcu::Matrix<T, Rows, Cols> retVal [all...] |