Viewing¶
View a full matrix¶
- void View(Matrix<T>& A, Matrix<T>& B)¶
- void View(DistMatrix<T, U, V>& A, DistMatrix<T, U, V>& B)¶
Make A a view of the matrix B.
- void LockedView(Matrix<T>& A, const Matrix<T>& B)¶
- void LockedView(DistMatrix<T, U, V>& A, const DistMatrix<T, U, V>& B)¶
Make A a non-mutable view of the matrix B.
View a submatrix¶
- void View(Matrix<T>& A, Matrix<T>& B, int i, int j, int height, int width)¶
- void View(DistMatrix<T, U, V>& A, DistMatrix<T, U, V>& B, int i, int j, int height, int width)¶
Make A a view of the height x width submatrix of B starting at coordinate (i,j).
- void LockedView(Matrix<T>& A, const Matrix<T>& B, int i, int j, int height, int width)¶
- void LockedView(DistMatrix<T, U, V>& A, const DistMatrix<T, U, V>& B, int i, int j, int height, int width)¶
Make A a non-mutable view of the height x width submatrix of B starting at coordinate (i,j).
View 1x2 matrices¶
- void View1x2(Matrix<T>& A, Matrix<T>& BL, Matrix<T>& BR)¶
- void View1x2(DistMatrix<T, U, V>& A, DistMatrix<T, U, V>& BL, DistMatrix<T, U, V>& BR)¶
Make A a view of the matrix \(\left(\begin{array}{cc} B_L & B_R \end{array}\right)\).
- void LockedView1x2(Matrix<T>& A, const Matrix<T>& BL, const Matrix<T>& BR)¶
- void LockedView1x2(DistMatrix<T, U, V>& A, const DistMatrix<T, U, V>& BL, const DistMatrix<T, U, V>& BR)¶
Make A a non-mutable view of the matrix \(\left(\begin{array}{cc} B_L & B_R \end{array}\right)\).
View 2x1 matrices¶
- void View2x1(Matrix<T>& A, Matrix<T>& BT, Matrix<T>& BB)¶
- void View2x1(DistMatrix<T, U, V>& A, DistMatrix<T, U, V>& BT, DistMatrix<T, U, V>& BB)¶
Make A a view of the matrix \(\left(\begin{array}{c} B_T \\ B_B \end{array}\right)\).
- void LockedView2x1(Matrix<T>& A, const Matrix<T>& BT, const Matrix<T>& BB)¶
- void LockedView2x1(DistMatrix<T, U, V>& A, const DistMatrix<T, U, V>& BT, const DistMatrix<T, U, V>& BB)¶
Make A a non-mutable view of the matrix \(\left(\begin{array}{c} B_T \\ B_B \end{array}\right)\).
View 2x2 matrices¶
- void View2x2(Matrix<T>& A, Matrix<T>& BTL, Matrix<T>& BTR, Matrix<T>& BBL, Matrix<T>& BBR)¶
- void View2x2(DistMatrix<T, U, V>& A, DistMatrix<T, U, V>& BTL, DistMatrix<T, U, V>& BTR, DistMatrix<T, U, V>& BBL, DistMatrix<T, U, V>& BBR)¶
Make A a view of the matrix \(\left(\begin{array}{cc} B_{TL} & B_{TR} \\ B_{BB} & B_{BR} \end{array}\right)\).
- void LockedView2x2(Matrix<T>& A, const Matrix<T>& BTL, const Matrix<T>& BTR, const Matrix<T>& BBL, const Matrix<T>& BBR)¶
- void LockedView2x2(DistMatrix<T, U, V>& A, const DistMatrix<T, U, V>& BTL, const DistMatrix<T, U, V>& BTR, const DistMatrix<T, U, V>& BBL, const DistMatrix<T, U, V>& BBR)¶
Make A a non-mutable view of the matrix \(\left(\begin{array}{cc} B_{TL} & B_{TR} \\ B_{BB} & B_{BR} \end{array}\right)\).