SheafSystem
0.0.0.0
|
Namespace containing the algrebra functions for a a section of a fiber bundle with a fiber type ed. More...
Functions | |
SHEAF_DLL_SPEC void | dot (const sec_ed &x0, const sec_ed &x1, sec_at0 &xresult, bool xauto_access) |
The Euclidean "dot" product of x0 with x2. More... | |
SHEAF_DLL_SPEC void | length (const sec_ed &x0, sec_at0 &xresult, bool xauto_access) |
The Euclidean length (magnitude) of x0. More... | |
SHEAF_DLL_SPEC void | put_length (sec_ed &x0, const vd_value_type &xlength, bool xauto_access) |
Set the Euclidean length (magnitude) of x0 to xlength. More... | |
SHEAF_DLL_SPEC void | normalize (const sec_ed &x0, sec_ed &xresult, bool xauto_access) |
Normalize x0 (convert to a unit vector). More... | |
SHEAF_DLL_SPEC void | normalize (sec_ed &x0, bool xauto_access) |
Normalize x0 (convert to a unit vector) in place; synonym for normalize(x0, x0, xauto_access). More... | |
Namespace containing the algrebra functions for a a section of a fiber bundle with a fiber type ed.
void fiber_bundle::sec_ed_algebra::dot | ( | const sec_ed & | x0, |
const sec_ed & | x1, | ||
sec_at0 & | xresult, | ||
bool | xauto_access | ||
) |
The Euclidean "dot" product of x0 with x2.
Definition at line 688 of file sec_ed.cc.
References fiber_bundle::sec_vd_algebra::binary_op(), fiber_bundle::sec_atp::is_p_form(), sheaf::any::is_same_type(), length(), sheaf::read_write_monitor_handle::state_is_auto_read_accessible(), and sheaf::read_write_monitor_handle::state_is_auto_read_write_accessible().
Referenced by fields::field_ed_algebra::dot(), and fiber_bundle::sec_ed::invariant().
void fiber_bundle::sec_ed_algebra::length | ( | const sec_ed & | x0, |
sec_at0 & | xresult, | ||
bool | xauto_access | ||
) |
The Euclidean length (magnitude) of x0.
Definition at line 712 of file sec_ed.cc.
References put_length(), sheaf::read_write_monitor_handle::state_is_auto_read_accessible(), sheaf::read_write_monitor_handle::state_is_auto_read_write_accessible(), and fiber_bundle::sec_vd_algebra::unary_op().
Referenced by dot(), and fields::field_ed_algebra::length().
void fiber_bundle::sec_ed_algebra::normalize | ( | const sec_ed & | x0, |
sec_ed & | xresult, | ||
bool | xauto_access | ||
) |
Normalize x0 (convert to a unit vector).
Definition at line 778 of file sec_ed.cc.
References fiber_bundle::sec_atp::is_p_form(), sheaf::any::is_same_type(), sheaf::read_write_monitor_handle::state_is_auto_read_accessible(), sheaf::read_write_monitor_handle::state_is_auto_read_write_accessible(), and fiber_bundle::sec_vd_algebra::unary_op().
Referenced by fields::field_ed_algebra::normalize(), and put_length().
void fiber_bundle::sec_ed_algebra::normalize | ( | sec_ed & | x0, |
bool | xauto_access | ||
) |
Normalize x0 (convert to a unit vector) in place; synonym for normalize(x0, x0, xauto_access).
Definition at line 803 of file sec_ed.cc.
References fiber_bundle::ed_algebra::normalize().
void fiber_bundle::sec_ed_algebra::put_length | ( | sec_ed & | x0, |
const vd_value_type & | xlength, | ||
bool | xauto_access | ||
) |
Set the Euclidean length (magnitude) of x0 to xlength.
Definition at line 733 of file sec_ed.cc.
References normalize(), sheaf::read_write_monitor_handle::state_is_auto_read_accessible(), and fiber_bundle::sec_vd_algebra::unary_op().
Referenced by length(), and fields::field_ed_algebra::put_length().