summaryrefslogtreecommitdiff
path: root/werteunit.inc
blob: 8e768caf4261f027ae5d7fac4cd0e9fc3ac7b9df (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
// repetitive includes for werteunit.pas

{$IFDEF tLLWerte_create}
//constructor tLLWerte.create(original: pTLLWerteSingle; ps: tExtraInfos; xMin,xMax: longint);
begin
  inherited create;
  params:=ps;
  kopiereVon(false,original,xMin,xMax);
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereVon}
//procedure tLLWerte.kopiereVon(sT: boolean; original: pTLLWerteSingle);
begin
  kopiereVon(sT,original,0,original^.params.xSteps-1);
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereVon_xMiMa}
//procedure tLLWerte.kopiereVon(sT: boolean; original: pTLLWerteSingle; xMin,xMax: longint);
begin
  kopiereVon(sT,original,xMin,xMax,0,original^.params.tSiz-1);
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereVon_xTMiMa}
//procedure tLLWerte.kopiereVon(sT: boolean; original: pTLLWerteSingle; xMin,xMax,tMin,tMax: longint);
var
  i,j: longint;
begin
  inherited create;
  tMax:=min(tMax,original^.params.tSiz-1);
  tMin:=max(tMin,0);
  params.tSiz:=tMax+1-tMin;
  xMax:=min(xMax,original^.params.xSteps-1);
  xMin:=max(xMin,0);
  params.xSteps:=xMax+1-xMin;
  zerstoereTransformationWennObsolet(params.transformationen);
  params.transformationen:=tKoordinatenAusschnitt.create(original^.params.transformationen,xMin,xMax,tMin,tMax);
  params.maxW:=0;
  params.minW:=0;
  params.np:=original^.params.np;
  params.beta:=original^.params.beta;
  params.refreshKnownValues;
  if not sT then begin
    holeRAM(0);
    for i:=xMin to xMax do
      for j:=tMin to tMax do
        werte[i-xMin+(j-tMin)*params.xSteps]:=original^.werte[i+j*original^.params.xSteps];
  end;
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereVonNach}
//procedure tLLWerte.kopiereVonNach(original: pTLLWerteSingle; qxmin,qxmax,qtmin,qtmax,zxmin,ztmin: longint);
var
  i,j: longint;
begin
  inherited create;
  for i:=qxmin to qxmax do
    for j:=qtmin to qtmax do
      werte[i-qxmin+zxmin + (j-qtmin+ztmin)*params.xSteps]:=
        original^.werte[i+j*original^.params.xSteps];
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereVerzerrt}
//procedure tLLWerte.kopiereVerzerrt(original: pTLLWerteSingle; zPs: tIntPointArray; zGs: tExtPointArray; zAs: tExtendedArray; xMin,xMax,tMin,tMax: longint; vB,nB: tTransformation; vA,nA: longint);
var
  i,j,k: longint;
  tmp:   extended;
begin
  for i:=tMin to tMax do
    for j:=xMin to xMax do
      werte[j+i*params.xSteps]:=0;
  for i:=0 to length(zPs)-1 do
    for j:=0 to 1 do
      for k:=0 to 1 do
        if (zPs[i]['x']+j>=xMin) and (zPs[i]['x']+j<=xMax) and
            (zPs[i]['y']+k>=tMin) and (zPs[i]['y']+k<=tMax) then begin
          tmp:=original^.werte[i];
          if (vA>0) or (nA>0) then
            tmp:=(tmp-original^.params.minW)/(original^.params.maxW-original^.params.minW);
          if vA>0 then
            vB.transformiereWert(tmp,vA-1);
          tmp:=tmp * (zGs[i]['x'] * (2*j-1) + 1-j) * (zGs[i]['y'] * (2*k-1) + 1-k);
          werte[zPs[i]['x']+j + (zPs[i]['y']+k)*params.xSteps]:=
            werte[zPs[i]['x']+j + (zPs[i]['y']+k)*params.xSteps] +
            tmp;
        end;
  for i:=tMin to tMax do
    for j:=xMin to xMax do begin
      tmp:=werte[j + i*params.xSteps] / zAs[j + i*params.xSteps];
      if nA>0 then
        tmp:=nB.transformiereWert(tmp,nA-1);
      werte[j + i*params.xSteps]:=tmp;
    end;
end;
{$ENDIF}

{$IFDEF tLLWerte_kopiereLOVerzerrt}
//procedure tLLWerte.kopiereLOVerzerrt(original: pTLLWerteSingle; xMin,xMax,tMin,tMax: longint; verhHo,verhVe: extended);
var
  i,j,hV,hB,vV,vB,h,v: int64;
begin
  gibAus(intToStr(xMin)+' .. '+intToStr(xMax)+' x '+intToStr(tMin)+' .. '+intToStr(tMax),1);
  for i:=tMin to tMax do begin
    if verhVe>0 then begin
      vV:=max(
        0,
        round(
          (params.tSiz-1-i+0.5)/
          (1 + (i+0.5)/verhVe/(params.tSiz-1))
        )
      );
      vB:=min(
        params.tSiz-1,
        round(
          (params.tSiz-1-i+0.5)/
          (1 + (i-0.5)/verhVe/(params.tSiz-1))
        )
      );
    end
    else begin
      vV:=i;
      vB:=i;
    end;
    for j:=xMin to xMax do begin
      if verhHo>0 then begin
        hV:=max(
          0,
          round(
            (params.xSteps-1-(j+0.5))/
            (1 + (j+0.5)/verhHo/(params.xSteps-1))
          )
        );
        hB:=min(
          params.xSteps-1,
          round(
            (params.xSteps-1-(j-0.5))/
            (1 + (j-0.5)/verhHo/(params.xSteps-1))
          )
        );
      end
      else begin
        hV:=j;
        hB:=j;
      end;
      werte[j+i*params.xSteps]:=0;
      for h:=hV to hB do
        for v:=vV to vB do
          werte[j+i*params.xSteps]:=
            werte[j+i*params.xSteps]+
            original^.werte[h+v*params.xSteps];
      if (hB>=hV) and (vB>=vV) then
        werte[j+i*params.xSteps]:=
          werte[j+i*params.xSteps] / (hB+1-hV) / (vB+1-vV);
    end;
  end;
end;
{$ENDIF}

{$IFDEF tLLWerte_integriere}
//procedure tLLWerte.integriereSingle(qu: pTLLWerteSingle; xMi,xMa,tMi,tMa,xOf,tOf: longint; richtung: tIntegrationsRichtung);
var
  i,j:        longint;
  int,faktor: extended;
begin
  case richtung of
    irHorizontal: begin
      faktor:=(qu^.params.xStop-qu^.params.xStart)/(qu^.params.xSteps-1);
      for i:=tMi to tMa do begin
        int:=0;
        for j:=0 to xMi-1 do
          int:=int+qu^.werte[j + i*qu^.params.xSteps];
        for j:=xMi to xMa do begin
          int:=int+qu^.werte[j + i*qu^.params.xSteps];
          werte[j-xOf + (i-tOf)*params.xSteps]:=int*faktor;
        end;
      end;
    end;
    irEinfall: begin
      faktor:=
        sqrt(
          sqr((qu^.params.xStop-qu^.params.xStart)/(qu^.params.xSteps-1)) +
          sqr((qu^.params.tStop-qu^.params.tStart)/(qu^.params.tSiz-1)));
      gibAus('dx = '+floatToStr((qu^.params.xStop-qu^.params.xStart)/(qu^.params.xSteps-1)),1);
      gibAus('dt = '+floatToStr((qu^.params.tStop-qu^.params.tStart)/(qu^.params.tSiz-1)),1);
      for i:=tMi to tMa do begin  // von links eintretendes (inkl. Ecke links unten)
        int:=0;
        for j:=1 to min(xMi,i) do
          int:=int+qu^.werte[xMi-j + (i-j)*qu^.params.xSteps];
        for j:=0 to min(tMa-i,xMa-xMi) do begin
          int:=int+qu^.werte[xMi+j + (i+j)*qu^.params.xSteps];
          werte[j+xMi-xOf + (i+j-tOf)*params.xSteps]:=int*faktor;
        end;
      end;
      for i:=xMi+1 to xMa do begin  // von unten eintretendes (exkl. Ecke links unten)
        int:=0;
        for j:=1 to min(tMi,i) do
          int:=int+qu^.werte[i-j + (tMi-j)*qu^.params.xSteps];
        for j:=0 to min(tMa-tMi,xMa-i) do begin
          int:=int+qu^.werte[i+j + (tMi+j)*qu^.params.xSteps];
          werte[i+j-xOf + (tMi+j-tOf)*params.xSteps]:=int*faktor;
        end;
      end;
    end;
    irAusfall: begin
      faktor:=
        sqrt(
          sqr((qu^.params.xStop-qu^.params.xStart)/(qu^.params.xSteps-1)) +
          sqr((qu^.params.tStop-qu^.params.tStart)/(qu^.params.tSiz-1)));
      gibAus('dx = '+floatToStr((qu^.params.xStop-qu^.params.xStart)/(qu^.params.xSteps-1)),1);
      gibAus('dt = '+floatToStr((qu^.params.tStop-qu^.params.tStart)/(qu^.params.tSiz-1)),1);
      for i:=tMi to tMa do begin  // nach links austretendes (inkl. Ecke links oben)
        int:=0;
        for j:=1 to min(xMi,qu^.params.tSiz-1-i) do
          int:=int+qu^.werte[xMi-j + (i+j)*qu^.params.xSteps];
        for j:=0 to min(i-tMi,xMa-xMi) do begin
          int:=int+qu^.werte[xMi+j + (i-j)*qu^.params.xSteps];
          werte[j+xMi-xOf + (i-j-tOf)*params.xSteps]:=int*faktor;
        end;
      end;
      for i:=xMi+1 to xMa do begin  // nach oben austretendes (exkl. Ecke links oben)
        int:=0;
        for j:=1 to min(qu^.params.tSiz-1-tMa,i) do
          int:=int+qu^.werte[i-j + (tMa+j)*qu^.params.xSteps];
        for j:=0 to min(tMa-tMi,xMa-i) do begin
          int:=int+qu^.werte[i+j + (tMa-j)*qu^.params.xSteps];
          werte[i+j-xOf + (tMa-j-tOf)*params.xSteps]:=int*faktor;
        end;
      end;
    end;
  end{of case};
end;
{$ENDIF}

{$IFDEF tLLWerte_quotient}
// procedure tLLWerte.quotioent(dend: pTLLWerteSingle; sor: pTLLWerteSingle; xMi,xMa,xOf,tMi,tMa,tOf: int64; eps: extended);
var
  i,j:        int64;
  i01,i02,o0: boolean;
begin
  i01:=true;
  i02:=true;
  o0:=true;
  for j:=tMi to tMa do begin
    if (tMa-j) mod ((tMa-tMi) div 10) = 0 then
      gibAus('Quotient-Berechnungsthread: '+intToStr(j)+'/'+intToStr(tMi)+'..'+intToStr(tMa)+' ('+intToStr(xMi)+'..'+intToStr(xMa)+')',1);
    for i:=xMi to xMa do begin
      if abs(extended(sor^.werte[(xOf+i) + (tOf+j)*sor^.params.xSteps]))<eps then
        werte[i+j*params.xSteps]:=
          dend^.werte[(xOf+i) + (tOf+j)*dend^.params.xSteps] /
          eps*sign(extended(sor^.werte[(xOf+i) + (tOf+j)*sor^.params.xSteps]))
      else
        werte[i+j*params.xSteps]:=
          dend^.werte[(xOf+i) + (tOf+j)*dend^.params.xSteps] /
          sor^.werte[(xOf+i) + (tOf+j)*sor^.params.xSteps];
      i01:=i01 and (dend^.werte[(xOf+i) + (tOf+j)*dend^.params.xSteps]=0);
      i02:=i02 and (sor^.werte[(xOf+i) + (tOf+j)*sor^.params.xSteps]=0);
      o0:=o0 and (werte[i+j*params.xSteps]=0);
    end;
  end;
  if i01 then gibAus('Nur Nullen im Dividend-Input!',1);
  if i02 then gibAus('Nur Nullen im Divisor-Input!',1);
  if o0 then gibAus('Nur Nullen im Output!',1);
end;
{$ENDIF}

{$IFDEF tLLWerte_produkt}
// procedure tLLWerte.produkt(f1: pTLLWerteSingle; f2: pTLLWerteSingle; xMi,xMa,xOf,tMi,tMa,tOf: int64; konj: boolean; daO: tFFTDatenordnung);
var
  i,j,t2,x2:               int64;
  i01,i02,o0:              boolean;
  reRe1,reRe2,reIm1,reIm2,
  imRe1,imRe2,imIm1,imIm2: extended;
begin
  t2:=params.tSiz div 2;
  x2:=params.xSteps div 2;
  if (daO<>doRes) and (
    (tMi<0) or
    (tMa>t2) or
    (tOf<>0) or
    (f1^.params.tSiz<>f2^.params.tSiz) or
    (f1^.params.tSiz<>params.tSiz) or
    (xMi<0) or
    (xMa>x2) or
    (xOf<>0) or
    (f1^.params.xSteps<>f2^.params.xSteps) or
    (f1^.params.xSteps<>params.xSteps)
  ) then
    fehler('Komplexe Werte kann ich nur in gleichen Abmessungen und vollständig multiplizieren!');

  i01:=true;
  i02:=true;
  o0:=true;
  case daO of
    doRes:
      for j:=tMi to tMa do begin
        if (tMa-j) mod ((tMa-tMi) div 10) = 0 then
          gibAus('Produkt-Berechnungsthread: '+intToStr(j)+'/'+intToStr(tMi)+'..'+intToStr(tMa)+' ('+intToStr(xMi)+'..'+intToStr(xMa)+')',1);
        for i:=xMi to xMa do begin
          werte[i+j*params.xSteps]:=
            f1^.werte[(xOf+i) + (tOf+j)*f1^.params.xSteps] *
            f2^.werte[(xOf+i) + (tOf+j)*f2^.params.xSteps];
          i01:=i01 and (f1^.werte[(xOf+i) + (tOf+j)*f1^.params.xSteps]=0);
          i02:=i02 and (f2^.werte[(xOf+i) + (tOf+j)*f2^.params.xSteps]=0);
          o0:=o0 and (werte[i+j*params.xSteps]=0);
        end;
      end;
    doResIms:
      for j:=tMi to tMa do begin
        if (tMa-j) mod ((tMa-tMi) div 10) = 0 then
          gibAus('Produkt-Berechnungsthread: '+intToStr(j)+'/'+intToStr(tMi)+'..'+intToStr(tMa)+' ('+intToStr(xMi)+'..'+intToStr(xMa)+')',1);
        for i:=xMi to xMa do begin
          reRe1:=f1^.werte[(xOf+i) + (tOf+j)*f1^.params.xSteps];
          reRe2:=f2^.werte[(xOf+i) + (tOf+j)*f2^.params.xSteps];
          if (j<>0) and (j<>t2) then begin
            imRe1:=f1^.werte[(xOf+i) + (tOf+j+t2)*f1^.params.xSteps];
            imRe2:=f2^.werte[(xOf+i) + (tOf+j+t2)*f2^.params.xSteps]*(1-2*byte(konj)); // z -> z* bedeutet, dass genau reIm und imRe ihr Vorzeichen ändern
          end
          else begin
            imRe1:=0;
            imRe2:=0;
          end;
          if (i<>0) and (i<>x2) then begin
            reIm1:=f1^.werte[(xOf+i+x2) + (tOf+j)*f1^.params.xSteps];
            reIm2:=f2^.werte[(xOf+i+x2) + (tOf+j)*f2^.params.xSteps]*(1-2*byte(konj));
          end
          else begin
            reIm1:=0;
            reIm2:=0;
          end;
          if (j<>0) and (j<>t2) and (i<>0) and (i<>x2) then begin
            imIm1:=f1^.werte[(xOf+i+x2) + (tOf+j+t2)*f1^.params.xSteps];
            imIm2:=f2^.werte[(xOf+i+x2) + (tOf+j+t2)*f2^.params.xSteps];
          end
          else begin
            imIm1:=0;
            imIm2:=0;
          end;

          //               |
          // reRe+imIm +   | reRe-imIm +
          // i*(imRe-reIm) | i*(-imRe-reIm)
          //               |
          // -------------------------------
          //               |
          // reRe-imIm +   | reRe+imIm +
          // i*(reIm+imRe) | i*(-imRe+reIm)
          //               |

          // Mathematica (komplexe-Matrix-Multiplikation.nb) behauptet:
          // rR3 -> iI1 iI2 - iR1 iR2 - rI1 rI2 + rR1 rR2
          // rI3 -> -iI2 iR1 - iI1 iR2 + rI2 rR1 + rI1 rR2
          // iR3 -> -iI2 rI1 - iI1 rI2 + iR2 rR1 + iR1 rR2
          // iI3 -> iR2 rI1 + iR1 rI2 + iI2 rR1 + iI1 rR2

          werte[i+j*params.xSteps]:=reRe1*reRe2 + imIm1*imIm2 - imRe1*imRe2 - reIm1*reIm2;
          if (i<>0) and (i<>x2) then begin
            werte[i+x2+j*params.xSteps]:=-reIm1*imIm2 - imIm1*reIm2 + reRe1*imRe2 + imRe1*reRe2;
            o0:=o0 and (werte[i+x2+j*params.xSteps]=0);
          end;
          if (j<>0) and (j<>t2) then begin
            werte[i+(j+t2)*params.xSteps]:=-imRe1*imIm2 - imIm1*imRe2 + reRe1*reIm2 + reIm1*reRe2;
            o0:=o0 and (werte[i+(j+t2)*params.xSteps]=0);
            if (i<>0) and (i<>x2) then begin
              werte[i+x2+(j+t2)*params.xSteps]:=reIm1*imRe2 + imRe1*reIm2 + reRe1*imIm2 + imIm1*reRe2;
              o0:=o0 and (werte[i+x2+(j+t2)*params.xSteps]=0);
            end;
          end;
          i01:=i01 and (reRe1=0) and (imRe1=0) and (reIm1=0) and (imIm1=0);
          i02:=i02 and (reRe2=0) and (imRe2=0) and (reIm2=0) and (imIm2=0);
          o0:=o0 and (werte[i+j*params.xSteps]=0);
        end;
      end;
    doResSmi:
      for j:=tMi to tMa do begin
        if (tMa-j) mod ((tMa-tMi) div 10) = 0 then
          gibAus('Produkt-Berechnungsthread: '+intToStr(j)+'/'+intToStr(tMi)+'..'+intToStr(tMa)+' ('+intToStr(xMi)+'..'+intToStr(xMa)+')',1);
        for i:=xMi to xMa do begin
          reRe1:=f1^.werte[(xOf+i) + (tOf+j)*f1^.params.xSteps];
          reRe2:=f2^.werte[(xOf+i) + (tOf+j)*f2^.params.xSteps];
          if (j<>0) and (j<>t2) then begin
            imRe1:=f1^.werte[(xOf+i) + (tOf-j+2*t2)*f1^.params.xSteps];
            imRe2:=f2^.werte[(xOf+i) + (tOf-j+2*t2)*f2^.params.xSteps]*(1-2*byte(konj));
          end
          else begin
            imRe1:=0;
            imRe2:=0;
          end;
          if (i<>0) and (i<>x2) then begin
            reIm1:=f1^.werte[(xOf-i+2*x2) + (tOf+j)*f1^.params.xSteps];
            reIm2:=f2^.werte[(xOf-i+2*x2) + (tOf+j)*f2^.params.xSteps]*(1-2*byte(konj));
          end
          else begin
            reIm1:=0;
            reIm2:=0;
          end;
          if (j<>0) and (j<>t2) and (i<>0) and (i<>x2) then begin
            imIm1:=f1^.werte[(xOf-i+2*x2) + (tOf-j+2*t2)*f1^.params.xSteps];
            imIm2:=f2^.werte[(xOf-i+2*x2) + (tOf-j+2*t2)*f2^.params.xSteps];
          end
          else begin
            imIm1:=0;
            imIm2:=0;
          end;

          //               |
          // reRe+imIm +   | reRe-imIm +
          // i*(imRe-reIm) | i*(-imRe-reIm)
          //               |
          // -------------------------------
          //               |
          // reRe-imIm +   | reRe+imIm +
          // i*(reIm+imRe) | i*(-imRe+reIm)
          //               |

          // Mathematica (komplexe-Matrix-Multiplikation.nb) behauptet:
          // rR3 -> iI1 iI2 - iR1 iR2 - rI1 rI2 + rR1 rR2
          // rI3 -> -iI2 iR1 - iI1 iR2 + rI2 rR1 + rI1 rR2
          // iR3 -> -iI2 rI1 - iI1 rI2 + iR2 rR1 + iR1 rR2
          // iI3 -> iR2 rI1 + iR1 rI2 + iI2 rR1 + iI1 rR2

          werte[i+j*params.xSteps]:=reRe1*reRe2 + imIm1*imIm2 - imRe1*imRe2 - reIm1*reIm2;
          if (i<>0) and (i<>x2) then begin
            werte[-i+2*x2+j*params.xSteps]:=-reIm1*imIm2 - imIm1*reIm2 + reRe1*imRe2 + imRe1*reRe2;
            o0:=o0 and (werte[-i+2*x2+j*params.xSteps]=0);
          end;
          if (j<>0) and (j<>t2) then begin
            werte[i+(-j+2*t2)*params.xSteps]:=-imRe1*imIm2 - imIm1*imRe2 + reRe1*reIm2 + reIm1*reRe2;
            o0:=o0 and (werte[i+(-j+2*t2)*params.xSteps]=0);
            if (i<>0) and (i<>x2) then begin
              werte[-i+2*x2+(-j+2*t2)*params.xSteps]:=reIm1*imRe2 + imRe1*reIm2 + reRe1*imIm2 + imIm1*reRe2;
              o0:=o0 and (werte[-i+2*x2+(-j+2*t2)*params.xSteps]=0);
            end;
          end;
          i01:=i01 and (reRe1=0) and (imRe1=0) and (reIm1=0) and (imIm1=0);
          i02:=i02 and (reRe2=0) and (imRe2=0) and (reIm2=0) and (imIm2=0);
          o0:=o0 and (werte[i+j*params.xSteps]=0);
        end;
      end;
    else
      fehler('Produkt ist nicht für Datenordnung '+fftDoToStr(daO)+' implementiert!');
  end{of case};
  if i01 then gibAus('Nur Nullen im 1.Faktor-Input!',1);
  if i02 then gibAus('Nur Nullen im 2.Faktor-Input!',1);
  if o0 then gibAus('Nur Nullen im Output!',1);
end;
{$ENDIF}

{$IFDEF tLLWerte_fenstereWerte_fensterMultiplikation}
  for j:=tMi to tMa do
    for i:=xMi to xMa do
      werte[i+j*params.xSteps]:=
        (
          werte[i+j*params.xSteps]
{$IFDEF hatOffset}
          -offset
{$ENDIF}
        )
{$IFDEF hatXFenster}
         *xFen.werte[i]
{$ENDIF}
{$IFDEF hatTFenster}
         *tFen.werte[j]
{$ENDIF} ;
{$ENDIF}