view libcruft/ranlib/wrap.f @ 14688:42edbe6f6a8d stable

Fix bad two-arg call of randperm (bug #36535) * rand.cc (Frandperm): Rewrite algorithm for short_shuffle. Add another test.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 25 May 2012 11:24:02 -0400
parents 109fdf7b3dcb
children
line wrap: on
line source

      subroutine dgennor (av, sd, result)
      double precision av, sd, result
      result = gennor (real (av), real (sd))
      return
      end
      subroutine dgenunf (low, high, result)
      double precision low, high, result
      result = genunf (real (low), real (high))
      return
      end
      subroutine dgenexp (av, result)
      double precision av, result
      result = genexp (real (av))
      return
      end
      subroutine dgengam (a, r, result)
      double precision a, r, result
      result = gengam (real (a), real (r))
      return
      end
      subroutine dignpoi (mu, result)
      double precision mu, result
      result = ignpoi (real (mu))
      return
      end