Lines Matching refs:diagonal
546 view a vector \link MatrixBase::asDiagonal() as a diagonal matrix \endlink \n </td><td>\code
550 Declare a diagonal matrix</td><td>\code
552 diag1.diagonal() = vector;\endcode
554 <tr><td>Access the \link MatrixBase::diagonal() diagonal \endlink and \link MatrixBase::diagonal(In…
556 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
557 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
558 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
559 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
560 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal
586 unit or null diagonal (read/write):
672 \link MatrixBase::asDiagonal() make a diagonal matrix \endlink \n from a vector </td><td>\code
676 Declare a diagonal matrix</td><td>\code
678 diag1.diagonal() = vector;\endcode
680 <tr><td>Access \link MatrixBase::diagonal() the diagonal and super/sub diagonals of a matrix \endli…
682 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
683 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
684 vec1 = mat1.diagonal(-n); mat1.diagonal(-n) = vec1; // n-th sub diagonal
685 vec1 = mat1.diagonal<1>(); mat1.diagonal<1>() = vec1; // first super diagonal
686 vec1 = mat1.diagonal<-2>(); mat1.diagonal<-2>() = vec1; // second sub diagonal