﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Bluebit Software Support Forum / Technical Support and Help / Online Matrix Calculator  / Cholesky and transpose / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Bluebit Software Support Forum</description><link>http://www.bluebit.gr/forum/</link><webMaster>support@bluebit.gr</webMaster><lastBuildDate>Wed, 08 Feb 2012 18:06:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Cholesky and transpose</title><link>http://www.bluebit.gr/forum/Topic605-9-1.aspx</link><description>Yeah, not sure what LAPACK is using.  And I know that it gives just a success/fail message without saying what the problem is (because it doesn't know what the problem is).  If nothing else, changing the error message from "Not a symmetric positive definite matrix." to something like "Not a symmetric positive definite matrix and/or was singular" or something like that, might help.  Because as it is right now some semi-positive definite matrices will decompose just fine, and others won't, so to those that aren't well versed in what the algorithm is actually doing it might be confusing what's going on.&lt;br&gt;&lt;br&gt;But not a huge problem.  It does just fine with positive definite symmetric matrices, which is all it's advertised to do.&lt;br&gt;&lt;br&gt;The transpose would be nice to have on the site in the next few days/weeks, if that's possible.</description><pubDate>Mon, 09 Nov 2009 17:43:47 GMT</pubDate><dc:creator>Numsgil</dc:creator></item><item><title>RE: Cholesky and transpose</title><link>http://www.bluebit.gr/forum/Topic605-9-1.aspx</link><description>Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;The second one is easy to implement since the unterlying ".NET Matrix Library" already has a matrix transpose function.&lt;/P&gt;&lt;P&gt;The second needs a litle more work. I am not sure if there is a direct implementation of this method in LAPACK. I think not.</description><pubDate>Mon, 09 Nov 2009 07:57:06 GMT</pubDate><dc:creator>Trifon</dc:creator></item><item><title>Cholesky and transpose</title><link>http://www.bluebit.gr/forum/Topic605-9-1.aspx</link><description>Generally I really like this tool, especially being on the internet makes it very easy to test ideas quickly.&lt;br&gt;&lt;br&gt;Two suggestions:&lt;br&gt;&lt;br&gt;1.  The Cholesky decomposition on the site sometimes fails for matrices which are rank deficient but do posses a triangular decomposition.  If you go to the wikipedia article on Cholesky decomposition, it describes a form with a diagonal matrix in the center.  If you do it that way (which is actually faster since it requires fewer square roots), and then take the square root of the diagonal matrix, you can always form a cholesky triangular matrix for all semi positive definite symmetric matrices.&lt;br&gt;&lt;br&gt;2.  There isn't an obvious way to take the transpose of a matrix that I see.  I've been experimenting with a complete orthogonal decomposition algorithm which works by doing:&lt;br&gt;&lt;br&gt;A = Q1 * R1&lt;br&gt;R1^T = Q2 * R2&lt;br&gt;R1 = R2^T * Q2^T&lt;br&gt;&lt;br&gt;A = Q1 * R2^T * Q2^T&lt;br&gt;&lt;br&gt;I've been testing various small matrices by hand using the calculator to see how the algorithm works with different ranks, shapes, etc.  So I first QR decompose A, then QR decompose the transpose of the first R.  But to be able to actually do that I need to transpose the copy+pasted triangular matrix.  Right now I have to hand transpose it, which is a pain and error prone.&lt;br&gt;&lt;br&gt;Also, while I'm on the subject it would be nice to be able to construct a householder transformation algebraically.  So some way to add/subtract matrices, scale them, and do outer products on them.</description><pubDate>Fri, 06 Nov 2009 18:12:28 GMT</pubDate><dc:creator>Numsgil</dc:creator></item></channel></rss>
