The unified diff between revisions [056a532c..] and [bfc9e27f..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'matrix.c'
# # old_revision [056a532c92301bcb224e1f786c5f6720e8acf3eb] # new_revision [bfc9e27f5c40da31ae4269394aaf0545e5856a70] # # patch "matrix.c" # from [7aac09561911cbe10901d55f177c6c7e5177729c] # to [246bbd7b44ea1719092ce2d32c764a7b53131e04] # ============================================================ --- matrix.c 7aac09561911cbe10901d55f177c6c7e5177729c +++ matrix.c 246bbd7b44ea1719092ce2d32c764a7b53131e04 @@ -19,6 +19,7 @@ void matrix_multiply(float *dest, float } } +#if 0 /* dest[r][c] = m1[r][n] * m2[c][n] */ void matrix_multiply_t(float *dest, float *m1, float *m2, int r, int c, int n) { @@ -33,6 +34,7 @@ void matrix_multiply_t(float *dest, floa } } } +#endif /* dest[r][c] = m1[r][c] + m2[r][c] */ void matrix_add(float *dest, float *m1, float *m2, int r, int c) @@ -64,6 +66,7 @@ void dump_matrix(float *m, int r, int c) } #endif +#if 0 /* Invert src into dst. * NOTE: destroys the src matrix */ @@ -145,3 +148,4 @@ void matrix_invert(float *dst, float *sr /* src should now be the identiy matrix while dst holds the answer */ } +#endif