DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦622f722b9⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »tsymsol«

Derivation

└─⟦00964e8f7⟧ Bits:30007478 RC8000 Dump tape fra HCØ.
    └─⟦b2ec5d50f⟧ 
        └─⟦09b4e9619⟧ »thcømat« 
            └─⟦this⟧ 

TextFile

\f


message symsol

symsol=algol message.no
external
procedure symsol(n,a,x,b);
value n; integer n; array a,b,x;
begin
  integer i,k,t;
  real y;
  t:=0;
  for i:=1 step 1 until n do 
  begin
    y:=b(i);
    for k:=i-1 step -1 until 1 do y:=y-a(t+k)*x(k);
    x(i):=y;
    t:=t+i 
  end;
  for i:=n step -1 until 1 do 
  begin
    t:=i*(i+1)/2;
    y:=x(i)*a(t);
    for k:= i+1 step 1 until n do 
    begin
      y:=y-a(t+i)*x(k);
      t:=t+k 
    end;
    x(i):=y 
  end
end symsol
; end
▶EOF◀