File: absolute.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 (37 lines) | stat: -rw-r--r-- 1,641 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
28
29
30
31
32
33
34
35
36
37
\subsection{absolute}
\label{lababsolute}
\noindent Name: \textbf{absolute}\\
\phantom{aaa}indicates an absolute error for \textbf{externalplot}, \textbf{fpminimax} or \textbf{supnorm}\\[0.2cm]
\noindent Library names:\\
\verb|   sollya_obj_t sollya_lib_absolute()|\\
\verb|   int sollya_lib_is_absolute(sollya_obj_t)|\\[0.2cm]
\noindent Usage: 
\begin{center}
\textbf{absolute} : \textsf{absolute$|$relative}\\
\end{center}
\noindent Description: \begin{itemize}

\item The use of \textbf{absolute} in the command \textbf{externalplot} indicates that during
   plotting in \textbf{externalplot} an absolute error is to be considered.
    
   See \textbf{externalplot} for details.

\item Used with \textbf{fpminimax}, \textbf{absolute} indicates that \textbf{fpminimax} must try to minimize
   the absolute error.
    
   See \textbf{fpminimax} for details.

\item When given in argument to \textbf{supnorm}, \textbf{absolute} indicates that an absolute error
   is to be considered for supremum norm computation.
    
   See \textbf{supnorm} for details.
\end{itemize}
\noindent Example 1: 
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> bashexecute("gcc -fPIC -c externalplotexample.c");
> bashexecute("gcc -shared -o externalplotexample externalplotexample.o -lgmp -l
mpfr");
> externalplot("./externalplotexample",absolute,exp(x),[-1/2;1/2],12,perturb);
\end{Verbatim}
\end{minipage}\end{center}
See also: \textbf{externalplot} (\ref{labexternalplot}), \textbf{fpminimax} (\ref{labfpminimax}), \textbf{relative} (\ref{labrelative}), \textbf{bashexecute} (\ref{labbashexecute}), \textbf{supnorm} (\ref{labsupnorm})