lsqr++/Lsqr.cpp
void free_lvec( lvec  *lng_vec )
{
  free((double *) (lng_vec->elements));
  free((lvec *) (lng_vec));
  return;
}
/*---------------------------------------------------------------*/
/*                                                               */
/*  Define the deallocation function for the vector              */
/*  created with the function 'alloc_lvec()'.                    */
/*                                                               */
/*---------------------------------------------------------------*/
Define the deallocation function for the vector
created with the function 'alloc_lvec()'.
Define the deallocation function for the vector created with the function ' alloc_lvec () ' .
void free_lvec( lvec  *lng_vec )
{
  free((double *) (lng_vec->elements));
  free((lvec *) (lng_vec));
  return;
}
void free_lvec ( lvec * lng_vec ) { free ( ( double * ) ( lng_vec -> elements ) ) ; free ( ( lvec * ) ( lng_vec ) ) ; return ; }
Define the deallocation function for the vector
created with the function 'alloc_lvec()'.
Define the deallocation function for the vector created with the function ' alloc_lvec () ' .