G0121: Matrix not positive definite [procs, line 140]

2 Answers


This error means that on line 140 of the file named procs, your program is passing a matrix that is not positive definite to a GAUSS function that requires a positive definite matrix.

This most commonly occurs when a program passes a matrix that is not positive definite to the GAUSS function invpd. invpd calculates the inverse of a positive definite matrix.


For more information on how to diagnose a matrix not positive definite errors see our blog, "Diagnosing a singular matrix".

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