24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/ed.h" 43 require(precondition_of(
dot(x0, x1)));
51 ensure(postcondition_of(
dot(x0, x1)));
63 require(precondition_of(
normalize(x0, x0, xauto_access)));
71 ensure(postcondition_of(
normalize(x0, x0, xauto_access)));
81 require(precondition_of(
normalize(x0, x0)));
89 ensure(postcondition_of(
normalize(x0, x0)));
98 #endif // ifndef ED_IMPL_H SHEAF_DLL_SPEC vd_value_type dot(const ed &x0, const ed &x1, bool xauto_access)
The Euclidean "dot" product of x0 with x1 (version for persistent types).
vd_value_type operator*(const T &x0, const T &x1)
The Euclidean "dot" product of x0 with x1 (for volatile types).
SHEAF_DLL_SPEC void normalize(const ed &x0, ed &xresult, bool xauto_access)
Normalize x0 (convert to a unit vector) (pre_allocated version for persistent types).
Namespace for the fiber_bundles component of the sheaf system.
double vd_value_type
The type of component in the fiber; the scalar type in the fiber vector space.