12.07.2015 Views

Marcin Szczuka: Modele Obliczeń. Wykład 3. Maszyny RAM i ...

Marcin Szczuka: Modele Obliczeń. Wykład 3. Maszyny RAM i ...

Marcin Szczuka: Modele Obliczeń. Wykład 3. Maszyny RAM i ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Definiowanie przez przypadkiBardzo często przy definiowaniu funkcji posługujemy się definicjamiwariantowymi (np. poprzednio podane sgn). Klasa funkcji elementarnychjest tak skonstruowana, że definiowanie przez przypadki (wariantowe) jestuprawnione. Mówi o tym następujące twierdzenie:TwierdzenieNiech g 1 , . . . , g m będą elementarnymi funkcjami o n argumentach, aR⋃ 1 , . . . , R m elementarnymi relacjami n wymiarowymi takimi, żet≤m R t = N n . Wtedy funkcja⎧g 1 (x 1 , . . . , x n ) gdy (x 1 , . . . , x n ) ∈ R 1⎪⎨ g 2 (x 1 , . . . , x n ) gdy (x 1 , . . . , x n ) ∈ R 2f(x 1 , . . . , x n ) =..⎪⎩g m (x 1 , . . . , x n ) gdy (x 1 , . . . , x n ) ∈ R mtakże jest elementarna.<strong>Marcin</strong> <strong>Szczuka</strong> (MIMUW) <strong>Modele</strong> Obliczeń 2008/2009 22 / 42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!