    

 ## On this page

  

 

 # PolynomialTable

 Last update: 09.03.2026 

Corresponding ID: `CS_PolynomialTable`

Create a polynomial relation between `sizeIn` inputs and `sizeOut` outputs using the following function:

![polynomial function](/sites/default/files/git_ansys/command_reference_for_rigid_dynamics_systems_2026_r1_1/eqfeb08486-03aa-461f-b350-a745935a6dab.png)

Where i denotes the index of the input from 1 to n (`sizeIn`) and j denotes the index of the output (from 1 to `sizeOut`).

### Member functions

`CS_PolynomialTable()`

Creates an empty polynomial table.

`Initialize(constant)`

Specialized for a 1x1 table. Initializes the table to be a 1 input, 1 output table, and sets the constant term (constant is a float value).

`Initialize(sizeIn,sizeOut,constantValues)`

(generic version) Initializes the table with `sizeIn` inputs and `sizeOut`outputs and sets the constant terms. `sizeIn` and `sizeOut` are two integer values, and `constantValues` is an array of `sizeOut` float values.

`AddTerm(coefficient,order)`

Specialized for a 1x1 table. Adds one monomial term to the table. The coefficient is a float value and order is an integer value giving the power of the input.

`AddTerm(coefficients,orders)`

(generic version) Adds one monomial term to the table. The coefficients are given by a `sizeOut` float array and the power for each input by an array of `sizeIn` integers.