homogeneous_diophantine 函数
返回二元齐次线性整数方程解空间的一个基向量。
语法
HomogeneousDiophantine([a, b])homogeneous_diophantine([a, b])
参数与选项
a, b | 方程 a*x + b*y = 0 中的整数系数。 |
|---|
示例
- 齐次方程解
HomogeneousDiophantine([6, 10])返回 [5, -3]。
返回二元齐次线性整数方程解空间的一个基向量。
HomogeneousDiophantine([a, b])homogeneous_diophantine([a, b])a, b | 方程 a*x + b*y = 0 中的整数系数。 |
|---|
HomogeneousDiophantine([6, 10])返回 [5, -3]。