File: introExample48.tex

package info (click to toggle)
sollya 7.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 13,864 kB
  • sloc: ansic: 117,441; yacc: 8,822; lex: 2,419; makefile: 870; cpp: 76
file content (27 lines) | stat: -rw-r--r-- 829 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> restart;
The tool has been restarted.
> a.f = exp(x);
> a.dom = [-1;1];
> a.info.text = "My akrnoximation problem";
> a;
{ .info = { .text = "My akrnoximation problem" }, .dom = [-1;1], .f = exp(x) }
> 
> a.info.text = "My approximation problem";
> a;
{ .info = { .text = "My approximation problem" }, .dom = [-1;1], .f = exp(x) }
> 
> b = exp(x);
> b.a = 5;
Warning: cannot modify an element of something that is not a structure.
Warning: the last assignment will have no effect.
> b;
exp(x)
> 
> a.dom.a = -1;
Warning: cannot modify an element of something that is not a structure.
Warning: the last assignment will have no effect.
> a;
{ .info = { .text = "My approximation problem" }, .dom = [-1;1], .f = exp(x) }
\end{Verbatim}
\end{minipage}\end{center}