From e5dfb045b994e1ab8fef9ef5d3f02ce20ea6b685 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 13 Dec 2021 16:55:42 -0500 Subject: many more renames --- .vim/c-support/codesnippets/calloc_double_matrix.c | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 .vim/c-support/codesnippets/calloc_double_matrix.c (limited to '.vim/c-support/codesnippets/calloc_double_matrix.c') diff --git a/.vim/c-support/codesnippets/calloc_double_matrix.c b/.vim/c-support/codesnippets/calloc_double_matrix.c deleted file mode 100644 index ec71658..0000000 --- a/.vim/c-support/codesnippets/calloc_double_matrix.c +++ /dev/null @@ -1,36 +0,0 @@ - -/* - * === FUNCTION ====================================================================== - * Name: calloc_double_matrix - * Description: Allocate a dynamic double-matrix of size rows*columns; - * return a pointer. - * ===================================================================================== - */ - double** -calloc_double_matrix ( int rows, int columns ) -{ - int i; - double **m; - m = calloc ( rows, sizeof(double*) ); /* allocate pointer array */ - assert( m != NULL); /* abort if allocation failed */ - *m = calloc ( rows*columns, sizeof(double) );/* allocate data array */ - assert(*m != NULL); /* abort if allocation failed */ - for ( i=1; i