#include <assert.h>
#include <oski/perm.h>
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 ![]() ![]() ![]() | |
const_oski_perm_t | oski_ViewPermutedMatRowPerm (const oski_matrix_t A_tunable) |
Given a matrix ![]() ![]() ![]() | |
const_oski_perm_t | oski_ViewPermutedMatColPerm (const oski_matrix_t A_tunable) |
Given a matrix ![]() ![]() ![]() ![]() | |
static int | CheckValidPerm (const oski_perm_t P) |
Returns an error code if P is an invalid permutation matrix, i.e., if P is NULL, has length < 0, or has any element out of range. | |
static void | Permute (const oski_index_t *P, oski_matop_t opP, oski_index_t len, const oski_value_t *x, oski_index_t incx, oski_value_t *y, oski_index_t incy) |
Compute ![]() ![]() | |
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 ![]() ![]() | |
Variables | |
static oski_permstruct_t | OBJ_PERM_IDENTITY = MAKE_PERMSTRUCT_INIT (0, NULL) |
Statically declared symbolic identity permutation. | |
const oski_perm_t | PERM_IDENTITY = &OBJ_PERM_IDENTITY |
Alias for OBJ_PERM_IDENTITY. |
static void Permute | ( | const oski_index_t * | P, | |
oski_matop_t | opP, | |||
oski_index_t | len, | |||
const oski_value_t * | x, | |||
oski_index_t | incx, | |||
oski_value_t * | y, | |||
oski_index_t | incy | |||
) | [static] |
Compute , where
are single dense strided vectors.
References OP_CONJ, and OP_NORMAL.
Referenced by oski_PermuteVecView().