S3L_gen_trid_free_factors frees the internal memory setup that was reserved by a prior call to S3L_gen_trid_factor. The factors argument contains the value returned by the earlier S3L_gen_trid_factor call.
The C and Fortran syntax for S3L_gen_trid_free_factors are shown below.
#include <s3l/s3l-c.h> #include <s3l/s3l_errno-c.h> int S3L_gen_band_free_factors(factors) int *factors |
include `s3l/s3l-f.h' include `s3l/s3l_errno-f.h' subroutine S3L_gen_band_free_factors(factors, ier) integer*4 factors integer*4 ier |
factors - Pointer to the internal structure that will be freed.
This function uses the following argument for output:
ier (Fortran only) - When called from a Fortran program, this function returns error status in ier.
On success, S3L_gen_trid_free_factors returns S3L_SUCCESS.
The following condition will cause S3L_gen_trid_free_factors to terminate and return the associated error code:
S3L_ERR_ARG_SETUP - The factors value is invalid.
../examples/s3l/trid/ex_trid.c ../examples/s3l/trid-f/ex_trid.f
S3L_gen_trid_solve(3) S3L_gen_trid_factor(3)