Lines Matching refs:cols
6 Matrix<double, 3, 3> A; // Fixed rows and cols. Same as Matrix3d.
7 Matrix<double, 3, Dynamic> B; // Fixed rows, dynamic cols.
20 C.cols() // size(C,2) // number of columns
27 B.resize(3, 9); // Ok; only dynamic cols changed.
30 4, 5, 6, // matrices, which are stacked along cols
36 MatrixXd::Identity(rows,cols) // eye(rows,cols)
37 C.setIdentity(rows,cols) // C = eye(rows,cols)
38 MatrixXd::Zero(rows,cols) // zeros(rows,cols)
39 C.setZero(rows,cols) // C = zeros(rows,cols)
40 MatrixXd::Ones(rows,cols) // ones(rows,cols)
41 C.setOnes(rows,cols) // C = ones(rows,cols)
42 MatrixXd::Random(rows,cols) // rand(rows,cols)*2-1 // MatrixXd::Random r…
43 C.setRandom(rows,cols) // C = rand(rows,cols)*2-1
60 P.block(i, j, rows, cols) // P(i+1 : i+rows, j+1 : j+cols)
61 P.block<rows, cols>(i, j) // P(i+1 : i+rows, j+1 : j+cols)
64 P.leftCols<cols>() // P(:, 1:cols)
65 P.leftCols(cols) // P(:, 1:cols)
66 P.middleCols<cols>(j) // P(:, j+1:j+cols)
67 P.middleCols(j, cols) // P(:, j+1:j+cols)
68 P.rightCols<cols>() // P(:, end-cols+1:end)
69 P.rightCols(cols) // P(:, end-cols+1:end)
76 P.topLeftCorner(rows, cols) // P(1:rows, 1:cols)
77 P.topRightCorner(rows, cols) // P(1:rows, end-cols+1:end)
78 P.bottomLeftCorner(rows, cols) // P(end-rows+1:end, 1:cols)
79 P.bottomRightCorner(rows, cols) // P(end-rows+1:end, end-cols+1:end)
80 P.topLeftCorner<rows,cols>() // P(1:rows, 1:cols)
81 P.topRightCorner<rows,cols>() // P(1:rows, end-cols+1:end)
82 P.bottomLeftCorner<rows,cols>() // P(end-rows+1:end, 1:cols)
83 P.bottomRightCorner<rows,cols>() // P(end-rows+1:end, end-cols+1:end)