Next Up Previous Contents
Next: A.4.2 p2.f
Up: A.4 Profiling
Previous: A.4 Profiling
[ID index][Keyword index]

A.4.1 p1.f


      program silly
      implicit none
      integer n, i
      real determinant
      parameter (n=2)
      real twobytwo(2,2) /4*-1/
      do i = 1, 100000
         call mkidentity (twobytwo, n)
      enddo
      print *, determinant (twobytwo)
      end


Next Up Previous Contents
Next: A.4.2 p2.f
Up: A.4 Profiling
Previous: A.4 Profiling
[ID index][Keyword index]
Theory and Modelling Resources Cookbook
Starlink Cookbook 13
Norman Gray
2 December 2001. Release 2-5. Last updated 10 March 2003