arclength.m

From Spinach Documentation Wiki
Revision as of 18:47, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Arc length between two points on the unit sphere specified by the unit vectors supplied.

Syntax

    sig=arclength(r1,r2)

Parameters

    r1,r2    - three-element unit vectors with Cartesian
               coordinates of the arc endpoints

Outputs

    sig      - arc length

See also

Integration grids

Powder grids

Version 2.6, authors: Ilya Kuprov