26#ifndef _H_ALP_SPARSEBLAS_EXT_VEC
27#define _H_ALP_SPARSEBLAS_EXT_VEC
159 double *
const val,
int *
const ind
int EXTBLAS_dusvds(extblas_sparse_vector x)
Destroys the given sparse vector.
int EXTBLAS_dusv_get(const extblas_sparse_vector x, double *const val, int *const ind)
Retrieves a sparse vector entry.
extblas_sparse_vector EXTBLAS_dusv_begin(const int n)
Creates a handle to a new sparse vector that holds no entries.
int EXTBLAS_dusv_nz(const extblas_sparse_vector x, int *nz)
Retrieves the number of nonzeroes in a given finalised sparse vector.
int EXTBLAS_dusv_clear(extblas_sparse_vector x)
Removes all entries from a finalised sparse vector.
void * extblas_sparse_vector
A sparse vector.
Definition: blas_sparse_vec.h:34
int EXTBLAS_dusv_open(const extblas_sparse_vector x)
Opens a sparse vector for read-out.
int EXTBLAS_dusv_insert_entry(extblas_sparse_vector x, const double val, const int index)
Inserts a new nonzero entry into a sparse vector that is under construction.
int EXTBLAS_dusv_close(const extblas_sparse_vector x)
Closes a sparse vector read-out.
int EXTBLAS_dusv_end(extblas_sparse_vector x)
Signals the end of sparse vector construction, making the given vector ready for use.