help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with mkoctfile


From: Thomas Weber
Subject: Re: Problems with mkoctfile
Date: Thu, 4 May 2006 11:08:27 +0200
User-agent: KMail/1.9.1

Hi, 

On Thursday 04 May 2006 10:40, Michael Creel wrote:
> I'm having some trouble compiling a DLD file. I'm using octave 2.1.73 from
> Debian. The NegBinSNP.cc file compiles (mkoctfile NegBinSNP.cc) without
> apparent trouble, but doesn't work properly. This did work with Octave
> 2.1.71. To give an example of use and the problem:

Works here without problems (Debian unstable). Are you using testing?
If you can't find a solution, please file a bug using 'reportbug' (which will 
include dependency information).

        Thomas

octave:1> data = rand(10,3)
data =

  0.017504  0.260989  0.897543
  0.795195  0.240318  0.196402
  0.093430  0.402346  0.818354
  0.848628  0.642491  0.907509
  0.024673  0.602434  0.825230
  0.455484  0.926086  0.428614
  0.736801  0.710275  0.799480
  0.807187  0.091280  0.731338
  0.519994  0.471578  0.646164
  0.494174  0.583579  0.419554

octave:2> theta = rand(5,1)
theta =

  0.809154
  0.017330
  0.116515
  0.963334
  0.840213

octave:3> NegBinSNP(theta,data,{2})
ans =

  -1.1390
  -1.4817
  -1.2857
  -1.7527
  -1.4304
  -1.8943
  -1.7718
  -1.4284
  -1.5136
  -1.5851



reply via email to

[Prev in Thread] Current Thread [Next in Thread]