module.h File Reference

Compressed sparse column implementation. More...

#include <oski/matmodexport.h>
#include <oski/CSC/format.h>
#include <oski/inmatprop.h>

Go to the source code of this file.

Defines

#define INC_OSKI_CSC_MODULE_H
 oski/CSC/module.h included.
Name mangling.
#define oski_WrapCSC_funcpt   MANGLE_(oski_WrapCSC_funcpt)
#define oski_WrapCSC   MANGLE_MOD_(oski_WrapCSC)

Typedefs

typedef oski_matCSC_t *(* oski_WrapCSC_funcpt )(oski_matcommon_t *out_props, oski_index_t *Aptr, oski_index_t *Aind, oski_value_t *Aval, oski_index_t num_rows, oski_index_t num_cols, oski_inmatpropset_t *props, oski_copymode_t mode)
 Function pointer type for oski_WrapCSC().

Functions

oski_matCSC_toski_WrapCSC (oski_matcommon_t *out_props, oski_index_t *Aptr, oski_index_t *Aind, oski_value_t *Aval, oski_index_t num_rows, oski_index_t num_cols, oski_inmatpropset_t *props, oski_copymode_t mode)
 Create a new CSC-specific wrapper around a raw CSC array representation.


Detailed Description

Compressed sparse column implementation.


Define Documentation

#define INC_OSKI_CSC_MODULE_H

oski/CSC/module.h included.


Function Documentation

oski_matCSC_t* oski_WrapCSC ( oski_matcommon_t out_props,
oski_index_t *  Aptr,
oski_index_t *  Aind,
oski_value_t *  Aval,
oski_index_t  num_rows,
oski_index_t  num_cols,
oski_inmatpropset_t props,
oski_copymode_t  mode 
)

Create a new CSC-specific wrapper around a raw CSC array representation.

Create a new CSC-specific wrapper around a raw CSC array representation.

If any of the asserted properties can be strengthened, then the parameter props (below) is changed accordingly. See oski_CheckCSR() for details.

Parameters:
[out] out_props Matrix type-independent properties, derived from the input properties props.
[in] Aptr Row pointers.
[in] Aind Column indices.
[in] Aval Non-zero values.
[in,out] props Semantic properties of the matrix represented by
[in] num_rows Number of rows.
[in] num_cols Number of columns. Aptr, Aind, and Aval.
[in] mode Specify the copy mode for the returned representation.
Precondition:
All pointer arguments are non-NULL

num_rows, num_cols are non-negative

mode is a legal value.

See also:
oski_WrapCSC_funcpt
Returns:
A matrix type-specific representation of the input matrix, or NULL on error.

References oski_matCSC_t::mat_trans, oski_DestroyMatRepr, OSKI_ERR_NOT_IMPLEMENTED, oski_Malloc, OSKI_MATTYPE_METHOD, oski_WrapCSR_funcpt, and oski_inmatpropset_t::pattern.


Generated on Fri Apr 8 22:35:19 2011 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.5.9