📜  sage 中的向量空间 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:27.844000             🧑  作者: Mango

代码示例1
sage: V = VectorSpace(GF(2),8)
sage: S = V.subspace([V([1,1,0,0,0,0,0,0]),V([1,0,0,0,0,1,1,0])])
sage: S.basis()
[
(1, 0, 0, 0, 0, 1, 1, 0),
(0, 1, 0, 0, 0, 1, 1, 0)
]
sage: S.dimension()
2