Returns the number of outputs (functions of the same inputs) of the
spline: 1 for a spline initialized with a single function, and nf
for one initialized with nf functions (the last dimension of fcn).
Returns 0 if the class is not initialized.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bspline_class), | intent(in) | :: | me |
the spline |
number of outputs
pure function number_of_outputs(me) result(nf) implicit none class(bspline_class),intent(in) :: me !! the spline integer(ip) :: nf !! number of outputs nf = me%nf end function number_of_outputs