parent, [entries=True], [coerce_entries=True], [copy=0]) |
antitranspose,
list,
transpose
Further documentation:
) |
Returns the transpose of self, without changing self.
We create a matrix, compute its transpose, and note that the original matrix is not changed.
sage: M = MatrixSpace(RationalField(), 2) sage: A = M([1,2,3,4]) sage: B = A.transpose() sage: print B [1 3] [2 4] sage: print A [1 2] [3 4]
Instances of class Matrix_generic_dense also have the following special methods:
__getitem__,
__setitem__,
_entries
Further documentation:
ij) |
INPUT: A[i, j] -- the i,j of A, and A[i] -- the i-th row of A.
ij, value) |
INPUT: A[i, j] = value -- set the (i,j) entry of A A[i] = value -- set the ith row of A
See About this document... for information on suggesting changes.