copy.c File Reference


Detailed Description

Test matrix and vector handle copying.

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <oski/common.h>
#include <oski/matcreate.h>
#include <oski/matmult.h>
#include "array_util.h"

Functions

static oski_matrix_t create_matrix (void)
static oski_vecview_t create_vector (oski_value_t *src, oski_index_t len)
static void test_should_pass_1 (void)
static void tests_should_pass (void)
int main (int argc, char *argv[])

Variables

static oski_index_t Aptr [] = { 0, 0, 1, 2 }
static oski_index_t Aind [] = { 0, 0 }
static oski_value_t Aval []
static oski_value_t x []
static oski_value_t y []
static oski_value_t t []


Variable Documentation

oski_value_t Aval[] [static]
 

Initial value:

  { MAKE_VAL_COMPLEX (-2, 0), MAKE_VAL_COMPLEX (0.5, 0) }

oski_value_t t[] [static]
 

Initial value:

 {
  MAKE_VAL_COMPLEX (-1, 0),
  MAKE_VAL_COMPLEX (-1, 0),

}

oski_value_t x[] [static]
 

Initial value:

 {
  MAKE_VAL_COMPLEX (.25, 0),
  MAKE_VAL_COMPLEX (.45, 0),

}

oski_value_t y[] [static]
 

Initial value:

 {
  MAKE_VAL_COMPLEX (1, 0),
  MAKE_VAL_COMPLEX (1, 0),

}


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