This module implements the matrix type-independent version, which performs error-checking first and then calls the the appropriate kernel implementation.
#include <oski/common.h>
#include <oski/matrix.h>
#include <oski/blas.h>
Functions | |
int | oski_CheckArgsMatPowMult (const oski_matrix_t A_tunable, oski_matop_t opA, int power, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t T_view, const char *caller) |
Check arguments passed to oski_MatPowMult(). | |
static void | SplitVecsColwise (oski_vecview_t T, oski_index_t na, oski_vecview_t A, oski_vecview_t x, oski_index_t nb, oski_vecview_t B) |
Logically partition the columns of a multivector object into three. | |
static int | DefaultMatPowMult (const oski_matrix_t A_tunable, oski_matop_t opA, int power, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, oski_vecview_t y_view, oski_vecview_t T_view) |
Default matrix-power-vector multiply routine. | |
int | oski_MatPowMult (const oski_matrix_t A_tunable, oski_matop_t opA, int power, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, oski_vecview_t y_view, oski_vecview_t T_view) |
Computes a power of a matrix times a vector, or . | |
void | oski_MakeArglistMatPowMult (oski_matop_t opA, int power, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t T_view, oski_traceargs_MatPowMult_t *args) |
Initialize a static argument signature for a call to oski_MatPowMult(). |
|
Default matrix-power-vector multiply routine. This routine does not perform any argument error checking. If T_view is NULL, this routine may quietly attempt to allocate memory for one temporary vector, deleted before returning. |
|
Check arguments passed to oski_MatPowMult().
|