Searched refs:add_rm (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_eigen.cpp | 113 auto add_rm = [](Eigen::Ref<MatrixXdR> x, int r, int c, double v) { x(r,c) += v; }; local 117 m.def("add_rm", add_rm); // Only takes row-contiguous 120 m.def("add1", add_rm); 123 m.def("add2", add_rm);
|
H A D | test_eigen.py | 379 m.add_rm(zr, 1, 0, 100) 391 m.add_rm(zc, 1, 0, 1) 412 m.add_rm(cornersr, 0, 1, 25) 416 m.add_rm(cornersc, 0, 1, 25) 428 m.add_rm(zro, 0, 0, 0) 439 m.add_rm(zi)
|
Completed in 7 milliseconds