From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- math/llsq/g2.f | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 math/llsq/g2.f (limited to 'math/llsq/g2.f') diff --git a/math/llsq/g2.f b/math/llsq/g2.f new file mode 100644 index 00000000..6f01a582 --- /dev/null +++ b/math/llsq/g2.f @@ -0,0 +1,9 @@ + subroutine g2 (cos,sin,x,y) +c c.l.lawson and r.j.hanson, jet propulsion laboratory, 1972 dec 15 +c to appear in 'solving least squares problems', prentice-hall, 1974 +c apply the rotation computed by g1 to (x,y). + xr=cos*x+sin*y + y=-sin*x+cos*y + x=xr + return + end -- cgit