Qwt User's Guide: qwt_spline_polynomial.cpp Source File

Qwt User's Guide 6.3.0

Loading...
Searching...
No Matches
qwt_spline_polynomial.cpp
1/******************************************************************************
2 * Qwt Widget Library
3 * Copyright (C) 1997 Josef Wilgen
4 * Copyright (C) 2002 Uwe Rathmann
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the Qwt License, Version 1.0
8 *****************************************************************************/
9
10#include "qwt_spline_polynomial.h"
11
12namespace
13{
14 static const struct RegisterQwtSplinePolynomial
15 {
16 inline RegisterQwtSplinePolynomial()
17 { qRegisterMetaType< QwtSplinePolynomial >(); }
18
19 } qwtRegisterQwtSplinePolynomial;
20}
21
22#ifndef QT_NO_DEBUG_STREAM
23
24#include <qdebug.h>
25
26QDebug operator<<( QDebug debug, const QwtSplinePolynomial& polynomial )
27{
28 debug.nospace() << "Polynom(" << polynomial.c3 << ", "
29 << polynomial.c2 << ", " << polynomial.c1 << ")";
30 return debug.space();
31}
32
33#endif
34
QwtSplinePolynomial
A cubic polynomial without constant term.
Definition qwt_spline_polynomial.h:31
QwtSplinePolynomial::c1
double c1
coefficient of the linear summand
Definition qwt_spline_polynomial.h:64
QwtSplinePolynomial::c3
double c3
coefficient of the cubic summand
Definition qwt_spline_polynomial.h:58
QwtSplinePolynomial::c2
double c2
coefficient of the quadratic summand
Definition qwt_spline_polynomial.h:61