Blender V2.61 - r43446
Functions

sutil.c File Reference

#include <math.h>
#include "ssp_defs.h"

Go to the source code of this file.

Functions

void sprint_lu_col (char *msg, int jcol, int pivrow, int *xprune, GlobalLU_t *Glu)
void scheck_tempv (int n, float *tempv)
void sPrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, float, float, float *, float *, char *, SuperLUStat_t *)
int print_float_vec (char *what, int n, float *vec)
void sCreate_CompCol_Matrix (SuperMatrix *A, int m, int n, int nnz, float *nzval, int *rowind, int *colptr, Stype_t stype, Dtype_t dtype, Mtype_t mtype)
void sCreate_CompRow_Matrix (SuperMatrix *A, int m, int n, int nnz, float *nzval, int *colind, int *rowptr, Stype_t stype, Dtype_t dtype, Mtype_t mtype)
void sCopy_CompCol_Matrix (SuperMatrix *A, SuperMatrix *B)
void sCreate_Dense_Matrix (SuperMatrix *X, int m, int n, float *x, int ldx, Stype_t stype, Dtype_t dtype, Mtype_t mtype)
void sCopy_Dense_Matrix (int M, int N, float *X, int ldx, float *Y, int ldy)
void sCreate_SuperNode_Matrix (SuperMatrix *L, int m, int n, int nnz, float *nzval, int *nzval_colptr, int *rowind, int *rowind_colptr, int *col_to_sup, int *sup_to_col, Stype_t stype, Dtype_t dtype, Mtype_t mtype)
void sCompRow_to_CompCol (int m, int n, int nnz, float *a, int *colind, int *rowptr, float **at, int **rowind, int **colptr)
void sPrint_CompCol_Matrix (char *what, SuperMatrix *A)
void sPrint_SuperNode_Matrix (char *what, SuperMatrix *A)
void sPrint_Dense_Matrix (char *what, SuperMatrix *A)
void sGenXtrue (int n, int nrhs, float *x, int ldx)
void sFillRHS (trans_t trans, int nrhs, float *x, int ldx, SuperMatrix *A, SuperMatrix *B)
void sfill (float *a, int alen, float dval)
void sinf_norm_error (int nrhs, SuperMatrix *X, float *xtrue)

Detailed Description

Definition in file sutil.c.


Function Documentation

int print_float_vec ( char *  what,
int  n,
float *  vec 
)

Definition at line 478 of file sutil.c.

References i.

void scheck_tempv ( int  n,
float *  tempv 
)

Definition at line 342 of file sutil.c.

References ABORT, and i.

void sCompRow_to_CompCol ( int  m,
int  n,
int  nnz,
float *  a,
int *  colind,
int *  rowptr,
float **  at,
int **  rowind,
int **  colptr 
)

Definition at line 168 of file sutil.c.

References floatMalloc(), i, intCalloc(), intMalloc(), and SUPERLU_FREE.

void sCopy_CompCol_Matrix ( SuperMatrix A,
SuperMatrix B 
)
void sCopy_Dense_Matrix ( int  M,
int  N,
float *  X,
int  ldx,
float *  Y,
int  ldy 
)

Definition at line 119 of file sutil.c.

References i, M, and N.

void sCreate_CompCol_Matrix ( SuperMatrix A,
int  m,
int  n,
int  nnz,
float *  nzval,
int *  rowind,
int *  colptr,
Stype_t  stype,
Dtype_t  dtype,
Mtype_t  mtype 
)
void sCreate_CompRow_Matrix ( SuperMatrix A,
int  m,
int  n,
int  nnz,
float *  nzval,
int *  colind,
int *  rowptr,
Stype_t  stype,
Dtype_t  dtype,
Mtype_t  mtype 
)
void sCreate_Dense_Matrix ( SuperMatrix X,
int  m,
int  n,
float *  x,
int  ldx,
Stype_t  stype,
Dtype_t  dtype,
Mtype_t  mtype 
)
void sCreate_SuperNode_Matrix ( SuperMatrix L,
int  m,
int  n,
int  nnz,
float *  nzval,
int *  nzval_colptr,
int *  rowind,
int *  rowind_colptr,
int *  col_to_sup,
int *  sup_to_col,
Stype_t  stype,
Dtype_t  dtype,
Mtype_t  mtype 
)
void sfill ( float *  a,
int  alen,
float  dval 
)

Definition at line 396 of file sutil.c.

References i.

Referenced by sSetRWork().

void sFillRHS ( trans_t  trans,
int  nrhs,
float *  x,
int  ldx,
SuperMatrix A,
SuperMatrix B 
)

Definition at line 370 of file sutil.c.

References DNformat::lda, NOTRANS, DNformat::nzval, sp_sgemm(), and SuperMatrix::Store.

void sGenXtrue ( int  n,
int  nrhs,
float *  x,
int  ldx 
)

Definition at line 357 of file sutil.c.

References i.

void sinf_norm_error ( int  nrhs,
SuperMatrix X,
float *  xtrue 
)
void sPrint_CompCol_Matrix ( char *  what,
SuperMatrix A 
)
void sPrint_Dense_Matrix ( char *  what,
SuperMatrix A 
)
void sprint_lu_col ( char *  msg,
int  jcol,
int  pivrow,
int *  xprune,
GlobalLU_t Glu 
)
void sPrint_SuperNode_Matrix ( char *  what,
SuperMatrix A 
)
void sPrintPerf ( SuperMatrix L,
SuperMatrix U,
mem_usage_t mem_usage,
float  rpg,
float  rcond,
float *  ferr,
float *  berr,
char *  equed,
SuperLUStat_t stat 
)