oski_permstruct_t Struct Reference
[Public Interface]

Generic row/column permutation structure. More...

#include <perm.h>


Data Fields

oski_index_t length
 $n$
oski_index_t * perm
 $y\leftarrow Px$ ==> y[i]=x[perm[i]]


Detailed Description

Generic row/column permutation structure.

This data structure stores an $n\times n$ permutation matrix $P$ in an array 'perm' such that the operation $y \leftarrow Px$ is implemented by assigning y[i] = x[perm[i]] for 0 <= i < $n$.

The transpose operation $y \leftarrow P^Tx$ is implemented by assigning y[perm[i]] = x[i].


The documentation for this struct was generated from the following file:

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