Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::geometry::HasInnerProduct Concept Referenceexport

Carrier exposing a scalar-valued inner-product form, its exact squared norm abs2, and the (√-induced) norm. More...

Concept definition

template<typename V, typename F>
concept dedekind::geometry::HasInnerProduct = requires(V u, V v) {
{ dot(u, v) } -> std::same_as<F>;
{ abs2(u) } -> std::convertible_to<F>;
{ norm(u) } -> std::convertible_to<F>;
}
Carrier exposing a scalar-valued inner-product form, its exact squared norm abs2, and the (√-induced)...
Definition inner_product.cppm:37
constexpr F dot(const Vector< F, N > &u, const Vector< F, N > &v)
Definition inner_product.cppm:77
constexpr auto abs2(const V &v)
The inner-product squared norm abs2(v) = <v, v> — the canonical name for the squared magnitude,...
Definition inner_product.cppm:96

Detailed Description

Carrier exposing a scalar-valued inner-product form, its exact squared norm abs2, and the (√-induced) norm.