SRC/pdutil.c File Reference

Several matrix utilities. More...

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

Functions/Subroutines

int pdCompRow_loc_to_CompCol_global (int_t need_value, SuperMatrix *A, gridinfo_t *grid, SuperMatrix *GA)
 Gather A from the distributed compressed row format to global A in compressed column format.
int pdPermute_Dense_Matrix (int_t fst_row, int_t m_loc, int_t row_to_proc[], int_t perm[], double X[], int ldx, double B[], int ldb, int nrhs, gridinfo_t *grid)
 Permute the distributed dense matrix: B <= perm(X). perm[i] = j means the i-th row of X is in the j-th row of B.
int dSolveInit (superlu_options_t *options, SuperMatrix *A, int_t perm_r[], int_t perm_c[], int_t nrhs, LUstruct_t *LUstruct, gridinfo_t *grid, SOLVEstruct_t *SOLVEstruct)
 Initialize the data structure for the solution phase.
void dSolveFinalize (superlu_options_t *options, SOLVEstruct_t *SOLVEstruct)
 Release the resources used for the solution phase.
void pdinf_norm_error (int iam, int_t n, int_t nrhs, double x[], int_t ldx, double xtrue[], int_t ldxtrue, gridinfo_t *grid)
 Check the inf-norm of the error vector.


Detailed Description

 -- Distributed SuperLU routine (version 2.0) --
 Lawrence Berkeley National Lab, Univ. of California Berkeley.
 March 15, 2003
 

Function Documentation

void dSolveFinalize ( superlu_options_t options,
SOLVEstruct_t SOLVEstruct 
)

int dSolveInit ( superlu_options_t options,
SuperMatrix A,
int_t  perm_r[],
int_t  perm_c[],
int_t  nrhs,
LUstruct_t LUstruct,
gridinfo_t grid,
SOLVEstruct_t SOLVEstruct 
)

int pdCompRow_loc_to_CompCol_global ( int_t  need_value,
SuperMatrix A,
gridinfo_t grid,
SuperMatrix GA 
)

void pdinf_norm_error ( int  iam,
int_t  n,
int_t  nrhs,
double  x[],
int_t  ldx,
double  xtrue[],
int_t  ldxtrue,
gridinfo_t grid 
)

int pdPermute_Dense_Matrix ( int_t  fst_row,
int_t  m_loc,
int_t  row_to_proc[],
int_t  perm[],
double  X[],
int  ldx,
double  B[],
int  ldb,
int  nrhs,
gridinfo_t grid 
)


Generated on Tue Aug 30 14:36:33 2011 for SuperLUDistributed by  doxygen 1.5.5