ScaMaC
0.8.2
A Scalable Matrix Collection
|
Dense matrix manipulation. More...
#include "scamac_error.h"
#include "scamac_defs.h"
#include "scamac_inttypes.h"
#include <complex.h>
Go to the source code of this file.
Functions | |
ScamacErrorCode | scamac_densemat_alloc (ScamacInt nr, ScamacInt nc, ScamacValType valtype, void **dm) |
Allocate dense matrix. More... | |
ScamacErrorCode | scamac_densemat_permute_columns (char dir, ScamacInt nr, ScamacInt nc, double *dm, ScamacInt *perm) |
ScamacErrorCode | scamac_densemat_permute_rows (char dir, ScamacInt nr, ScamacInt nc, double *dm, ScamacInt *perm) |
ScamacErrorCode | scamac_densemat_cplx_permute_rows (char dir, ScamacInt nr, ScamacInt nc, double complex *dm, ScamacInt *perm) |
Dense matrix manipulation.
ScamacErrorCode scamac_densemat_alloc | ( | ScamacInt | nr, |
ScamacInt | nc, | ||
ScamacValType | valtype, | ||
void ** | dm | ||
) |
Allocate dense matrix.
ScamacErrorCode scamac_densemat_cplx_permute_rows | ( | char | dir, |
ScamacInt | nr, | ||
ScamacInt | nc, | ||
double complex * | dm, | ||
ScamacInt * | perm | ||
) |
perm: vector nr
ScamacErrorCode scamac_densemat_permute_columns | ( | char | dir, |
ScamacInt | nr, | ||
ScamacInt | nc, | ||
double * | dm, | ||
ScamacInt * | perm | ||
) |
dir = 'f/F'orward, 'b/B'ackward perm: vector nc
ScamacErrorCode scamac_densemat_permute_rows | ( | char | dir, |
ScamacInt | nr, | ||
ScamacInt | nc, | ||
double * | dm, | ||
ScamacInt * | perm | ||
) |
perm: vector nr