|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
#include <type_traits>#include <cassert>#include <algorithm>#include <cstddef>#include <mtl/detail/thread_pool.hpp>#include <mtl/detail/wrapping_arithmetic.hpp>#include <mtl/interface/dispatch_traits.hpp>#include <mtl/concepts/matrix.hpp>#include <mtl/concepts/vector.hpp>#include <mtl/concepts/collection.hpp>#include <mtl/concepts/scalar.hpp>#include <mtl/traits/is_expression.hpp>#include <mtl/detail/expr_storage.hpp>#include <mtl/mat/dense2D.hpp>#include <mtl/mat/compressed2D.hpp>#include <mtl/mat/view/transposed_view.hpp>#include <mtl/vec/dense_vector.hpp>#include <mtl/math/identity.hpp>#include <mtl/functor/scalar/plus.hpp>#include <mtl/functor/scalar/minus.hpp>#include <mtl/functor/scalar/times.hpp>#include <mtl/functor/scalar/divide.hpp>#include <mtl/mat/expr/mat_mat_op_expr.hpp>#include <mtl/mat/expr/mat_scal_op_expr.hpp>#include <mtl/mat/expr/mat_negate_expr.hpp>#include <mtl/mat/expr/mat_mat_times_expr.hpp>#include <mtl/operation/spgemm.hpp>#include <mtl/operation/mult.hpp>Namespaces | |
| namespace | mtl |
| namespace | mtl::mat |
Functions | |
| template<typename M1, typename M2> requires (Matrix<std::remove_cvref_t<M1>> && Matrix<std::remove_cvref_t<M2>>) | |
| auto | mtl::mat::operator+ (M1 &&a, M2 &&b) |
| template<typename M1, typename M2> requires (Matrix<std::remove_cvref_t<M1>> && Matrix<std::remove_cvref_t<M2>>) | |
| auto | mtl::mat::operator- (M1 &&a, M2 &&b) |
| template<typename M> requires Matrix<std::remove_cvref_t<M>> | |
| auto | mtl::mat::operator- (M &&m) |
| template<typename S, typename M> requires ((!Collection<S> && Scalar<S>) && Matrix<std::remove_cvref_t<M>>) | |
| auto | mtl::mat::operator* (const S &alpha, M &&m) |
| template<typename M, typename S> requires (Matrix<std::remove_cvref_t<M>> && (!Collection<S> && Scalar<S>)) | |
| auto | mtl::mat::operator* (M &&m, const S &alpha) |
| template<typename M, typename S> requires (Matrix<std::remove_cvref_t<M>> && (!Collection<S> && Scalar<S>)) | |
| auto | mtl::mat::operator/ (M &&m, const S &alpha) |
| template<Matrix M, Vector V> requires (!Matrix<V>) | |
| auto | mtl::mat::operator* (const M &A, const V &x) |
| template<Matrix M1, Matrix M2> | |
| auto | mtl::mat::operator* (const M1 &A, const M2 &B) |
| template<typename V1, typename P1, typename V2, typename P2> | |
| auto | mtl::mat::operator* (const compressed2D< V1, P1 > &A, const compressed2D< V2, P2 > &B) |
| template<typename V, typename P, typename VV, typename VP> | |
| auto | mtl::mat::operator* (const compressed2D< V, P > &A, const vec::dense_vector< VV, VP > &x) |
| template<typename V, typename P, typename VV, typename VP> | |
| auto | mtl::mat::operator* (const view::transposed_view< compressed2D< V, P > > &At, const vec::dense_vector< VV, VP > &x) |