perm.h File Reference


Detailed Description

Permutations.

#include <oski/common.h>
#include <oski/mangle.h>
#include <oski/matrix.h>
#include <oski/vecview.h>

Go to the source code of this file.

Data Structures

struct  oski_permstruct_t
 Generic row/column permutation structure. More...

Name mangling.

#define oski_permstruct_t   MANGLE_(oski_permstruct_t)
#define oski_perm_t   MANGLE_(oski_perm_t)
#define const_oski_perm_t   MANGLE_(const_oski_perm_t)
#define PERM_IDENTITY   MANGLE_(PERM_IDENTITY)
#define oski_IsMatPermuted   MANGLE_(oski_IsMatPermuted)
#define oski_ViewPermutedMat   MANGLE_(oski_ViewPermutedMat)
#define oski_ViewPermutedMatRowPerm   MANGLE_(oski_ViewPermutedMatRowPerm)
#define oski_ViewPermutedMatColPerm   MANGLE_(oski_ViewPermutedMatColPerm)
#define oski_PermuteVecView   MANGLE_(oski_PermuteVecView)

Defines

#define INC_OSKI_PERM_H
 oski/perm.h included.
#define MAKE_PERMSTRUCT_INIT(n, p)   {(n), (p)}
 Initialize a statically declared oski_permstruct_t object.

Typedefs

typedef oski_permstruct_toski_perm_t
 Permutation handle.
typedef const oski_permstruct_tconst_oski_perm_t
 Read-only (const) permutation, for function return values.

Functions

int oski_IsMatPermuted (const oski_matrix_t A_tunable)
 Checks whether a matrix has been tuned by reordering.
const_oski_matrix_t oski_ViewPermutedMat (const oski_matrix_t A_tunable)
 Given a matrix $A$, possibly reordered during tuning to the form $\hat{A} = P_r\cdot A\cdot P_c^T$, returns a read-only object corresponding to $\hat{A}$.
const_oski_perm_t oski_ViewPermutedMatRowPerm (const oski_matrix_t A_tunable)
 Given a matrix $A$, possible reordered during tuning to the form $\hat{A} = P_r\cdot A\cdot P_c^T$, returns a read-only object corresponding to $P_r$.
const_oski_perm_t oski_ViewPermutedMatColPerm (const oski_matrix_t A_tunable)
 Given a matrix $A$, possible reordered during tuning to the form $\hat{A} = P_r\cdot A\cdot P_c^T$, returns a read-only object corresponding to $P_c$ (and NOT $P_c^T$).
int oski_PermuteVecView (const oski_perm_t P, oski_matop_t opP, oski_vecview_t x_view)
 Permute a vector view object, i.e., computes $x \leftarrow \mathrm{op}(P)x$, where $\matrm{op}(A) \in \{A, A^T\}$.

Variables

const oski_perm_t PERM_IDENTITY
 Alias for OBJ_PERM_IDENTITY.


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