The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Lapack spptrf function
Replies: 10   Last Post: Apr 12, 2013 11:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Lapack spptrf function
Posted: Apr 10, 2013 11:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Francesco Perrone" <> wrote in message
> Hi everybody,
> I have got a question concerning a specific LAPACK function: spptrf.
> spptrf allows for a Cholesky factorization of a given positive definite
> symmetric matrix by only input of the upper (respectively lower)
> triangular factor, stored as an array.
> Therefore is the given matrix has N*N dimension, spptrf will receive as
> input only the N(N+1)/2 independent element stored as uni-dimensional
> matrix.
> Now, I've seen that C:\Program Files\MATLAB\R2012a\extern\include\lapack.h
> includes spptrf. But can I directly call spptrf?

Why not simply call CHOL?

You could probably write a MEX-file to do this, though there are a few
gotchas that you should review in the MEX documentation. But again, if
you're looking for the Cholesky decomposition, there's a function in MATLAB
for that called CHOL.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.