Skip to content

Commit 775efae

Browse files
committed
[doc] updated CtcInverse manual page for contraction on boxes (minor update, Matlab)
1 parent 262835a commit 775efae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/manual/manual/contractors/analytic/ctcinverse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To represent the vectors :math:`\mathbf{x}\in\mathbb{R}^n` consistent with the c
9494

9595
The contractor can be used as an operator to contract a :math:`n`-d box :math:`[\mathbf{x}]`.
9696

97-
Note that the contraction may be fast but not minimal, depending on your analytic expression. Therefore, you can also combine a ``CtcInverse`` with a ``CtcFixpoint`` to apply the contraction procedure repeatedly until a fixpoint is reached on the same box. The following code corresponds to the next figure, which shows contraction cases in blue and their fixpoint counterparts in red.
97+
Note that the contraction may be fast but not minimal, depending on your analytic expression. Therefore, you can also combine a ``CtcInverse`` with a ``CtcFixpoint`` to apply the contraction procedure repeatedly until a fixpoint is reached on the same box. The following code corresponds to a contraction revealed in the next figure, which shows contraction cases in blue and their fixpoint counterparts in red.
9898

9999
.. tabs::
100100

doc/manual/manual/contractors/analytic/src.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
% [ctcinv-2-beg]
2020
z = IntervalVector({{0.0,3.5},{0.0,1.0}});
21-
DefaultFigure().draw_box(z, {Color().blue(),Color().blue(.1)}); % prior to contraction
21+
DefaultFigure().draw_box(z, StyleProperties({Color().blue(),Color().blue(.1)})); % prior to contraction
2222
z = c.contract(z);
23-
DefaultFigure().draw_box(z, {Color().blue(),Color().white()}); % after one CtcInverse contraction
23+
DefaultFigure().draw_box(z, StyleProperties({Color().blue(),Color().white()})); % after one CtcInverse contraction
2424
% z == [ [1.84, 3.5] ; [0, 1] ]
2525

2626
% Combining CtcInverse with a CtcFixpoint:

0 commit comments

Comments
 (0)