• Home
  • Raw
  • Download

Lines Matching refs:mat1

332 mat3 = mat1 + mat2;           mat3 += mat1;
333 mat3 = mat1 - mat2; mat3 -= mat1;\endcode
337 mat3 = mat1 * s1; mat3 *= s1; mat3 = s1 * mat1;
338 mat3 = mat1 / s1; mat3 /= s1;\endcode
342 col2 = mat1 * col1;
343 row2 = row1 * mat1; row1 *= mat1;
344 mat3 = mat1 * mat2; mat3 *= mat1; \endcode
348 mat1 = mat2.transpose(); mat1.transposeInPlace();
349 mat1 = mat2.adjoint(); mat1.adjointInPlace();
381 mat1.cwiseMin(mat2)
382 mat1.cwiseMax(mat2)
383 mat1.cwiseAbs2()
384 mat1.cwiseAbs()
385 mat1.cwiseSqrt()
386 mat1.cwiseProduct(mat2)
387 mat1.cwiseQuotient(mat2)\endcode
389 mat1.array().min(mat2.array())
390 mat1.array().max(mat2.array())
391 mat1.array().abs2()
392 mat1.array().abs()
393 mat1.array().sqrt()
394 mat1.array() * mat2.array()
395 mat1.array() / mat2.array()
400 \code mat1.unaryExpr(std::ptr_fun(foo))\endcode
479 mat1.row(i) = mat2.col(j);
480 mat1.col(j1).swap(mat1.col(j2));
498 <td>\code mat1.block(i,j,rows,cols)\endcode
500 <td>\code mat1.block<rows,cols>(i,j)\endcode
504 mat1.topLeftCorner(rows,cols)
505 mat1.topRightCorner(rows,cols)
506 mat1.bottomLeftCorner(rows,cols)
507 mat1.bottomRightCorner(rows,cols)\endcode
509 mat1.topLeftCorner<rows,cols>()
510 mat1.topRightCorner<rows,cols>()
511 mat1.bottomLeftCorner<rows,cols>()
512 mat1.bottomRightCorner<rows,cols>()\endcode
515 mat1.topRows(rows)
516 mat1.bottomRows(rows)
517 mat1.leftCols(cols)
518 mat1.rightCols(cols)\endcode
520 mat1.topRows<rows>()
521 mat1.bottomRows<rows>()
522 mat1.leftCols<cols>()
523 mat1.rightCols<cols>()\endcode
557 mat1 = vec1.asDiagonal();\endcode
566 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
567 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
568 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
569 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
570 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal
576 mat3 = scalar * diag1 * mat1;
577 mat3 += scalar * mat1 * vec1.asDiagonal();
578 mat3 = vec1.asDiagonal().inverse() * mat1
579 mat3 = mat1 * diag1.inverse()
683 mat1 = vec1.asDiagonal();\endcode
692 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
693 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
694 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
695 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
696 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal
702 mat2 = mat1.triangularView<Xxx>();
704 mat1.triangularView<Upper>() = mat2 + mat3; // only the upper part is evaluated and referenced
709 mat2 = mat1.selfadjointView<Xxx>(); // Xxx = Upper or Lower
710 mat1.selfadjointView<Upper>() = mat2 + mat2.adjoint(); // evaluated and write to the upper triangu…
717 mat3 += scalar * vec1.asDiagonal() * mat1
718 mat3 += scalar * mat1 * vec1.asDiagonal()
719 mat3.noalias() += scalar * mat1.triangularView<Xxx>() * mat2
720 mat3.noalias() += scalar * mat2 * mat1.triangularView<Xxx>()
721 mat3.noalias() += scalar * mat1.selfadjointView<Upper or Lower>() * mat2
722 mat3.noalias() += scalar * mat2 * mat1.selfadjointView<Upper or Lower>()
723 mat1.selfadjointView<Upper or Lower>().rankUpdate(mat2);
724 mat1.selfadjointView<Upper or Lower>().rankUpdate(mat2.adjoint(), scalar);
729 mat3 = vec1.asDiagonal().inverse() * mat1
730 mat3 = mat1 * diag1.inverse()
731 mat1.triangularView<Xxx>().solveInPlace(mat2)
732 mat1.triangularView<Xxx>().solveInPlace<OnTheRight>(mat2)
733 mat2 = mat1.selfadjointView<Upper or Lower>().llt().solve(mat2)