Skip to content

Commit

Permalink
automatic documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
casaditestbot committed May 19, 2018
1 parent 7a264f2 commit 47c5d06
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 14 deletions.
32 changes: 24 additions & 8 deletions swig/doc.i
Original file line number Diff line number Diff line change
Expand Up @@ -75361,32 +75361,48 @@ const T1 *lb, const T1 *ub) "
";

%feature("docstring") casadi::collocation_interpolators(const std::vector<
double > &tau_root, std::vector< std::vector< double > > &output_C,
std::vector< double > &output_D) "
double > &tau, std::vector< std::vector< double > > &output_C, std::vector<
double > &output_D) "

Obtain collocation interpolating matrices.

A collocation method poses a polynomial Pi that interpolates exactly through
an initial state (0,X_0) and helper states at collocation points
(tau_j,X(j)).

This function computes the linear mapping between dPi/dt and coefficients
Z=[X_0 X].

Parameters:
-----------

tau_root: location of collocation points, as obtained from
collocation_points
tau: location of collocation points, as obtained from collocation_points

output_C: interpolating coefficients to obtain derivatives Length: order+1,
order + 1
output_C: interpolating coefficients to obtain derivatives. Length:
order+1, order+1



::

dX/dt @collPoint(j) ~ Sum_i C[j][i]*X@collPoint(i)
dPi/dt @Z_j = (1/h) Sum_i C[j][i]*Z_i,



with h the length of the integration interval.

Parameters:
-----------

output_D: interpolating coefficients to obtain end state Length: order+1
output_D: interpolating coefficients to obtain end state. Length: order+1



::

Pi @X_f = Sum_i D[i]*Z_i



";

Expand Down
28 changes: 22 additions & 6 deletions swig/doc_merged.i
Original file line number Diff line number Diff line change
Expand Up @@ -60032,27 +60032,43 @@ Get all options for a plugin.

Obtain collocation interpolating matrices.

A collocation method poses a polynomial Pi that interpolates exactly through
an initial state (0,X_0) and helper states at collocation points
(tau_j,X(j)).

This function computes the linear mapping between dPi/dt and coefficients
Z=[X_0 X].

Parameters:
-----------

tau_root: location of collocation points, as obtained from
collocation_points
tau: location of collocation points, as obtained from collocation_points

output_C: interpolating coefficients to obtain derivatives Length: order+1,
order + 1
output_C: interpolating coefficients to obtain derivatives. Length:
order+1, order+1



::

dX/dt @collPoint(j) ~ Sum_i C[j][i]*X@collPoint(i)
dPi/dt @Z_j = (1/h) Sum_i C[j][i]*Z_i,



with h the length of the integration interval.

Parameters:
-----------

output_D: interpolating coefficients to obtain end state Length: order+1
output_D: interpolating coefficients to obtain end state. Length: order+1



::

Pi @X_f = Sum_i D[i]*Z_i



";

Expand Down

0 comments on commit 47c5d06

Please sign in to comment.