batmat 0.0.17
Batched linear algebra routines
Loading...
Searching...
No Matches
batmat::linalg::flops Namespace Reference

Classes

struct  FlopCount
 Count of individual floating point operations, broken down by type. More...

Functions

constexpr FlopCount operator+ (FlopCount a, FlopCount b)
 Combine two flop counts by summing the counts of each operation type.
constexpr index_t total (FlopCount c)
 Compute the total number of floating point operations by summing the counts of all operation types.
constexpr FlopCount gemm (index_t m, index_t n, index_t k)
 Matrix-matrix multiplication of m×k and k×n matrices.
constexpr FlopCount trmm (index_t m, index_t n, index_t k, MatrixStructure sA, MatrixStructure sB, MatrixStructure sC)
 Matrix-matrix multiplication of m×k and k×n matrices where one or more of the matrices are triangular or trapezoidal.
constexpr FlopCount gemmt (index_t m, index_t n, index_t k, MatrixStructure sA, MatrixStructure sB, MatrixStructure sC)
 Matrix-matrix multiplication of m×k and k×n matrices where the result is symmetric.
constexpr FlopCount syrk (index_t n, index_t k)
 Symmetric rank-k update of n×n matrices.
constexpr FlopCount gemmt_diag (index_t m, index_t n, index_t k, MatrixStructure sC)
 Matrix-matrix multiplication of m×k and k×n matrices with a diagonal k×k matrix in the middle, where the result is symmetric.
constexpr FlopCount potrf (index_t m, index_t n)
 Cholesky factorization and triangular solve for an m×n matrix with m≥n.
constexpr FlopCount hyh_square (index_t n, index_t k)
 Hyperbolic Householder factorization update with L n×n and A nr×k.
constexpr FlopCount hyh_apply (index_t nr, index_t nc, index_t k)
 Hyperbolic Householder factorization application to L2 nr×nc and A2 nr×k.
constexpr FlopCount hyh (index_t nr, index_t nc, index_t k)
 Hyperbolic Householder factorization update with L nr×nc and A nr×k.
constexpr FlopCount syrk_potrf (index_t m, index_t n, index_t k)
 Fused symmetric rank-k update and Cholesky factorization of an m×n matrix with m≥n.
constexpr FlopCount trsm (index_t m, index_t n)
 Triangular solve of m×n matrices.
constexpr FlopCount trtri (index_t m)
 Triangular inversion of an m×m matrix.