1 SUBROUTINE setgmn(meanv,covm,ldcovm,p,parm)
55 REAL covm(ldcovm,p),meanv(p),parm(p* (p+3)/2+1)
58 INTEGER*4 i,icount,info,j
68 IF (.NOT. (p.LE.0))
GO TO 10
69 WRITE (*,*)
'P nonpositive in SETGMN'
70 WRITE (*,*)
'Value of P: ',p
71 CALL xstopx (
'P nonpositive in SETGMN')
85 CALL spotrf (
'Upper', p, covm, ldcovm, info)
86 IF (.NOT. (info.NE.0))
GO TO 30
87 WRITE (*,*)
' COVM not positive definite in SETGMN'
88 CALL xstopx (
' COVM not positive definite in SETGMN')
102 parm(icount) = covm(i,j)
subroutine setgmn(meanv, covm, ldcovm, p, parm)