Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93502478
fr_sq_dbl.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 29, 06:49
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Dec 1, 06:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22645292
Attached To
R1448 Lenstool-HPC
fr_sq_dbl.c
View Options
/**********************************************************/
/* */
/* FUNCTION: free_square_double */
/* */
/* PURPOSE: Frees a square of double allocated dynamically */
/* by alloc_square_double() */
/* */
/* INPUT: square = pointer to matrix of pointers */
/* nbr_lin = number of lines */
/* */
/* VERSION: 1.1 March 1992 */
/* */
/* AUTHOR: Karim BOUYOUCEF */
/* */
/**********************************************************/
#include <stdlib.h>
#include "lt.h"
/**********************************************************/
void
free_square_double
(
double
**
square
,
int
nbr_lin
)
{
register
int
i
;
if
(
square
!=
NULL
)
{
for
(
i
=
0
;
i
<
nbr_lin
;
i
++
)
free
(
square
[
i
]);
free
((
double
*
)
square
);
}
}
Event Timeline
Log In to Comment