Revision ade4b694b3f416d6b195ddcd584d6f89ef36ea2f authored by M. Helena Gon\xe7alves on 28 January 2012, 00:00:00 UTC, committed by Gabor Csardi on 28 January 2012, 00:00:00 UTC
1 parent 8cb2c8d
Raw File
mat2.f
      subroutine mat2(p1,p2,P)
C       creates 2x2 MC transition matrix, given probs of 1's
      implicit double precision (a-h,o-z)
      dimension P(2,2)
      P(1,1)=1-p1
      P(1,2)=p1
      P(2,1)=1-p2
      P(2,2)=p2
      return
      end

 
back to top