我的方程系统既有线性方程也有非线性方程,但不是二次方程或三次方程,或者是具有多于一个可变度的方程。 例如: x + y = 3 (linear),
y + z = 4 (linear),
x * z = 6 (non linear),
x/y = 3 (non linear),
y * z/x = 2 (non linear)
可以有
这里是我的伪代码: LinearSearch(List, key, m):
while (m < List.length):
if (m==key): // key is found
return m
else if (m < key): // key is larger than index
m = m + m
e