qwt_spline_polynomial.cpp
Go to the documentation of this file.
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 
12 namespace
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 
26 QDebug 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:30
qwt_spline_polynomial.h
QwtSplinePolynomial::c2
double c2
coefficient of the quadratic summand
Definition: qwt_spline_polynomial.h:68
QwtSplinePolynomial::c3
double c3
coefficient of the cubic summand
Definition: qwt_spline_polynomial.h:65
QwtSplinePolynomial::c1
double c1
coefficient of the linear summand
Definition: qwt_spline_polynomial.h:71
operator<<
QDebug operator<<(QDebug debug, const QwtSplinePolynomial &polynomial)
Definition: qwt_spline_polynomial.cpp:26


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:25