kig
#include <cmath>
Go to the source code of this file.
Functions | |
void | BackwardSubstitution (double *matrix[], int numrows, int numcols, int scambio[], double solution[]) |
double | calcCubicRoot (double xmin, double xmax, double a, double b, double c, double d, int root, bool &valid, int &numroots) |
double | calcCubicRootwithNewton (double ymin, double ymax, double a, double b, double c, double d, double tol) |
int | calcCubicVariations (double x, double a, double b, double c, double d, double p1a, double p1b, double p0a) |
bool | GaussianElimination (double *matrix[], int numrows, int numcols, int scambio[]) |
bool | Invert3by3matrix (const double m[3][3], double inv[3][3]) |
Function Documentation
void BackwardSubstitution | ( | double * | matrix[], |
int | numrows, | ||
int | numcols, | ||
int | scambio[], | ||
double | solution[] | ||
) |
Definition at line 340 of file kignumerics.cpp.
double calcCubicRoot | ( | double | xmin, |
double | xmax, | ||
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
int | root, | ||
bool & | valid, | ||
int & | numroots | ||
) |
This file is part of Kig, a KDE program for Interactive Geometry...
Copyright (C) 2002 Maurizio Paolini paoli ni@d mf.un icat t.it
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 32 of file kignumerics.cpp.
double calcCubicRootwithNewton | ( | double | ymin, |
double | ymax, | ||
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | tol | ||
) |
Definition at line 206 of file kignumerics.cpp.
int calcCubicVariations | ( | double | x, |
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | p1a, | ||
double | p1b, | ||
double | p0a | ||
) |
Definition at line 164 of file kignumerics.cpp.
bool GaussianElimination | ( | double * | matrix[], |
int | numrows, | ||
int | numcols, | ||
int | scambio[] | ||
) |
Gaussian Elimination.
We return false if the matrix is singular, and can't be usefully eliminated..
Definition at line 271 of file kignumerics.cpp.
bool Invert3by3matrix | ( | const double | m[3][3], |
double | inv[3][3] | ||
) |
Definition at line 372 of file kignumerics.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.