akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
Loading...
Searching...
No Matches
inner_product.hpp File Reference
#include <complex>
#include <concepts>
#include <type_traits>
#include "akreon/linalg/vector/vector_concepts.hpp"
Include dependency graph for inner_product.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  linalg::StandardInnerProduct< Vec >
 Canonical inner product on a fixed-size vector over a scalar field. More...
 
struct  linalg::inner_product_traits< StandardInnerProduct< Vec > >
 Associated-type registration for StandardInnerProduct. More...
 

Namespaces

namespace  linalg
 

Concepts

concept  linalg::InnerProduct
 Callable contract for a trait-registered inner-product operation.
 

Typedefs

template<class Product >
using linalg::inner_product_traits_t = inner_product_traits< remove_cvref_t< Product > >
 Normalized trait specialization for an inner-product type.
 
template<class Product >
using linalg::inner_product_domain_t = typename inner_product_traits_t< Product >::domain_type
 Registered vector domain after product cv/ref normalization.
 
template<class Product >
using linalg::inner_product_scalar_t = typename inner_product_traits_t< Product >::scalar_type
 Registered scalar field associated with the product domain.
 
template<class Product >
using linalg::inner_product_codomain_t = typename inner_product_traits_t< Product >::codomain_type
 Registered result type of the inner product.
 

Functions

template<FieldVector Vec>
constexpr auto linalg::inner_product (const Vec &lhs, const Vec &rhs)
 Evaluate the canonical inner product for two field vectors.