Lines Matching refs:mat1
322 mat3 = mat1 + mat2; mat3 += mat1;
323 mat3 = mat1 - mat2; mat3 -= mat1;\endcode
327 mat3 = mat1 * s1; mat3 *= s1; mat3 = s1 * mat1;
328 mat3 = mat1 / s1; mat3 /= s1;\endcode
332 col2 = mat1 * col1;
333 row2 = row1 * mat1; row1 *= mat1;
334 mat3 = mat1 * mat2; mat3 *= mat1; \endcode
338 mat1 = mat2.transpose(); mat1.transposeInPlace();
339 mat1 = mat2.adjoint(); mat1.adjointInPlace();
425 mat1.real()
426 mat1.imag()
427 mat1.conjugate()
447 mat1.cwiseMin(mat2) mat1.cwiseMin(scalar)
448 mat1.cwiseMax(mat2) mat1.cwiseMax(scalar)
449 mat1.cwiseAbs2()
450 mat1.cwiseAbs()
451 mat1.cwiseSqrt()
452 mat1.cwiseInverse()
453 mat1.cwiseProduct(mat2)
454 mat1.cwiseQuotient(mat2)
455 mat1.cwiseEqual(mat2) mat1.cwiseEqual(scalar)
456 mat1.cwiseNotEqual(mat2)
459 mat1.array().min(mat2.array()) mat1.array().min(scalar)
460 mat1.array().max(mat2.array()) mat1.array().max(scalar)
461 mat1.array().abs2()
462 mat1.array().abs()
463 mat1.array().sqrt()
464 mat1.array().inverse()
465 mat1.array() * mat2.array()
466 mat1.array() / mat2.array()
467 mat1.array() == mat2.array() mat1.array() == scalar
468 mat1.array() != mat2.array()
477 mat1.unaryExpr(std::ptr_fun(foo));
478 mat1.unaryExpr(std::ref(foo));
479 mat1.unaryExpr([](double x) { return foo(x); });
527 mat1.row(i) = mat2.col(j);
528 mat1.col(j1).swap(mat1.col(j2));
546 <td>\code mat1.block(i,j,rows,cols)\endcode
548 <td>\code mat1.block<rows,cols>(i,j)\endcode
552 mat1.topLeftCorner(rows,cols)
553 mat1.topRightCorner(rows,cols)
554 mat1.bottomLeftCorner(rows,cols)
555 mat1.bottomRightCorner(rows,cols)\endcode
557 mat1.topLeftCorner<rows,cols>()
558 mat1.topRightCorner<rows,cols>()
559 mat1.bottomLeftCorner<rows,cols>()
560 mat1.bottomRightCorner<rows,cols>()\endcode
563 mat1.topRows(rows)
564 mat1.bottomRows(rows)
565 mat1.leftCols(cols)
566 mat1.rightCols(cols)\endcode
568 mat1.topRows<rows>()
569 mat1.bottomRows<rows>()
570 mat1.leftCols<cols>()
571 mat1.rightCols<cols>()\endcode
605 mat1 = vec1.asDiagonal();\endcode
614 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
615 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
616 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
617 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
618 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal
624 mat3 = scalar * diag1 * mat1;
625 mat3 += scalar * mat1 * vec1.asDiagonal();
626 mat3 = vec1.asDiagonal().inverse() * mat1
627 mat3 = mat1 * diag1.inverse()
731 mat1 = vec1.asDiagonal();\endcode
740 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
741 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
742 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
743 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
744 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal
750 mat2 = mat1.triangularView<Xxx>();
752 mat1.triangularView<Upper>() = mat2 + mat3; // only the upper part is evaluated and referenced
757 mat2 = mat1.selfadjointView<Xxx>(); // Xxx = Upper or Lower
758 mat1.selfadjointView<Upper>() = mat2 + mat2.adjoint(); // evaluated and write to the upper triangu…
765 mat3 += scalar * vec1.asDiagonal() * mat1
766 mat3 += scalar * mat1 * vec1.asDiagonal()
767 mat3.noalias() += scalar * mat1.triangularView<Xxx>() * mat2
768 mat3.noalias() += scalar * mat2 * mat1.triangularView<Xxx>()
769 mat3.noalias() += scalar * mat1.selfadjointView<Upper or Lower>() * mat2
770 mat3.noalias() += scalar * mat2 * mat1.selfadjointView<Upper or Lower>()
771 mat1.selfadjointView<Upper or Lower>().rankUpdate(mat2);
772 mat1.selfadjointView<Upper or Lower>().rankUpdate(mat2.adjoint(), scalar);
777 mat3 = vec1.asDiagonal().inverse() * mat1
778 mat3 = mat1 * diag1.inverse()
779 mat1.triangularView<Xxx>().solveInPlace(mat2)
780 mat1.triangularView<Xxx>().solveInPlace<OnTheRight>(mat2)
781 mat2 = mat1.selfadjointView<Upper or Lower>().llt().solve(mat2)