You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,34 +45,34 @@ The package was tested for Python >= 3.10, along with the listed packages versio
45
45
The package defines an abstract class [`PyDiffGame.py`](https://github.com/krichelj/PyDiffGame/blob/master/src/PyDiffGame/PyDiffGame.py). An object of this class represents an instance of differential game.
46
46
The input parameters to instantiate a `PyDiffGame` object are:
47
47
48
-
*`A` : `np.array` of shape( $n,n$ )
48
+
*`A` : `np.array` of shape $(n,n)$
49
49
>System dynamics matrix
50
50
*`B` : `np.array` of shape( $n,\sum_{i=1}^N m_i$ ), optional
51
51
>Input matrix for all virtual control objectives
52
-
*`Bs` : `Sequence` of `np.array` objects of len( $N$ ), each array $B_i$ of shape( $n,m_i$ ), optional
52
+
*`Bs` : `Sequence` of `np.array` objects of len $(N)$, each array $B_i$ of shape $(n,m_i)$, optional
53
53
>Input matrices for each virtual control objective
54
-
*`Qs` : `Sequence` of `np.array` objects of len( $N$ ), each array $Q_i$ of shape( $n,n$ ), optional
54
+
*`Qs` : `Sequence` of `np.array` objects of len $(N)$, each array $Q_i$ of shape $(n,n)$, optional
55
55
>State weight matrices for each virtual control objective
56
-
*`Rs` : `Sequence` of `np.array` objects of len( $N$ ), each array $R_i$ of shape( $m_i,m_i$ ), optional
56
+
*`Rs` : `Sequence` of `np.array` objects of len $(N)$, each array $R_i$ of shape $(m_i,m_i)$, optional
57
57
>Input weight matrices for each virtual control objective
58
-
*`Ms` : `Sequence` of `np.array` objects of len( $N$ ), each array $M_i$ of shape( $m_i,m$ ), optional
58
+
*`Ms` : `Sequence` of `np.array` objects of len $(N)$, each array $M_i$ of shape $(m_i,m)$, optional
59
59
>Decomposition matrices for each virtual control objective
60
-
*`objectives` : `Sequence` of `Objective` objects of len( $N$ ), each $O_i$ specifying $Q_i, R_i$ and $M_i$, optional
60
+
*`objectives` : `Sequence` of `Objective` objects of len $(N)$, each $O_i$ specifying $Q_i, R_i$ and $M_i$, optional
61
61
>Desired objectives for the game
62
-
*`x_0` : `np.array` of len( $n$ ), optional
62
+
*`x_0` : `np.array` of len $(n)$, optional
63
63
>Initial state vector
64
-
*`x_T` : `np.array` of len( $n$ ), optional
64
+
*`x_T` : `np.array` of len $(n)$, optional
65
65
>Final state vector, in case of signal tracking
66
66
*`T_f` : positive `float`, optional
67
67
>System dynamics horizon. Should be given in the case of finite horizon
68
-
*`P_f` : `list` of `np.array` objects of len( $N$ ), each array $P_{f_i}$ of shape( $n,n$ ), optional, default = uncoupled solution of `scipy's solve_are`
68
+
*`P_f` : `list` of `np.array` objects of len $(N)$, each array $P_{f_i}$ of shape $(n,n)$, optional, default = uncoupled solution of `scipy's solve_are`
69
69
>
70
70
>Final condition for the Riccati equation array. Should be given in the case of finite horizon
71
-
*`state_variables_names` : `Sequence` of `str` objects of len( $N$ ), optional
71
+
*`state_variables_names` : `Sequence` of `str` objects of len $(N)$, optional
72
72
>The state variables' names to display when plotting
73
73
*`show_legend` : `boolean`, optional
74
74
>Indicates whether to display a legend in the plots
75
-
*`state_variables_names` : `Sequence` of `str` objects of len( $n$ ), optional
75
+
*`state_variables_names` : `Sequence` of `str` objects of len $(n)$, optional
76
76
>The state variables' names to display
77
77
*`epsilon_x` : `float` in the interval $(0,1)$, optional
78
78
>Numerical convergence threshold for the state vector of the system
0 commit comments