klyn.math.NDArray.t
property
public readonly property t as NDArray<T>:
Description

The transpose of the NDArray (2D only).

a = NDArray<Int>.fromList([[1, 2, 3], [4, 5, 6]])
print(a.t)  # [[1, 4], [2, 5], [3, 6]]