rndWishart error with scalar covariance matrix

Dear forum,

when I type


in Gauss 13, I get the error message ``(0) : error G0648 : Incorrect input: Covariance matrix not positive definite'', although the scalar covariance ``matrix'' (second input, = 2) is obviously positive definite.

Is this problem related to the input being a scalar? I get no error message when I type ``2*eye(2)'' instead of ``2'' in the command above. On the other hand, the help file does not seem to exclude the case that the covariance matrix is a scalar.

Thanks in advance,


PS: I am using Kernel 13.0.9.




1 Answer


The error is indeed being returned because the incoming covariance matrix is a scalar. I will forward this to development and get their thoughts on the matter.

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy