siconos.kernel.FirstOrderLinearTIDS (Python class)

class siconos.kernel.FirstOrderLinearTIDS(*args)[source]

Bases: siconos.kernel.FirstOrderLinearDS

First order linear and time-invariant coeff systems - \(M \dot x = Ax(t)+ b + r, x(t_0)=x_0\).

This class represents first order linear systems of the form:

\[M\dot x(t) = A x(t) + b + r, x(t_0)=x_0\]

where

  • \(x \in R^{n}\) is the state,
  • \(r \in R^{n}\) the input due to the Non Smooth Interaction.
  • \(M \in R^{n\times n}\) is a constant invertible matrix
  • \(A \in R^{n\times n}\)
  • \(b \in R^{n}\)

No plugged operators for this class.

Generated class (swig), based on C++ header Program listing for file kernel/src/modelingTools/FirstOrderLinearTIDS.hpp.

Constructors

FirstOrderLinearTIDS(array_like (np.float64, 1D) x0, array_like (np.float64, 2D) A)

initial state and constant A matrix

Parameters:
  • x0 – the initial state vector
  • A – the A matrix
FirstOrderLinearTIDS(array_like (np.float64, 1D) x0, array_like (np.float64, 2D) A, array_like (np.float64, 1D) b)

initial state, constant A matrix, constant b vector

Parameters:
  • x0 – the initial state vector
  • A – matrix
  • b – vector
FirstOrderLinearTIDS(FirstOrderLinearTIDS FOLTIDS)

Copy constructor.

Parameters:FOLTIDS – the FirstOrderLinearTIDS to copy
computeJacobianRhsx(double time) → None[source]

Default function to jacobian of the right-hand side term according to x.

Parameters:time – current time
computeRhs(double time) → None[source]

Default function to the right-hand side term.

Parameters:time – current time
display() → None[source]

data display on screen

initRhs(double time) → None[source]

Initialization function for the rhs and its jacobian.

Parameters:time – of initialization.
updatePlugins(double time) → None[source]

Dumb function, there is no plugin here.

Parameters:time – unused