Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究广义链表。我理解正确创建它们的简单方法,但现在我想用它们来存储任何 n 变量多项式。我自己尝试过,但做不到。我在谷歌上搜索,但无济于事。 我想知道是否有任何关于使用 GLL 的多项式的好的教程。有没有这样的教程?
用 x 的系数及其指数创建一个结构并创建它的链表。
typedef struct poly { int coff, expo; struct poly nxt; } term;
您可以使用上述结构为您的链表创建一个 n 变量多项式。现在,您可以根据需要将任意数量的术语添加到链接列表中,直到您到达要停止的第 n 个术语。
我创建了一个 JS Fiddle 来演示我的问题:http: //jsfiddle.net/pqTqH/
如何更新我的 CSS 以使表格垂直居中而不设置height表格或 a top-margin?即使只有 1 行,我也希望表
height
top-margin