Question #87695

How can I implement several polynomials in my program.

Expert's answer

Usually polynomials are represented as a single dimensional array. So this array would only hold the coefficients of the polynom. For instance let's take the polynom:

1 + 2x - 4x3

Our array would look like:

1 2 0 -4

Because x2 is missing, it is represented as 0.


That's what the question was about?


LATEST TUTORIALS
APPROVED BY CLIENTS