lsqr++/Lsqr.cpp
void free_dvec( dvec  *dbl_vec )
{
  free((double *) (dbl_vec->elements));
  free((dvec *) (dbl_vec));
  return;
}
/*---------------------------------------------------------------*/
/*                                                               */
/*  Define the deallocation function for the vector              */
/*  created with the function 'alloc_dvec()'.                    */
/*                                                               */
/*---------------------------------------------------------------*/
Define the deallocation function for the vector
created with the function 'alloc_dvec()'.
Define the deallocation function for the vector created with the function ' alloc_dvec () ' .
void free_dvec( dvec  *dbl_vec )
{
  free((double *) (dbl_vec->elements));
  free((dvec *) (dbl_vec));
  return;
}
void free_dvec ( dvec * dbl_vec ) { free ( ( double * ) ( dbl_vec -> elements ) ) ; free ( ( dvec * ) ( dbl_vec ) ) ; return ; }
Define the deallocation function for the vector
created with the function 'alloc_dvec()'.
Define the deallocation function for the vector created with the function ' alloc_dvec () ' .