Opened 15 years ago

Closed 15 years ago

## #466 closed enhancement (fixed)

# Add interface to GSL interpolation functionality

Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|

Priority: | major | Milestone: | yat 0.5 |

Component: | regression | Version: | trunk |

Keywords: | Cc: |

### Description (last modified by )

http://www.gnu.org/software/gsl/manual/html_node/Interpolation.html

The GSLInterpolation class should throw GSL_error not gsl_status.

### Change History (19)

### comment:1 Changed 15 years ago by

### comment:2 Changed 15 years ago by

Status: | new → assigned |
---|

### comment:3 Changed 15 years ago by

(In [1644]) Addresses #466. Changed to VectorBase? passing. Added documentation.

### comment:4 Changed 15 years ago by

### comment:6 follow-up: 9 Changed 15 years ago by

### comment:7 Changed 15 years ago by

### comment:9 follow-up: 10 Changed 15 years ago by

Replying to jari:

(In [1647]) Addresses #466. Added more interpolation algorithms. The full set of GSL 1.11 interpolation methods is now interfaced.

Hm, this comment was a bit misleading. Does yat require GSL 1.11? No, I successfully compiled against GSL 1.10. So what is really required? Is GSL 1.8 still sufficient or do we need to update configure and documentation?

### comment:10 follow-up: 11 Changed 15 years ago by

Replying to peter:

Replying to jari:

(In [1647]) Addresses #466. Added more interpolation algorithms. The full set of GSL 1.11 interpolation methods is now interfaced.

Hm, this comment was a bit misleading. Does yat require GSL 1.11? No, I successfully compiled against GSL 1.10. So what is really required? Is GSL 1.8 still sufficient or do we need to update configure and documentation?

It may be misleading but I do not state that 1.11 is required, and this was by purpose. It was meant to say that if you use 1.11 you will not have any problems. I based my coding on GSL 1.11, and you have now tested 1.10. Being lazy and I prefer not to dig up 1.8 docs to verify that 1.8 has the same interpolation interface as 1.10 the easy option is to require 1.10.

### comment:11 Changed 15 years ago by

Replying to jari:

Replying to peter:

Replying to jari:

(In [1647]) Addresses #466. Added more interpolation algorithms. The full set of GSL 1.11 interpolation methods is now interfaced.

Hm, this comment was a bit misleading. Does yat require GSL 1.11? No, I successfully compiled against GSL 1.10. So what is really required? Is GSL 1.8 still sufficient or do we need to update configure and documentation?

It may be misleading but I do not state that 1.11 is required, and this was by purpose. It was meant to say that if you use 1.11 you will not have any problems. I based my coding on GSL 1.11, and you have now tested 1.10. Being lazy and I prefer not to dig up 1.8 docs to verify that 1.8 has the same interpolation interface as 1.10 the easy option is to require 1.10.

Yes, your statement is, of course, correct. I checked the NEWS file in GSL and AFAICS there is no change in interpolation functions (except some bug fixes) after GSL 1.1, so I think we could stay with requirement GSL 1.8.

### comment:12 Changed 15 years ago by

### comment:13 follow-up: 14 Changed 15 years ago by

### comment:14 follow-up: 15 Changed 15 years ago by

### comment:15 Changed 15 years ago by

### comment:17 Changed 15 years ago by

Description: | modified (diff) |
---|

### comment:18 Changed 15 years ago by

### comment:19 Changed 15 years ago by

Resolution: | → fixed |
---|---|

Status: | assigned → closed |

**Note:**See TracTickets for help on using tickets.

(In [1643]) Addresses #466 and #425. Added cubic spline interpolation (not complete interface to GSL interpolation stuff).