SuperLU 6.0.1
Functions
dreadtriple_noheader.c File Reference

Read matrix in triplet format. More...

#include <stdio.h>
#include "slu_ddefs.h"
Include dependency graph for dreadtriple_noheader.c:

Functions

void dreadtriple_noheader (int *m, int *n, int_t *nonz, double **nzval, int_t **rowind, int_t **colptr)
 Read matrix in triplet format from stdin. More...
 

Function Documentation

◆ dreadtriple_noheader()

void dreadtriple_noheader ( int *  m,
int *  n,
int_t nonz,
double **  nzval,
int_t **  rowind,
int_t **  colptr 
)

File format: Triplet in a line for each nonzero entry:

row col value

or

row col real_part imaginary_part
Parameters
[out]mNumber of rows in the matrix
[out]nNumber of columns in the matrix
[out]nonzNumber of non-zero entries in the matrix
[out]rowindContains the row subscripts of nonzeros in columns of matrix A
[out]nzvalThe numerical values
[out]colptrColumn i of A is given by (*nzval)[k], k = (*rowind)[i],...,(*rowind)[i+1]-1.
Here is the call graph for this function: