Lines Matching refs:diagonal
604 view a vector \link MatrixBase::asDiagonal() as a diagonal matrix \endlink \n </td><td>\code
608 Declare a diagonal matrix</td><td>\code
610 diag1.diagonal() = vector;\endcode
612 <tr><td>Access the \link MatrixBase::diagonal() diagonal \endlink and \link MatrixBase::diagonal(In…
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
644 unit or null diagonal (read/write):
730 \link MatrixBase::asDiagonal() make a diagonal matrix \endlink \n from a vector </td><td>\code
734 Declare a diagonal matrix</td><td>\code
736 diag1.diagonal() = vector;\endcode
738 <tr><td>Access \link MatrixBase::diagonal() the diagonal and super/sub diagonals of a matrix \endli…
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