MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
Concepts
Here is a list of all concepts with brief descriptions:
[detail level 12345]
 Nmtl
 Narray
 Ndetail_bcast
 RArray
 Ndetail_slice
 RSliceIndex
 NdetailMat*vec multiply into pre-allocated y: y = A * x
 Nmagnitude_adl
 Rhas_absAbs(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_adlThe 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_storageA 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_storageA 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_storageA sparse matrix whose values are one array (compressed2D's and ell_matrix's ref_data())
 Rentry_array_storageA matrix whose entries are one array of (row, col, value) triplets (coordinate2D's ref_entries())
 Rblock_list_storageA matrix made of separately stored blocks (block_diagonal2D): its storage is every block's
 Rencoded_byte_storageA matrix over encoded bytes (block_matrix_view's bytes())
 Rview_of_storageA 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_storageA leaf whose element storage for_each_storage_range can list
 Rconverts_to_doubleT has an explicit or implicit conversion to double
 Ninterface
 RBlasDenseMatrixConcept satisfied by dense matrix types eligible for BLAS/LAPACK dispatch
 RBlasHermitianMatrixConcept satisfied by dense matrix types eligible for complex-Hermitian LAPACK dispatch (cheev/zheev)
 RContiguousVectorTrue when a vector type's storage is CONTIGUOUS – data()[i] IS element i
 RBlasDenseVectorConcept satisfied by dense vector types eligible for BLAS dispatch
 RSimdDenseVectorConcept satisfied by dense vector types eligible for MTL5's OWN SIMD kernels
 RSimdNarrowVectorConcept 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
 RSimdQuadVectorConcept 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)
 RContiguousMatrixDataStorage shape only: contiguous data() plus dimensions, with NO constraint on the element type
 RSimdDenseMatrixConcept 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
 RThreadableDenseMatrixConcept satisfied by dense matrix types whose OUTPUT ROWS may be partitioned across threads: the storage shape only, with NO constraint on the element type
 RThreadableDenseVectorConcept satisfied by dense vector types usable as an operand or an output of a row-partitioned kernel
 Nmath
 Nexact_detail
 RfeedsMay a V be fed into an exact_accumulator<T>: every V is exactly a T
 Ndetail
 Rbinary_ieee_limitsT is a binary IEEE-754 format, as its numeric_limits declare (#697)
 Radl_accumulatorConfiguration 3 via the ADL hook: does Acc's own namespace provide the super-accumulator functions for products of Values?
 Rmergeable_accumulatorCan two partial accumulators of a reduction be combined?
 Rbinary_floating_pointBinary IEEE floating point: the types the error-free transformations hold for
 Rexact_accumulableIs T a type the exact accumulator is defined for: binary32 or binary64
 Nsimd
 RQuadPairIs (A, B) a quad-widening pair the hardware op accepts?
 Nsparse
 RFillReducingOrderingConcept for a fill-reducing ordering algorithm
 RSparseDirectSolverConcept for sparse direct solver results
 RBlockSchemeA block-quantized storage format:
 RElementDecodableSchemeDoes the scheme decode one element without decoding its block?
 RCollectionA read-only collection with value_type, size_type, and size()
 RMutableCollectionA mutable collection allowing element modification
 RLinearOperatorAnything that supports A * x producing a vector-like result Used by ITL Krylov solvers
 RMagnitudeConcept: a type has a well-defined magnitude
 RMatrixA 2D collection with num_rows(), num_cols(), and (r,c) access
 RFieldMatrixA 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
 RDenseMatrixA dense matrix: category tag is tag::dense
 RSparseMatrixA sparse matrix: category tag is tag::sparse
 RNdArrayAn N-dimensional array with rank, shape, and multi-dimensional element access
 RMutableNdArrayA mutable NdArray that allows element modification
 RPreconditionerA preconditioner provides solve() and adjoint_solve()
 RHasNumericLimitsThe number system describes itself through std::numeric_limits (#838): its epsilon, range, infinities and NaNs
 RScalarA type that behaves like a scalar value (arithmetic or custom number type), and describes itself through std::numeric_limits
 RFieldA type that forms a mathematical field: division is defined AND invertible
 ROrderedFieldAn ordered field (field with comparison operators)
 RVectorA 1D collection with indexed access
 RFieldVectorA vector whose elements form a FIELD – the requirement of every algorithm that divides by a vector element or by a scalar derived from one
 RDenseVectorA dense vector with contiguous storage
 RColumnVectorA column vector
 RRowVectorA row vector
 RBlockGemvSchemeDoes the scheme supply a fused gemv?
 RMemorySpaceA memory space: says where elements live and who may touch them
 RAllocatingMemorySpaceA memory space that can allocate and free storage for T
 RDeviceRuntimeA device runtime: the programming model behind a device memory kind
 Rquad_int_dotDoes dot<Accumulator, Result>(v1, v2) name the quad-widening 8-bit kernel?
 Rquad_int_dot_swappedDoes dot(v1, v2) name the quad kernel with the operands the OTHER way round?
 Rwidening_int_dotDoes dot<Accumulator, Result>(v1, v2) name the widening integer kernel?
 RProjectableOntoProjectableOnto: Target has fewer (or equal) significant digits than Source
 REmbeddableIntoEmbeddableInto: Target has more (or equal) significant digits than Source