DGtal 1.3.0
|
#include <iostream>
#include <iomanip>
#include <sstream>
#include "DGtal/base/Common.h"
#include "DGtal/math/MPolynomial.h"
#include "DGtal/io/readers/MPolynomialReader.h"
Go to the source code of this file.
Functions | |
template<typename Ring > | |
MPolynomial< 3, Ring, std::allocator< Ring > > | durchblick () |
double | durchblickC (const double &x, const double &y, const double z) |
bool | testMPolynomialSpeed (double step=0.01) |
bool | testMPolynomial () |
int | main (int, char **) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class Signal.
This file is part of the DGtal library.
Definition in file testMPolynomial.cpp.
MPolynomial< 3, Ring, std::allocator< Ring > > durchblick | ( | ) |
Durchblick polynomial: x3y+xz3+y3z+z3+5z
Definition at line 51 of file testMPolynomial.cpp.
double durchblickC | ( | const double & | x, |
const double & | y, | ||
const double | z | ||
) |
Definition at line 63 of file testMPolynomial.cpp.
Referenced by testMPolynomialSpeed().
int main | ( | int | , |
char ** | |||
) |
Definition at line 191 of file testMPolynomial.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), testMPolynomial(), testMPolynomialSpeed(), and DGtal::trace.
bool testMPolynomial | ( | ) |
Example of a test. To be completed.
Definition at line 138 of file testMPolynomial.cpp.
References DGtal::Trace::beginBlock(), DGtal::MPolynomial< n, TRing, TAlloc >::degree(), DGtal::Trace::endBlock(), DGtal::gcd(), DGtal::Trace::info(), DGtal::MPolynomial< n, TRing, TAlloc >::leading(), and DGtal::trace.
Referenced by main().
bool testMPolynomialSpeed | ( | double | step = 0.01 | ) |
Example of a test. To be completed.
Definition at line 72 of file testMPolynomial.cpp.
References DGtal::Trace::beginBlock(), durchblickC(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.
Referenced by main().