|
BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
Permutations. More...
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 , possibly reordered during tuning to the form , returns a read-only object corresponding to . | |
| const_oski_perm_t | oski_ViewPermutedMatRowPerm (const oski_matrix_t A_tunable) |
Given a matrix , possible reordered during tuning to the form , returns a read-only object corresponding to . | |
| const_oski_perm_t | oski_ViewPermutedMatColPerm (const oski_matrix_t A_tunable) |
Given a matrix , possible reordered during tuning to the form , returns a read-only object corresponding to (and NOT ). | |
| 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 , where are single dense strided vectors. | |
| 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 , where . | |
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. | |
Permutations.
| 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().
1.7.6.1