Statistiques
| Révision :

root / approxBasisSollya / notes.html @ 305

Historique | Voir | Annoter | Télécharger (13,43 ko)

1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html lang="en-US">
3
  <head>
4
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
5
    <style type="text/css">
6
/* Mise  jour 2015-04-25 */
7
/* La police proportionnelle de base est une Helvetica de 10 */
8
/* La police fixe de base est une Courrier de 10 */
9
/** Corps */
10
body           {background-color: #FFFFFF;
11
                font-family : helvetica, arial, sans-serif;
12
                font-size : 10pt;
13
                font-weight : normal;
14
                font-style : normal}
15
/*
16
*/
17
/** Page de couverture */
18
/*
19
          ---------------------------------------------------------------
20
          /                   ------------------------------------
21
          / table.coverHeader | td.coverHeaderLeft / td.coverHeaderRight |
22
          /                   ------------------------------------
23
          /
24
          /                    ------------------------------------
25
          /                    /                                  /
26
div.cover /                    /              p.coverTitle        /
27
          /                    /                                  /
28
          / div.coverTitle     ------------------------------------
29
          /                    /                                  /
30
          /                    /              p.coverSubTitle     /
31
          /                    /                                  /
32
          /                    ------------------------------------
33
          ---------------------------------------------------------------
34

    
35
*/
36
@media print   {div.cover {page-break-after:always}
37
                div.coverTitle {top : 250pt}}
38
div.cover      {margin-bottom : 100pt;
39
                text-align : center;}
40
table.coverHeader {position : relative;
41
                top : 0;
42
                width : 90%;
43
                font-size: 12pt; 
44
                font-family : helvetica, arial, sans-serif;
45
                font-weight: bold}
46
table.coverHeader td.coverHeaderLeft  {text-align : left}
47
table.coverHeader td.coverHeaderRight {text-align : right}
48
div.coverTitle {position : relative; 
49
                margin-top : 100pt;
50
                text-align : center;
51
                border : solid ;
52
                margin-left : 20%;
53
                margin-right : 20%}
54
/* Voir h1 */
55
p.coverTitle   {text-align : center ; 
56
                font-size : 20pt ; 
57
                font-weight : bold ; 
58
                font-family : helvetica, arial, sans-serif;
59
                text-indent : 0pt}
60
p.coverSubTitle{text-align : center ;
61
                font-size : 16pt ;
62
                font-weight : normal; 
63
                font-family : helvetica , arial , sans-serif;
64
                margin-top : 30pt;
65
                text-indent : 0pt}
66
/* lments "en ligne" */
67
abbr           {font-family : helvetica, arial, sans-serif;
68
                font-style : normal;
69
                font-weight : bold}
70
/* Identique  <abbr> */
71
acronym        {font-family : helvetica, arial, sans-serif;
72
                font-style : normal;
73
                font-weight : bold}
74
address        {font-family : helvetica, arial, sans-serif;
75
                font-style : italic;
76
                margin-left : 20pt;
77
                margin-right : 20pt}
78
blocquote      {font-family : helvetica, arial, sans-serif;
79
                font-style : italic;
80
                margin-left : 20pt;
81
                margin-right : 20pt} 
82
cite           {font-family : helvetica, arial, sans-serif;
83
                font-style : italic;
84
                font-weight : normal}
85
/*  utiliser dans une division de code pour les marges et dans un lment 
86
   pre pour prserver l'indentation) : div.code->pre->code. */
87
code           {font-family : courier, monospace;
88
                font-style : normal;
89
                font-weight : normal}
90
div.code       {margin-left : 30pt;
91
                margin-right : 30pt;
92
                background-color : lightgray}
93
del            {text-decoration : line-through}
94
dfn            {font-family: helvetica, arial, sans-serif;
95
                font-style: italic;
96
                font-weight: normal}
97
ins            {text-decoration : none;
98
                background-color : #FFFF00}
99
kbd            {font-family : times, serif;
100
                font-style : italic;
101
                font-weight : normal}
102
pre            {}
103
/*  travailler pour viter les guillemets anglo-saxons. */
104
q              {}
105
/* On introduit un lment div.samp pour ajouter le retrait */
106
samp           {font-family : courier, monospace;
107
                font-style : normal;
108
                font-weight : normal}
109
div.samp       {margin-left : 30pt;
110
                margin-right : 30pt}
111
strong         {font-weight  : bold}
112
var            {font-family : courier, monospace;
113
                font-style : italic;
114
                font-weight: normal}
115
/* Span spcialiss. */
116
/* Mot ou expression trangre */
117
span.foreign {font-style : italic}
118
/* lments de langage :
119
   - nom de commande ou de programme ;
120
   - nom de variable, de fonction, de classe, de module ;
121
   - proprit, paramtre, valeur, champ, objet, nom de balise ;
122
   - nom de cl de registre ;
123
   - mot-cl d'un langage ;
124
   . */
125
span.langElem {font-family : helvetica, arial, sans-serif;
126
               font-style : normal;
127
               font-weight : bold}
128
/* Rpertoires, fichiers, extensions de fichier (e. g. .jpeg) */
129
span.pathfile  {font-family: courier, monospace;
130
                font-style : italic;
131
                font-weight: normal}
132
span.urlAddress{font-family : courier monospace;
133
                font-style : italic;
134
                font-weight : bold }
135
/* lments "bloc" */
136
h1             {text-align : center ; 
137
                font-size : 20pt ; 
138
                font-weight : bold ; 
139
                font-family : helvetica, arial, sans-serif}
140
h2             {font-size : 16pt ; 
141
                font-weight : bold ;
142
                font-family : helvetica, arial, sans-serif}
143
h3             {font-size: 14pt ; 
144
                font-weight : normal;
145
                font-family : helvetica, arial, sans-serif;
146
                margin-left : 10pt}
147
h4             {font-size : 12pt; 
148
                font-family : helvetica, arial , sans-serif;
149
                font-weight: normal;
150
                margin-left : 15pt}
151
h5             {font-size : 12pt ;
152
                font-family : helvetica, arial, sans-serif;
153
                font-weight : normal;
154
                font-style : italic; 
155
                margin-left : 15pt}
156
h6             {font-size : 10pt;
157
                font-family : helvetica, arial, sans-serif;
158
                font-size : 8pt;
159
                font-weight : bold;
160
                font-style : normal; 
161
                margin-left : 15pt;
162
                text-align : right}
163
p              {font-size : 10pt; 
164
                font-family : helvetica, arial, sans-serif;
165
                margin-left : 20pt;
166
                margin-right : 20pt;
167
                text-align : justify ;
168
                text-indent : 2em}
169
/* Listes */
170
ul             {font-size: 10pt;
171
                font-family: helvetica, arial, sans-serif;
172
                text-align: justify;
173
                margin-left: 20pt;
174
                margin-right: 20pt}
175
ol             {font-size: 10pt;
176
                font-family: helvetica, arial, sans-serif;
177
                text-align: justify;
178
                margin-left: 20pt;
179
                margin-right: 20pt}
180
dl             {font-size: 10pt; 
181
                font-family: helvetica, arial, sans-serif;
182
                margin-left: 20pt;
183
                margin-right: 20pt}
184
dl dt          {font-weight: bold}
185
dd             {font-size: 10pt; 
186
                font-family: helvetica, arial, sans-serif;
187
                text-align: justify;
188
                margin-left: 10pt}
189
/* Tableaux */
190
p.tableCaption {text-align : center ;
191
                font-size : 12pt ; 
192
                font-weight : bold ; 
193
                font-family : helvetica, arial, sans-serif;
194
                text-ident : 0pt }
195
table          {margin-left: 20pt;
196
                margin-right: 20pt}
197
/* Deux options pour les cellules titres : soit un lment en-tte (avec
198
   ligne et cellules), soit des lments cellule en-tte. */
199
thead tr td    {text-align: center;
200
                text-indent : 0pt;
201
                font-size: 10pt;
202
                font-family: helvetica, arial, sans-serif;
203
                font-weight: bold}
204
th             {text-align: center;
205
                text-indent : 0pt;
206
                font-size: 10pt;
207
                font-family: helvetica, arial, sans-serif;
208
                font-weight: bold}
209

    
210
td             {font-size : 10pt ; 
211
                font-family : helvetica, arial, sans-serif;
212
                vertical-align: top;
213
                padding-left : 1em;
214
                padding-right : 1em}
215
td.numeric     {font-size : 10pt ; 
216
                font-family : Courier New, Courier, monospace;
217
                font-weight : bold;
218
                vertical-align: top;
219
                text-align : right;
220
                padding-right : 2em}
221
td.middle      {font-size : 10pt ; 
222
                font-family : helvetica, arial, sans-serif;
223
                vertical-align: middle}
224
/* Pour viter les marges dans les cellules de tableau */
225
td p           {font-size : 10pt; 
226
                font-family : helvetica, arial, sans-serif;
227
                margin-left : 0pt;
228
                margin-right : 0pt;
229
                text-indent : 0}
230
/* Introduction  une (x*sous) section */
231
p.heading      {font-size : 10pt; 
232
                font-family : helvetica, arial, sans-serif;
233
                font-weight : bold;
234
                margin-left : 20pt;
235
                margin-right : 20pt;
236
                text-align : justify;
237
                text-indent : 0pt}
238
/* Conclusion d'une (*sous-) section */
239
p.footer       {font-size : 10pt; 
240
                font-family : helvetica, arial, sans-serif;
241
                font-weight : bold;
242
                margin-left : 20pt;
243
                margin-right : 20pt;
244
                text-align : justify;
245
                text-indent : 0pt}
246
/* Illustration */
247
div.illustration {text-align : center;
248
                  margin : 15pt}
249
/* Rien de bien dfini encore pour ces modles (ide :
250
   images avec texte  gauche ou  droite) */
251
img.right {}
252
img.left  {}
253
p.illustrationCaption {font-family : Helvetica, arial, sans-serif ;
254
                font-size : 12pt; 
255
                font-weight : bold; 
256
                text-align : center;
257
                text-indent : 0pt }
258
/* Sommaire */
259
ul.summary     {font-family : Helvetica , Arial , sans-serif;
260
                font-size : 12pt}
261
/* Filets horizontaux */
262
hr             {}
263
hr.fiftypc     {margin-left: 25%;
264
                margin-right: 25%;}
265
hr.twentypc    {margin-left: 40%;
266
                margin-right: 40%;}
267
/* Notes */
268
/* L'appel de note est ralis par un lment <a> de classe callNote */
269
a.callNote     {}
270
/* Le retour de note est ralis par un lment <a> de classe retFromNote */
271
a.retFromNote  {}
272
/* Liste des notes proprement dite */
273
ol.notes       {margin-left: 0%;
274
                margin-right: 0%}
275
/* lements de navigation */
276
table.navTable {border : none ;
277
                width : 100%}
278
table.navTable td {width : 20% ;
279
                border : none ;
280
                text-align : center ;
281
                vertical-align : middle}
282
/* lments divers ( trier)*/
283
/* lments pour la table des matires */
284
div.abstract   {font-size : 12pt ;
285
                font-style : italic ;
286
                font-family : Helvetica, Arial , sans-serif ;
287
                margin-left : 50pt ;
288
                margin-right : 50pt ;
289
                margin-top : 15pt ;
290
                margin-bottom : 10pt ;
291
                border : solid ;
292
                padding : 5pt}
293
div.abstract p {margin-left : 0pt;
294
                margin-right : 0pt;
295
                text-indent : 0pt}
296
div.toc        {margin-left : 50pt}
297
ul.toc         {font-size : 14pt ; 
298
                font-family : Helvetica , Arial , sans-serif}
299
    </style>
300
    <title>Notes on Sollya computed basis</title>
301
  </head>
302
  <body>
303
    <h1>Notes on Sollya computed basis</h1>
304
    <h2>Basis</h2>
305
    <p>The basis is a structure made of two elements:</p>
306
    <ul>
307
      <li>an integer: the number of elements of the basis;</li>
308
      <li>an array of Sollya function objects that are the actual elements of
309
        the list.</li>
310
    </ul>
311
    <h2>Evaluation of the basis at&nbsp;some point</h2>
312
    <p>For a given point, the evaluation returns a vector of MPFR numbers that
313
      are the result of the evaluation of each element of the basis at this
314
      point.</p>
315
    <h2>Needed functions</h2>
316
    <h3>Read a text file and create a basis</h3>
317
    <p>The idea is to give the basis as a text file holding the basis:</p>
318
    <ul>
319
      <li>one basis element per line;</li>
320
      <li>the text can be converted to a Sollya function object.</li>
321
    </ul>
322
    <p>We leave the check of the file (existence, creating a handle over the
323
      file) to the calling program. The file is given a handle which makes the
324
      function more flexible. This is the input argument.</p>
325
    <p>Nevertheless, the function reads the file (and deals with all the
326
      problems related to the file contents) and tries to compute a basis from
327
      the contents.</p>
328
    <p>The function returns:</p>
329
    <ul>
330
      <li>NULL: if something goes wrong (e.g. when reading the file, when trying
331
        to create Sollya function objects from the contents);</li>
332
      <li>a pointer on a basis struture (allocated and assigned in the function
333
        body).</li>
334
    </ul>
335
    <h3>Evaluation a some point</h3>
336
    <p>We use the <span class="langElem">evaluate</span> Sollya function.</p>
337
  </body>
338
</html>