/usr/share/netgen/libsrc/linalg/polynomial.hpp is in netgen-headers 4.9.13.dfsg-8build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #ifndef FILE_POLYNOMIAL
#define FILE_POLYNOMIAL
/* *************************************************************************/
/* File: polynomial.hh */
/* Author: Joachim Schoeberl */
/* Date: 25. Nov. 99 */
/* *************************************************************************/
class QuadraticPolynomial1V
{
double c, cx, cxx;
public:
QuadraticPolynomial1V (double ac, double acx, double acxx);
double Value (double x);
double MaxUnitInterval ();
};
class LinearPolynomial2V
{
double c, cx, cy;
public:
LinearPolynomial2V (double ac, double acx, double acy);
friend class QuadraticPolynomial2V;
};
class QuadraticPolynomial2V
{
double c, cx, cy, cxx, cxy, cyy;
public:
QuadraticPolynomial2V ();
QuadraticPolynomial2V (double ac, double acx, double acy,
double acxx, double acxy, double acyy);
void Square (const LinearPolynomial2V & lp);
void Add (double lam, const QuadraticPolynomial2V & qp);
double Value (double x, double y);
// double MinUnitSquare ();
double MaxUnitSquare ();
double MaxUnitTriangle ();
};
#endif
|