Searched refs:cols (Results 1 - 7 of 7) sorted by relevance

/gem5/src/systemc/tests/systemc/utils/sc_vector/test04/
H A Dtest04.cpp78 const unsigned cols; local
91 , cols( m )
100 for (size_t j=0; j<dut.cols; ++j )
/gem5/ext/pybind11/tests/
H A Dtest_buffers.cpp17 Matrix(ssize_t rows, ssize_t cols) : m_rows(rows), m_cols(cols) { argument
19 m_data = new float[(size_t) (rows*cols)];
20 memset(m_data, 0, sizeof(float) * (size_t) (rows * cols));
72 ssize_t cols() const { return m_cols; } function in class:Matrix
87 memcpy(v->data(), info.ptr, sizeof(float) * (size_t) (v->rows() * v->cols()));
92 .def("cols", &Matrix::cols)
96 if (i.first >= m.rows() || i.second >= m.cols())
101 if (i.first >= m.rows() || i.second >= m.cols())
[all...]
H A Dtest_buffers.py21 for j in range(m4.cols()):
H A Dtest_eigen.cpp28 for (int i = 0; i < x.rows(); i++) for (int j = 0; j < x.cols(); j++)
64 for (int c = 0; c < m.cols(); c++) for (int r = 0; r < m.rows(); r++)
138 m += Eigen::MatrixXd::Constant(m.rows(), m.cols(), v);
144 m += Eigen::MatrixXd::Constant(m.rows(), m.cols(), v);
151 m.data(), (m.rows() + 1) / 2, m.cols(),
158 m.data(), m.rows(), (m.cols() + 1) / 2,
307 if (A.cols() != B.rows()) throw std::domain_error("Nonconformable matrices!");
/gem5/src/dev/virtio/
H A Dconsole.cc55 config.cols = 80;
70 cfg_out.cols = htov_legacy(config.cols);
H A Dconsole.hh83 uint16_t cols; member in struct:VirtIOConsole::Config
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h76 EigenIndex rows = 0, cols = 0; member in struct:EigenConformable
84 conformable{true}, rows{r}, cols{c} {
103 (EigenRowMajor ? cols : rows) == 1) &&
105 (EigenRowMajor ? rows : cols) == 1);
123 cols = Type::ColsAtCompileTime, member in struct:EigenProps
129 fixed_cols = cols != Eigen::Dynamic,
136 vector ? size : row_major ? cols : rows>::value;
156 if ((fixed_rows && np_rows != rows) || (fixed_cols && np_cols != cols))
170 return {rows == 1 ? 1 : n, cols == 1 ? 1 : n, stride};
177 // Since this isn't a vector, cols mus
[all...]

Completed in 11 milliseconds