xforms.h File Reference


Detailed Description

OSKI-Lua transformation module.

#include <oski/matrix.h>
#include <oski/lua.h>

Go to the source code of this file.

Name mangling.

#define oski_ReplaceTunedMatRepr   MANGLE_(oski_ReplaceTunedMatRepr)
#define oski_FreeInputMatRepr   MANGLE_(oski_FreeInputMatRepr)

Defines

#define INC_OSKI_XFORMS_H
 oski/xforms.h included.

Functions

int oski_ReplaceTunedMatRepr (oski_matrix_t A, oski_matspecific_t *new_mat, const char *xforms)
 Replace a matrix's tuned representation with a new one.
int oski_FreeInputMatRepr (oski_matrix_t A)
 If the given matrix has a valid tuned representation and does not share its input representation, then this routine destroys the input matrix representation.


Function Documentation

int oski_FreeInputMatRepr oski_matrix_t  A  ) 
 

If the given matrix has a valid tuned representation and does not share its input representation, then this routine destroys the input matrix representation.

Returns:
An error code on error. Otherwise, this function returns 0, regardless of whether the input matrix representation could be legally destroyed.
Todo:
Possible leak?

int oski_ReplaceTunedMatRepr oski_matrix_t  A,
oski_matspecific_t new_mat,
const char *  xforms
 

Replace a matrix's tuned representation with a new one.

Parameters:
[in,out] A Matrix whose tuned representation is to be changed.
[in] new_mat The new matrix representation.
[in] xforms The corresponding transformation string used to create 'new_mat'.
Returns:
0 on success, or an error code. Does not call the error handler.
If new_mat points to A's tuned matrix representation, this function immediately returns 0.

If A is invalid, this function returns ERR_BAD_MAT.


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