mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 22:35:45 +00:00
give it a default constructor
This commit is contained in:
parent
56e793a265
commit
790888bdf4
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class UniformNaturalCubicSpline
|
|||
OTYPE A[KNOTS-1], B[KNOTS-1], C[KNOTS-1], D[KNOTS-1];
|
||||
ITYPE x0, dx;
|
||||
public:
|
||||
UniformNaturalCubicSpline() = default;
|
||||
UniformNaturalCubicSpline(OTYPE *y, ITYPE x0 = 0, ITYPE dx = 1, int STRIDE = 1) : x0(x0), dx(dx)
|
||||
{
|
||||
ITYPE u[KNOTS-1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue