#include <oski/common.h>
#include <oski/config.h>
#include <oski/blas.h>
#include <oski/blas_names.h>
Functions | |
void | BLAS_xSCAL (const oski_index_t *restrict len, oski_value_t *restrict alpha, oski_value_t *restrict x, const oski_index_t *restrict stride) |
This implementation assumes a general (*alpha). | |
void | BLAS_xAXPY (const oski_index_t *restrict len, const oski_value_t *restrict alpha, const oski_value_t *restrict x, const oski_index_t *restrict incx, oski_value_t *restrict y, const oski_index_t *restrict incy) |
This implementation assumes a general (*alpha). | |
static void | ZeroDenseMatRowmaj (oski_value_t *x, oski_index_t m, oski_index_t n, oski_index_t stride) |
Set all elements of a dense matrix, stored using row-major layout, to 0. | |
static void | ZeroDenseMatColmaj (oski_value_t *x, oski_index_t m, oski_index_t n, oski_index_t stride) |
Set all elements of a dense matrix, stored using column-major layout, to 0. | |
int | oski_ZeroVecView (oski_vecview_t x) |
Set all elements of a vector view to zero. | |
int | oski_ScaleVecView (oski_vecview_t x, oski_value_t alpha) |
Computes . | |
int | oski_RectScaledIdentityMult (oski_value_t alpha, const oski_vecview_t x, oski_vecview_t y) |
Computes , where is an matrix such that for all . | |
int | oski_AXPYVecView (const oski_vecview_t x, oski_value_t alpha, oski_vecview_t y) |
Computes . | |
int | oski_ConjVecView (oski_vecview_t x) |
Computes the complex conjugate of a vector view, i.e., . |
|
This implementation assumes a general (*alpha). The caller should implement special tests when alpha is a special value (e.g., 0, 1, -1).
Considers the following special cases:
|
|
This implementation assumes a general (*alpha). The caller should implement special tests when alpha is a special value (e.g., 0, 1, -1).
|
|
Computes , where is an matrix such that for all .
|
|
Computes .
|
|
Set all elements of a vector view to zero.
|
|
Set all elements of a dense matrix, stored using column-major layout, to 0.
|
|
Set all elements of a dense matrix, stored using row-major layout, to 0.
|