HomeSort by relevance Sort by last modified time
    Searched refs:cols (Results 151 - 175 of 774) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/eigen/demos/mix_eigen_and_c/
binary_library.cpp 72 C_MatrixXd* MatrixXd_new(int rows, int cols)
74 return eigen_to_c(*new MatrixXd(rows,cols));
92 void MatrixXd_resize(C_MatrixXd *m, int rows, int cols)
94 c_to_eigen(m).resize(rows,cols);
137 C_Map_MatrixXd* Map_MatrixXd_new(double *array, int rows, int cols)
139 return eigen_to_c(*new Map<MatrixXd>(array,rows,cols));
  /external/eigen/test/
product_small.cpp 37 for(Index j=0;j<C.cols();++j)
38 for(Index k=0;k<A.cols();++k)
43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
46 || (Cols ==1&&Depth!=1&&OB==RowMajor)
47 || (Depth==1&&Cols !=1&&OB==ColMajor)
48 || (Rows ==1&&Cols !=1&&OC==ColMajor)
49 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
50 test_lazy_single(int rows, int cols, int depth)
53 Matrix<T,Depth,Cols,OB> B(depth,cols); B.setRandom()
87 int cols = internal::random<int>(1,12); local
116 int cols = internal::random<int>(1,12); local
152 int cols = internal::random<int>(1,12); local
    [all...]
dontalign.cpp 28 Index cols = m.cols(); local
30 MatrixType a = MatrixType::Random(rows,cols);
mapped_matrix.cpp 57 Index rows = m.rows(), cols = m.cols(), size = rows*cols; local
73 Map<MatrixType> map1(array1, rows, cols);
74 Map<MatrixType, AlignedMax> map2(array2, rows, cols);
75 Map<MatrixType> map3(array3unaligned, rows, cols);
76 Map<MatrixType> map4(array4, rows, cols);
78 VERIFY_IS_EQUAL(map1, MatrixType::Ones(rows,cols));
79 VERIFY_IS_EQUAL(map2, MatrixType::Ones(rows,cols));
80 VERIFY_IS_EQUAL(map3, MatrixType::Ones(rows,cols));
    [all...]
conservative_resize.cpp 41 const Index cols = internal::random<Index>(1,50); local
43 m.conservativeResize(rows,cols);
44 VERIFY_IS_APPROX(m, n.block(0,0,rows,cols));
51 const Index cols = internal::random<Index>(50,75); local
53 m.conservativeResizeLike(MatrixType::Zero(rows,cols));
54 VERIFY_IS_APPROX(m.block(0,0,n.rows(),n.cols()), n);
55 VERIFY( rows<=50 || m.block(50,0,rows-50,cols).sum() == Scalar(0) );
56 VERIFY( cols<=50 || m.block(0,50,rows,cols-50).sum() == Scalar(0) );
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...]
product_symm.cpp 22 Index cols = size; local
24 MatrixType m1 = MatrixType::Random(rows, cols),
25 m2 = MatrixType::Random(rows, cols), m3;
29 Rhs1 rhs1 = Rhs1::Random(cols, othersize), rhs12(cols, othersize), rhs13(cols, othersize);
31 Rhs3 rhs3 = Rhs3::Random(cols, othersize), rhs32(cols, othersize), rhs33(cols, othersize);
product_trmm.cpp 22 int cols=get_random_size<Scalar>(),
32 TriMatrix mat(rows,cols), tri(rows,cols), triTr(cols,rows);
34 OnTheRight ge_right(cols,otherCols);
72 void trmv(int rows=get_random_size<Scalar>(), int cols=get_random_size<Scalar>())
74 trmm<Scalar,Mode,TriOrder,ColMajor,ColMajor,1>(rows,cols,1);
78 void trmm(int rows=get_random_size<Scalar>(), int cols=get_random_size<Scalar>(), int otherCols = get_random_size<Scalar>())
80 trmm<Scalar,Mode,TriOrder,OtherOrder,ResOrder,Dynamic>(rows,cols,otherCols);
  /external/libtextclassifier/common/
embedding-network-params.h 52 int cols; member in struct:libtextclassifier::nlp_core::EmbeddingNetworkParams::Matrix
82 matrix.cols = embeddings_num_cols(i);
116 matrix.cols = hidden_num_cols(i);
125 // expect it to be a vector (i.e., num cols is 1).
133 matrix.cols = hidden_bias_num_cols(i);
158 matrix.cols = softmax_num_cols(0);
167 // to be a row/column vector (i.e., num cols is 1).
175 matrix.cols = softmax_bias_num_cols(0);
embedding-network.h 54 cols_(source_matrix.cols),
89 static int GetRowSizeInBytes(int cols, QuantizationType quant_type) {
92 return cols * sizeof(float);
94 return cols * sizeof(uint8);
  /packages/apps/Terminal/jni/
com_android_terminal_Terminal.cpp 76 inline ScrollbackLine(dimen_t _cols) : cols(_cols) {
77 mCells = new VTermScreenCell[cols];
83 inline dimen_t copyFrom(dimen_t cols, const VTermScreenCell* cells) {
84 dimen_t n = this->cols > cols ? cols : this->cols;
89 inline dimen_t copyTo(dimen_t cols, VTermScreenCell* cells) {
90 dimen_t n = cols > this->cols ? this->cols : cols
99 const dimen_t cols; member in class:android::ScrollbackLine
    [all...]
  /external/eigen/Eigen/src/Core/
Map.h 112 : int(Flags)&RowMajorBit ? this->cols()
145 * \param cols the number of columns of the matrix expression
149 inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType())
150 : Base(cast_to_pointer_type(dataPtr), rows, cols), m_stride(stride)
  /external/eigen/unsupported/Eigen/src/IterativeSolvers/
IncompleteLU.h 39 Index cols() const { return m_lu.cols(); } function in class:Eigen::IncompleteLU
45 int size = mat.cols();
  /art/tools/ahat/src/
Doc.java 66 * and cols describes c2, c3, ...
71 void table(DocString description, List<Column> subcols, List<Column> cols);
  /bionic/libc/kernel/uapi/linux/
virtio_console.h 32 __u16 cols; member in struct:virtio_console_config
  /development/ndk/platforms/android-21/include/linux/
virtio_console.h 31 __u16 cols; member in struct:virtio_console_config
  /external/eigen/Eigen/src/Householder/
Householder.h 106 * this->cols() * essential.size() entries
124 Map<typename internal::plain_row_type<PlainObject>::type> tmp(workspace,cols());
125 Block<Derived, EssentialPart::SizeAtCompileTime, Derived::ColsAtCompileTime> bottom(derived(), 1, 0, rows()-1, cols());
143 * this->cols() * essential.size() entries
155 if(cols() == 1)
162 Block<Derived, Derived::RowsAtCompileTime, EssentialPart::SizeAtCompileTime> right(derived(), 0, 1, rows(), cols()-1);
  /external/eigen/Eigen/src/LU/
PartialPivLU.h 221 inline Index cols() const { return m_lu.cols(); } function in class:Eigen::PartialPivLU
256 eigen_assert(rhs.rows() == m_lu.cols());
316 : m_lu(matrix.rows(),matrix.cols()),
370 const Index cols = lu.cols(); local
371 const Index size = (std::min)(rows,cols);
377 Index rcols = cols-k-1;
412 * by the variables \a rows, \a cols, \a lu_data, and \a lu_stride using a
426 static Index blocked_lu(Index rows, Index cols, Scalar* lu_data, Index luStride, PivIndex* row_transpositions, PivIndex& nb_transpositions, Index (…)
    [all...]
  /external/eigen/doc/examples/
Tutorial_simple_example_dynamic_size.cpp 11 for (int j=0; j<m.cols(); ++j) // loop over columns
  /external/kernel-headers/original/uapi/linux/
virtio_console.h 48 __u16 cols; member in struct:virtio_console_config
  /external/libhevc/decoder/x86/
ihevcd_fmt_conv_ssse3_intr.c 63 WORD32 num_rows, num_cols, src_strd, dst_strd, cols, rows; local
66 cols = 0;
128 cols = num_cols >> 4;
143 for(j = 0; j < cols; j++)
219 for(j = 0; j < cols; j++)
250 pu1_u_dst += (cols << 4);
251 pu1_v_dst += (cols << 4);
252 pu1_u_src += 2 * (cols << 4);
253 pu1_v_src += 2 * (cols << 4);
  /external/libvpx/libvpx/vp9/encoder/
vp9_alt_ref_aq.h 44 int cols; member in struct:MATX_8U
  /external/syslinux/com32/lib/sys/
vesacon_write.c 98 ti.cols = 80;
110 ti.cols = __vesacon_text_cols;
117 fp->o.cols = ti.cols;
  /external/toybox/toys/pending/
more.c 77 unsigned rows = 24, cols = 80, row = 0, col = 0; local
107 terminal_size(&cols, &rows);
126 terminal_size(&cols, &rows);
133 if (col == cols) putchar(ch = '\n');
  /prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/
virtio_console.h 31 __u16 cols; member in struct:virtio_console_config

Completed in 923 milliseconds

1 2 3 4 5 67 8 91011>>