A high-performance general-purpose compute library

- Main Page
- Tutorials
- Release Notes
- Examples

Namespaces | Functions
blas.h File Reference
`#include <af/defines.h>`

Go to the source code of this file.

## Namespaces
namespace | af

## Functions
AFAPI array | matmul (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
| C++ Interface to multiply two matrices.
AFAPI array | matmulNT (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmulTN (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmulTT (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmul (const array &a, const array &b, const array &c)
| C++ Interface to chain multiply three matrices.
AFAPI array | matmul (const array &a, const array &b, const array &c, const array &d)
| C++ Interface to chain multiply three matrices.
template<typename T >
T | dot (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
| C++ Interface to compute the dot product.
AFAPI array | dot (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
AFAPI array | transpose (const array &in, const bool conjugate=false)
| C++ Interface to transpose a matrix.
AFAPI void | transposeInPlace (array &in, const bool conjugate=false)
| C++ Interface to transpose a matrix in-place.
AFAPI af_err | af_gemm (af_array *C, const af_mat_prop opA, const af_mat_prop opB, const void *alpha, const af_array A, const af_array B, const void *beta)
| C Interface to multiply two matrices.
AFAPI af_err | af_matmul (af_array *out, const af_array lhs, const af_array rhs, const af_mat_prop optLhs, const af_mat_prop optRhs)
| C Interface to multiply two matrices.
AFAPI af_err | af_dot (af_array *out, const af_array lhs, const af_array rhs, const af_mat_prop optLhs, const af_mat_prop optRhs)
| C Interface to compute the dot product.
AFAPI af_err | af_dot_all (double *real, double *imag, const af_array lhs, const af_array rhs, const af_mat_prop optLhs, const af_mat_prop optRhs)
| C Interface to compute the dot product, scalar result returned on host.
AFAPI af_err | af_transpose (af_array *out, af_array in, const bool conjugate)
| C Interface to transpose a matrix.
AFAPI af_err | af_transpose_inplace (af_array in, const bool conjugate)
| C Interface to transpose a matrix in-place.