Next: Function spline_value
Up: Module spline_module
Previous: Subroutine spline_y2calc
Contents
Index
The y2 of the spline can also be computed using
linear algebra. Following Numerical Recipes,
where , are matrices, is a vector
so
This subroutine computes these matrices, and stores them in
spline%y2_matrix1 = inv(A)*B and spline%y2_matrix0 = inv(A)*C
- this -- type(spline), intent(in)
-
- y2_matrix1 -- real(dp), dimension(:,:), intent(out)
-
- y2_matrix0 -- real(dp), dimension(:), intent(out)
-
spline_value function
gabor
2009-06-30