Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCVNSpline doesn't work with vector y(multiple observations) #8

Open
rainwoodman opened this issue Jun 7, 2017 · 1 comment
Open

Comments

@rainwoodman
Copy link
Contributor

The fitting works, but the evaluation fails with a strange error from the fortran wrapper.

@charlesll
Copy link
Owner

Could it be due to the fact that the C array containing spline coefficient has not the same shape in GCVSPL and SPLDER as advised by the FORTRAN doc lines 102-110?

c C(NC,K) ( O ) Spline coefficients, to be used in conjunction
c with function SPLDER. NB: the dimensions of C
c in GCVSPL and in SPLDER are different! In SPLDER
c,
c only a single column of C(N,K) is needed, and th
ce
c proper column C(1,J), with J=1...K should be use
cd
c when calling SPLDER.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants