|
numerics 0.1.0
|
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) |
| EigenResult | eig_sym (const Matrix &A, real tol, idx max_sweeps) |
| LUResult | lu (const Matrix &A) |
| QRResult | qr (const Matrix &A) |
| void | thomas (const Vector &a, const Vector &b, const Vector &c, const Vector &d, Vector &x) |
| SVDResult | svd (const Matrix &A, real tol, idx max_sweeps) |
Definition at line 14 of file vector.cpp.
References num::BasicVector< T >::size().
Referenced by num::add().
Definition at line 19 of file vector.cpp.
References num::BasicVector< T >::size().
Referenced by num::backends::blas::axpy(), num::backends::gpu::axpy(), num::backends::omp::axpy(), and num::axpy().
Definition at line 24 of file vector.cpp.
References num::BasicVector< T >::size().
Referenced by num::backends::blas::dot(), num::backends::gpu::dot(), num::backends::omp::dot(), and num::dot().
| EigenResult num::backends::seq::eig_sym | ( | const Matrix & | A, |
| real | tol, | ||
| idx | max_sweeps | ||
| ) |
Definition at line 19 of file jacobi_eig.cpp.
References num::Matrix::cols(), num::e, and num::Matrix::rows().
Referenced by num::backends::lapack::eig_sym(), and num::eig_sym().
Definition at line 9 of file lu.cpp.
References num::e, num::LUResult::LU, num::LUResult::piv, num::Matrix::rows(), and num::LUResult::singular.
Referenced by num::backends::lapack::lu(), and num::lu().
| 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::Matrix::data(), and num::Matrix::size().
Referenced by num::backends::blas::matadd(), num::backends::omp::matadd(), and num::matadd().
Definition at line 14 of file matrix.cpp.
References num::Matrix::cols(), and num::Matrix::rows().
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 77 of file matrix.cpp.
References num::Matrix::cols(), num::Matrix::data(), and num::Matrix::rows().
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 114 of file matrix.cpp.
References num::Matrix::cols(), num::Matrix::data(), and num::Matrix::rows().
Referenced by num::matmul_register_blocked().
Definition at line 24 of file matrix.cpp.
References num::Matrix::cols(), and num::Matrix::rows().
Referenced by num::backends::blas::matvec(), num::backends::gpu::matvec(), num::backends::omp::matvec(), num::backends::simd::matvec(), and num::matvec().
Definition at line 31 of file vector.cpp.
References num::BasicVector< T >::size().
Referenced by num::backends::blas::norm(), num::backends::gpu::norm(), and num::norm().
Definition at line 11 of file qr.cpp.
References num::Matrix::cols(), num::e, and num::Matrix::rows().
Referenced by num::backends::lapack::qr(), and num::qr().
Definition at line 9 of file vector.cpp.
References num::BasicVector< T >::size().
Referenced by num::backends::blas::scale(), num::backends::gpu::scale(), num::backends::omp::scale(), and num::scale().
Definition at line 11 of file svd.cpp.
References num::beta(), num::Matrix::cols(), num::e, num::Matrix::rows(), and num::zeta().
Referenced by num::backends::lapack::svd(), and num::svd().
| void num::backends::seq::thomas | ( | const Vector & | a, |
| const Vector & | b, | ||
| const Vector & | c, | ||
| const Vector & | d, | ||
| Vector & | x | ||
| ) |
Definition at line 8 of file thomas.cpp.
References num::BasicVector< T >::size().
Referenced by num::backends::lapack::thomas(), and num::thomas().