|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
| Nmtl | |
| Narray | |
| Ndetail_bcast | |
| RArray | |
| Ndetail_slice | |
| RSliceIndex | |
| Ndetail | Mat*vec multiply into pre-allocated y: y = A * x |
| Nmagnitude_adl | |
| Rhas_abs | Abs(a) as generic code calls it: std::abs for the built-in types, and the number type's own abs found by ADL (#838: it was unqualified with no using std::abs, so Magnitude<double> held only through C's ::abs(int)) |
| Nexpm_impl | |
| Nadl | |
| Rhas_exp_sinh | |
| Nlogm_impl | |
| Nadl | |
| Rhas_log | |
| Rhas_atan2 | |
| Rhas_atanh | |
| Nnorms_adl | The default two_norm and frobenius_norm sum the squares unscaled, which overflows for elements above about sqrt(max) and loses everything below about sqrt(min) (#690) |
| Rrescalable_sum_squares | |
| Nclassify_adl | |
| Rhas_isfinite | |
| Rhas_isnan | |
| Rhas_isinf | |
| Rcontiguous_storage | A collection whose elements are laid out from a host address: dense vectors and matrices, strided references, and views over a caller's buffer |
| Rminor_array_storage | A compressed matrix's index arrays (compressed2D's ref_minor() and ref_major()): a writable output over them would corrupt the indices the kernel is still reading |
| Rmajor_array_storage | |
| Rvalue_array_storage | A sparse matrix whose values are one array (compressed2D's and ell_matrix's ref_data()) |
| Rentry_array_storage | A matrix whose entries are one array of (row, col, value) triplets (coordinate2D's ref_entries()) |
| Rblock_list_storage | A matrix made of separately stored blocks (block_diagonal2D): its storage is every block's |
| Rencoded_byte_storage | A matrix over encoded bytes (block_matrix_view's bytes()) |
| Rview_of_storage | A view over another collection (transposed_view, the triangular and banded views, ...): its storage is its base's |
| Rdeclares_scratch_bytes | |
| Rdeclares_scratch_alignment | |
| Ralias_view | |
| Ralias_contiguous_leaf | |
| Ralias_known_storage | A leaf whose element storage for_each_storage_range can list |
| Rconverts_to_double | T has an explicit or implicit conversion to double |
| Ninterface | |
| RBlasDenseMatrix | Concept satisfied by dense matrix types eligible for BLAS/LAPACK dispatch |
| RBlasHermitianMatrix | Concept satisfied by dense matrix types eligible for complex-Hermitian LAPACK dispatch (cheev/zheev) |
| RContiguousVector | True when a vector type's storage is CONTIGUOUS – data()[i] IS element i |
| RBlasDenseVector | Concept satisfied by dense vector types eligible for BLAS dispatch |
| RSimdDenseVector | Concept satisfied by dense vector types eligible for MTL5's OWN SIMD kernels |
| RSimdNarrowVector | Concept satisfied by dense vector types whose element type is not a lane but can be WIDENED into one by a dot-product accumulate – 16-bit integers, as of #451 phase 2 |
| RSimdQuadVector | Concept satisfied by dense vector types of an 8-bit element that the quad multiply-accumulate can widen into a 32-bit lane (#451 phase 3) |
| RContiguousMatrixData | Storage shape only: contiguous data() plus dimensions, with NO constraint on the element type |
| RSimdDenseMatrix | Concept satisfied by dense matrix types eligible for MTL5's own SIMD kernels – BlasDenseMatrix widened to every mtl::simd lane type, for the same reason as SimdDenseVector |
| RThreadableDenseMatrix | Concept satisfied by dense matrix types whose OUTPUT ROWS may be partitioned across threads: the storage shape only, with NO constraint on the element type |
| RThreadableDenseVector | Concept satisfied by dense vector types usable as an operand or an output of a row-partitioned kernel |
| Nmath | |
| Nexact_detail | |
| Rfeeds | May a V be fed into an exact_accumulator<T>: every V is exactly a T |
| Ndetail | |
| Rbinary_ieee_limits | T is a binary IEEE-754 format, as its numeric_limits declare (#697) |
| Radl_accumulator | Configuration 3 via the ADL hook: does Acc's own namespace provide the super-accumulator functions for products of Values? |
| Rmergeable_accumulator | Can two partial accumulators of a reduction be combined? |
| Rbinary_floating_point | Binary IEEE floating point: the types the error-free transformations hold for |
| Rexact_accumulable | Is T a type the exact accumulator is defined for: binary32 or binary64 |
| Nsimd | |
| RQuadPair | Is (A, B) a quad-widening pair the hardware op accepts? |
| Nsparse | |
| RFillReducingOrdering | Concept for a fill-reducing ordering algorithm |
| RSparseDirectSolver | Concept for sparse direct solver results |
| RBlockScheme | A block-quantized storage format: |
| RElementDecodableScheme | Does the scheme decode one element without decoding its block? |
| RCollection | A read-only collection with value_type, size_type, and size() |
| RMutableCollection | A mutable collection allowing element modification |
| RLinearOperator | Anything that supports A * x producing a vector-like result Used by ITL Krylov solvers |
| RMagnitude | Concept: a type has a well-defined magnitude |
| RMatrix | A 2D collection with num_rows(), num_cols(), and (r,c) access |
| RFieldMatrix | A matrix whose elements form a FIELD – the requirement of every algorithm that divides by a matrix element: LU, QR, LQ, Cholesky, LDL^T, SVD, eigen, inverse |
| RDenseMatrix | A dense matrix: category tag is tag::dense |
| RSparseMatrix | A sparse matrix: category tag is tag::sparse |
| RNdArray | An N-dimensional array with rank, shape, and multi-dimensional element access |
| RMutableNdArray | A mutable NdArray that allows element modification |
| RPreconditioner | A preconditioner provides solve() and adjoint_solve() |
| RHasNumericLimits | The number system describes itself through std::numeric_limits (#838): its epsilon, range, infinities and NaNs |
| RScalar | A type that behaves like a scalar value (arithmetic or custom number type), and describes itself through std::numeric_limits |
| RField | A type that forms a mathematical field: division is defined AND invertible |
| ROrderedField | An ordered field (field with comparison operators) |
| RVector | A 1D collection with indexed access |
| RFieldVector | A vector whose elements form a FIELD – the requirement of every algorithm that divides by a vector element or by a scalar derived from one |
| RDenseVector | A dense vector with contiguous storage |
| RColumnVector | A column vector |
| RRowVector | A row vector |
| RBlockGemvScheme | Does the scheme supply a fused gemv? |
| RMemorySpace | A memory space: says where elements live and who may touch them |
| RAllocatingMemorySpace | A memory space that can allocate and free storage for T |
| RDeviceRuntime | A device runtime: the programming model behind a device memory kind |
| Rquad_int_dot | Does dot<Accumulator, Result>(v1, v2) name the quad-widening 8-bit kernel? |
| Rquad_int_dot_swapped | Does dot(v1, v2) name the quad kernel with the operands the OTHER way round? |
| Rwidening_int_dot | Does dot<Accumulator, Result>(v1, v2) name the widening integer kernel? |
| RProjectableOnto | ProjectableOnto: Target has fewer (or equal) significant digits than Source |
| REmbeddableInto | EmbeddableInto: Target has more (or equal) significant digits than Source |