HomeSort by relevance Sort by last modified time
    Searched refs:cols (Results 26 - 50 of 805) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/eigen/doc/examples/
tut_matrix_resize.cpp 11 << m.rows() << "x" << m.cols() << std::endl;
17 << v.rows() << "x" << v.cols() << std::endl;
  /external/eigen/test/
upperbidiagonalization.cpp 16 const typename MatrixType::Index cols = m.cols(); local
21 MatrixType a = MatrixType::Random(rows,cols);
23 RealMatrixType b(rows, cols);
25 b.block(0,0,cols,cols) = ubd.bidiagonal();
mapstaticmethods.cpp 73 Index rows = m.rows(), cols = m.cols(); local
77 PlainObjectType::Map(ptr, rows, cols).setZero();
78 PlainObjectType::MapAligned(ptr, rows, cols).setZero();
79 PlainObjectType::Map(const_ptr, rows, cols).sum();
80 PlainObjectType::MapAligned(const_ptr, rows, cols).sum();
82 PlainObjectType::Map(ptr, rows, cols, InnerStride<>(i)).setZero();
83 PlainObjectType::MapAligned(ptr, rows, cols, InnerStride<>(i)).setZero();
84 PlainObjectType::Map(const_ptr, rows, cols, InnerStride<>(i)).sum();
85 PlainObjectType::MapAligned(const_ptr, rows, cols, InnerStride<>(i)).sum()
    [all...]
special_numbers.cpp 16 int cols = internal::random<int>(1,300); local
22 MatType m1 = MatType::Random(rows,cols),
23 mnan = MatType::Random(rows,cols),
24 minf = MatType::Random(rows,cols),
25 mboth = MatType::Random(rows,cols);
30 mnan(internal::random<int>(0,rows-1), internal::random<int>(0,cols-1)) = nan;
31 minf(internal::random<int>(0,rows-1), internal::random<int>(0,cols-1)) = inf;
array_for_matrix.cpp 20 Index cols = m.cols(); local
22 MatrixType m1 = MatrixType::Random(rows, cols),
23 m2 = MatrixType::Random(rows, cols),
24 m3(rows, cols);
27 RowVectorType rv1 = RowVectorType::Random(cols);
34 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1);
35 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) );
61 VERIFY_IS_APPROX(m1.block(0,0,0,cols).colwise().sum(), RowVectorType::Zero(cols));
91 Index cols = m.cols(); local
179 Index cols = m.cols(); local
221 Index rows = t.rows(), cols = t.cols(); local
    [all...]
sparseqr.cpp 18 int cols = internal::random<int>(1,maxCols); local
19 double density = (std::max)(8./(rows*cols), 0.01);
21 A.resize(rows,cols);
22 dA.resize(rows,cols);
25 int nop = internal::random<int>(0, internal::random<double>(0,1) > 0.5 ? cols/2 : 0);
28 int j0 = internal::random<int>(0,cols-1);
29 int j1 = internal::random<int>(0,cols-1);
35 // if(rows<cols) {
36 // A.conservativeResize(cols,cols);
    [all...]
miscmatrices.cpp 21 Index cols = m.cols(); local
23 Index r = internal::random<Index>(0, rows-1), r2 = internal::random<Index>(0, rows-1), c = internal::random<Index>(0, cols-1);
24 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1));
25 MatrixType m1 = MatrixType::Ones(rows,cols);
product.h 34 Index cols = m.cols(); local
38 MatrixType m1 = MatrixType::Random(rows, cols),
39 m2 = MatrixType::Random(rows, cols),
40 m3(rows, cols);
46 square2 = ColSquareMatrixType::Random(cols, cols),
47 res2 = ColSquareMatrixType::Random(cols, cols);
49 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols)
    [all...]
corners.cpp 20 Index cols = m.cols(); local
23 Index c = internal::random<Index>(1,cols);
25 MatrixType matrix = MatrixType::Random(rows,cols);
26 const MatrixType const_matrix = MatrixType::Random(rows,cols);
29 COMPARE_CORNER(topRightCorner(r,c), block(0,cols-c,r,c));
31 COMPARE_CORNER(bottomRightCorner(r,c), block(rows-r,cols-c,r,c));
35 Index sc = internal::random<Index>(1,cols) - 1;
36 Index nc = internal::random<Index>(1,cols-sc);
38 COMPARE_CORNER(topRows(r), block(0,0,r,cols));
53 cols = MatrixType::ColsAtCompileTime, enumerator in enum:__anon18618
    [all...]
dense_storage.cpp 14 template <typename T, int Rows, int Cols>
17 static const int Size = ((Rows==Dynamic || Cols==Dynamic) ? Dynamic : Rows*Cols);
18 typedef DenseStorage<T,Size, Rows,Cols, 0> DenseStorageType;
21 const int cols = (Cols==Dynamic) ? 3 : Cols; local
22 const int size = rows*cols;
23 DenseStorageType reference(size, rows, cols);
34 template <typename T, int Rows, int Cols>
41 const int cols = (Cols==Dynamic) ? 3 : Cols; local
    [all...]
  /external/eigen/Eigen/src/QR/
ColPivHouseholderQR.h 100 ColPivHouseholderQR(Index rows, Index cols)
101 : m_qr(rows, cols),
102 m_hCoeffs((std::min)(rows,cols)),
103 m_colsPermutation(PermIndexType(cols)),
104 m_colsTranspositions(cols),
105 m_temp(cols),
106 m_colNormsUpdated(cols),
107 m_colNormsDirect(cols),
117 * ColPivHouseholderQR<MatrixType> qr(matrix.rows(), matrix.cols());
125 : m_qr(matrix.rows(), matrix.cols()),
328 inline Index cols() const { return m_qr.cols(); } function in class:Eigen::ColPivHouseholderQR
490 Index cols = m_qr.cols(); local
    [all...]
HouseholderQR.h 78 HouseholderQR(Index rows, Index cols)
79 : m_qr(rows, cols),
80 m_hCoeffs((std::min)(rows,cols)),
81 m_temp(cols),
90 * HouseholderQR<MatrixType> qr(matrix.rows(), matrix.cols());
98 : m_qr(matrix.rows(), matrix.cols()),
99 m_hCoeffs((std::min)(matrix.rows(),matrix.cols())),
100 m_temp(matrix.cols()),
117 m_hCoeffs((std::min)(matrix.rows(),matrix.cols())),
118 m_temp(matrix.cols()),
206 inline Index cols() const { return m_qr.cols(); } function in class:Eigen::HouseholderQR
261 Index cols = mat.cols(); local
303 Index cols = mat.cols(); local
384 Index cols = m_qr.cols(); local
    [all...]
  /external/valgrind/drd/tests/
matinv.c 36 int cols; member in struct:gj_threadinfo
56 static elem_t* new_matrix(const int rows, const int cols)
59 assert(cols > 0);
60 return malloc(rows * cols * sizeof(elem_t));
70 static void init_matrix(elem_t* const a, const int rows, const int cols)
77 a[i * cols + j] = 1.0 / (1 + abs(i-j));
84 const elem_t* const a, const int rows, const int cols)
90 for (j = 0; j < cols; j++)
92 printf("%g ", a[i * cols + j]);
175 const int cols = p->cols local
    [all...]
omp_matinv.c 44 static elem_t* new_matrix(const int rows, const int cols)
47 assert(cols > 0);
48 return malloc(rows * cols * sizeof(elem_t));
58 static void init_matrix(elem_t* const a, const int rows, const int cols)
65 a[i * cols + j] = 1.0 / (1 + abs(i-j));
72 const elem_t* const a, const int rows, const int cols)
78 for (j = 0; j < cols; j++)
80 printf("%g ", a[i * cols + j]);
158 static void gj(elem_t* const a, const int rows, const int cols)
169 if (a[k * cols + i] > a[j * cols + i]
    [all...]
  /external/eigen/bench/
sparse_product.cpp 53 // mkl_scscmm(&n, lhs.rows(), rhs.cols(), lhs.cols(), &alpha, matdescra,
56 // // mkl_somatcopy('C', 'T', lhs.rows(), lhs.cols(), 1,
101 int cols = SIZE; local
104 EigenSparseMatrix sm1(rows,cols), sm2(rows,cols), sm3(rows,cols), sm4(rows,cols);
111 fillMatrix2(nnzPerCol, rows, cols, sm1);
112 fillMatrix2(nnzPerCol, rows, cols, sm2)
    [all...]
bench_reverse.cpp 21 int cols = m.cols(); local
25 MatrixType a = MatrixType::Random(rows,cols);
26 MatrixType b = MatrixType::Random(rows,cols);
32 int c = internal::random<int>(0,cols-1);
50 std::cout << rows << " x " << cols << " \t"
  /external/gemmlowp/meta/generators/
gemv_1xMxK_neon.py 83 def GenerateMulCols(emitter, result_type, lhs_add, rhs_add, aligned, cols,
104 if cols > 4:
111 zip_Nx8_neon.BuildName(cols - 4, leftovers, aligned),
115 mul_1x8_Mx8_neon.BuildName(result_type, lhs_add, rhs_add, cols),
117 elif cols > 0:
119 zip_Nx8_neon.BuildName(cols, leftovers, aligned),
123 mul_Nx8_Mx8_neon.BuildName(result_type, lhs_add, rhs_add, 1, cols),
127 def GenerateQuantized8BitMul(emitter, aligned, cols, leftovers):
129 GenerateMulCols(emitter, 'int32', False, True, aligned, cols, leftovers)
131 qnt_Nx8_neon.BuildName(1, cols, aligned)
    [all...]
  /external/libvpx/libvpx/vp8/common/
debugmodes.c 14 void vp8_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols,
26 for (mb_col = 0; mb_col < cols; ++mb_col) {
42 for (mb_col = 0; mb_col < cols; ++mb_col) {
59 for (mb_col = 0; mb_col < cols; ++mb_col) {
80 for (b_col = 0; b_col < 4 * cols; ++b_col) {
81 mb_index = (b_row >> 2) * (cols + 1) + (b_col >> 2);
100 for (mb_col = 0; mb_col < cols; ++mb_col) {
122 for (b_col = 0; b_col < 4 * cols; ++b_col) {
123 mb_index = (b_row >> 2) * (cols + 1) + (b_col >> 2);
  /external/eigen/Eigen/src/Core/
Random.h 33 * The parameters \a rows and \a cols are the number of rows and of columns of
39 * it is redundant to pass \a rows and \a cols as arguments, so Random() should be used
56 DenseBase<Derived>::Random(Index rows, Index cols)
58 return NullaryExpr(rows, cols, internal::scalar_random_op<Scalar>());
133 return *this = Random(rows(), cols());
165 * \param cols the new number of columns
174 PlainObjectBase<Derived>::setRandom(Index rows, Index cols)
176 resize(rows, cols);
  /external/eigen/Eigen/src/misc/
Kernel.h 27 // is the number of cols of the original matrix
46 m_cols(m_rank==dec.cols() ? 1 : dec.cols() - m_rank)
49 inline Index rows() const { return m_dec.cols(); }
50 inline Index cols() const { return m_cols; } function in struct:Eigen::internal::kernel_retval_base
74 using Base::cols; \
  /external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
do-plot 12 if ! cols=$(grep "#[ ]*COLUMNS" $FILE)
18 cols=$(echo $cols | sed 's/#//')
19 columns=$(echo $cols | awk '{print $2;}')
23 column[$count]=$(echo $cols | awk -vcount=$count '{print $(2 + count);}')
  /external/eigen/Eigen/src/LU/
FullPivLU.h 92 FullPivLU(Index rows, Index cols);
352 return cols() - rank();
365 return rank() == cols();
390 return isInjective() && (m_lu.rows() == m_lu.cols());
403 eigen_assert(m_lu.rows() == m_lu.cols() && "You can't take the inverse of a non-square matrix!");
410 EIGEN_DEVICE_FUNC inline Index cols() const { return m_lu.cols(); } function in class:Eigen::FullPivLU
450 FullPivLU<MatrixType>::FullPivLU(Index rows, Index cols)
451 : m_lu(rows, cols),
453 m_q(cols),
501 const Index cols = m_lu.cols(); local
632 const Index cols = dec().matrixLU().cols(), dimker = cols - rank(); local
758 cols = this->cols(), local
808 const Index rows = this->rows(), cols = this->cols(), local
    [all...]
  /external/gemmlowp/internal/
single_thread_gemm.h 75 assert(lhs.cols() == rhs.rows());
78 int cols = result->cols(); local
79 int depth = lhs.cols();
83 assert(cols > 0);
86 // The case of rows<cols should have been caught earlier and transposed.
87 assert(rows >= cols);
92 block_params.Init<KernelFormat>(rows, cols, depth, 1,
102 (static_cast<std::uint64_t>(cols) << 32);
106 "(rows = %d, depth = %d, cols = %d, l2_rows = %d, l2_depth = %d,
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_linear.h 62 unsigned cols; member in struct:pipe_tile_info
94 if (t->tile.size != t->block.size * t->cols * t->rows)
97 if (t->stride != t->block.size * t->cols * t->tiles_x)
  /external/syslinux/com32/lib/sys/
stdcon_write.c 47 fp->o.cols = BIOS_COLS;
52 if (fp->o.cols < 40)
53 fp->o.cols = 80;

Completed in 982 milliseconds

12 3 4 5 6 7 8 91011>>