matrix.c File Reference


Detailed Description

Matrix handle implementation.

The interfaces specifies the creation of handles from concrete array representations (e.g., CSR & CSC format).

#include <assert.h>
#include <oski/config.h>
#include <oski/common.h>
#include <oski/matrix.h>

Functions

oski_matstruct_toski_CreateMatStruct (void)
 Returns a newly allocated matrix structure.
static void DumpTrace (oski_trace_t trace, const oski_matcommon_t *props)
 Dump the contents of a matrix handle's trace (DEBUGGING ONLY).
void oski_DestroyMatStruct (oski_matstruct_t *A)
 Free a matrix structure (but not its child data structures).


Function Documentation

oski_matstruct_t* oski_CreateMatStruct void   ) 
 

Returns a newly allocated matrix structure.

Returns:
A new matrix structure, or NULL on memory allocation error.
See also:
oski_DestroyMatStruct()

void oski_DestroyMatStruct oski_matstruct_t A  ) 
 

Free a matrix structure (but not its child data structures).

Parameters:
[in,out] A Matrix object/handle.
See also:
oski_CreateMatStruct()


Generated on Wed Sep 19 16:41:22 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6