JWS C Library
C language utility library
|
Definitions for matrix utility functions. More...
#include <jwsc/config.h>
#include <stdlib.h>
#include <inttypes.h>
#include <math.h>
#include <assert.h>
#include "jwsc/matrix/matrix.h"
Go to the source code of this file.
Functions | |
extend_matrix | |
Extends an matrix into a padding region. | |
Error * | extend_matrix_f (Matrix_f **mat_out, const Matrix_f *mat_in, uint32_t row_padding, uint32_t col_padding) |
Extends a single precision matrix into a padding region. |
Definitions for matrix utility functions.
Definition in file matrix_util.c.
Error* extend_matrix_f | ( | Matrix_f ** | mat_out, |
const Matrix_f * | mat_in, | ||
uint32_t | row_padding, | ||
uint32_t | col_padding | ||
) |
Extends a single precision matrix into a padding region.
mat_out | Result parameter. If *mat_out is NULL, a matrix is allocated; otherwise its space is re-used. |
mat_in | Matrix to extend. |
row_padding | Number or rows for padding on top and bottom. |
col_padding | Number of columns for padding on left and right. |
Definition at line 73 of file matrix_util.c.