Difference between revisions of "Sphtrsubd.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     [r12,r23,r31]=sphtrsubd(r1,r2,r3)
 
     [r12,r23,r31]=sphtrsubd(r1,r2,r3)
  
−
==Arguments==
+
==Parameters==
  
 
   r1,r2,r3    - three-element unit vectors with Cartesian
 
   r1,r2,r3    - three-element unit vectors with Cartesian

Revision as of 17:52, 5 June 2026

Spherical triangle subdivision. Returns the midpoints of the sides of a spherical triangle specified by the unit vectors supplied.

Syntax

    [r12,r23,r31]=sphtrsubd(r1,r2,r3)

Parameters

  r1,r2,r3    - three-element unit vectors with Cartesian
                coordinates of triangle vertices

Outputs

  r12,r23,r31 - three-element unit vectors with Cartesian
                coordinates of triangle arc midpoints

See also

Integration grids, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov