|
numerics
|
Functions | |
| void | scale (Vector &v, real alpha) |
| void | add (const Vector &x, const Vector &y, Vector &z) |
| void | axpy (real alpha, const Vector &x, Vector &y) |
| real | dot (const Vector &x, const Vector &y) |
| real | norm (const Vector &x) |
| void | matmul (const Matrix &A, const Matrix &B, Matrix &C) |
| void | matmul_blocked (const Matrix &A, const Matrix &B, Matrix &C, idx block_size) |
| void | matmul_register_blocked (const Matrix &A, const Matrix &B, Matrix &C, idx block_size, idx reg_size) |
| void | matvec (const Matrix &A, const Vector &x, Vector &y) |
| void | matadd (real alpha, const Matrix &A, real beta, const Matrix &B, Matrix &C) |
Definition at line 13 of file vector.cpp.
References num::ipow(), and num::BasicVector< T >::size().
Referenced by num::add().
Definition at line 17 of file vector.cpp.
References num::ipow(), and num::BasicVector< T >::size().
Referenced by num::backends::blas::axpy(), num::backends::gpu::axpy(), num::backends::omp::axpy(), and num::axpy().
Definition at line 21 of file vector.cpp.
References num::ipow(), and num::BasicVector< T >::size().
Referenced by num::backends::blas::dot(), num::backends::gpu::dot(), num::backends::omp::dot(), and num::dot().
| void num::backends::seq::matadd | ( | real | alpha, |
| const Matrix & | A, | ||
| real | beta, | ||
| const Matrix & | B, | ||
| Matrix & | C | ||
| ) |
Definition at line 32 of file matrix.cpp.
References num::beta(), num::BasicVector< T >::data(), and num::ipow().
Referenced by num::backends::blas::matadd(), num::backends::omp::matadd(), and num::matadd().
Definition at line 14 of file matrix.cpp.
References num::ipow().
Referenced by num::backends::gpu::matmul(), num::backends::omp::matmul(), and num::matmul().
| void num::backends::seq::matmul_blocked | ( | const Matrix & | A, |
| const Matrix & | B, | ||
| Matrix & | C, | ||
| idx | block_size | ||
| ) |
Definition at line 73 of file matrix.cpp.
References num::ipow().
Referenced by num::backends::blas::matmul(), num::matmul(), num::backends::simd::matmul(), and num::matmul_blocked().
| void num::backends::seq::matmul_register_blocked | ( | const Matrix & | A, |
| const Matrix & | B, | ||
| Matrix & | C, | ||
| idx | block_size, | ||
| idx | reg_size | ||
| ) |
Definition at line 107 of file matrix.cpp.
References num::ipow().
Referenced by num::matmul_register_blocked().
Definition at line 24 of file matrix.cpp.
References num::ipow().
Referenced by num::backends::blas::matvec(), num::backends::gpu::matvec(), num::backends::omp::matvec(), num::backends::simd::matvec(), and num::matvec().
Definition at line 27 of file vector.cpp.
References num::ipow(), and num::BasicVector< T >::size().
Referenced by num::backends::blas::norm(), num::backends::gpu::norm(), and num::norm().
Definition at line 9 of file vector.cpp.
References num::ipow(), and num::BasicVector< T >::size().
Referenced by num::backends::blas::scale(), num::backends::gpu::scale(), num::backends::omp::scale(), and num::scale().