Zmieniono nazwę klasy na Interpolacja
Zaimplementowano metodę Interpolacja.oblicz() do obliczenia interpolacjI Newtona
This commit is contained in:
7
main.cpp
7
main.cpp
@@ -1,5 +1,5 @@
|
||||
#include <iostream>
|
||||
#include "newton/Newton.cpp"
|
||||
#include "interpolacja/Interpolacja.cpp"
|
||||
#include "horner/horner_class.cpp"
|
||||
|
||||
int main()
|
||||
@@ -25,9 +25,10 @@ int main()
|
||||
|
||||
// Newton test part
|
||||
|
||||
Newton first;
|
||||
first.readFromFile("newton/input.txt");
|
||||
Interpolacja first;
|
||||
first.readFromFile("interpolacja/input.txt");
|
||||
// first.wyswietl_x_y();
|
||||
first.oblicz();
|
||||
first.wyswietl_tabela();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user