Friday 15 May 2020

Matrix Utilities: QR factorisation using Gram-Schmidt for Complex Matrix

This blog post implements the QR factorisation of a square matrix whose entries are complex numbers. The Gram-Schmidt method is used to calculate the orthogonal Q matrix.

For the (square) matrix entry, comma separated (the separation can also be a single whitespace) numbers need to be entered into the Input box, with no newline after the last line. You can examine the pre-loaded Input textarea for guidance. A comma at the end of each line can be added optionally for comma separated numbers. Alternatively, you can load a CSV file into the Input box, by clicking on the Choose File button.

The precision of the results in decimal places can be specified in the text box headed "Precision (decimal places)". To perform the calculation, simply press the button labelled "Perform QR factorisation" further down this page. Two matrices will be printed in coloured textareas: the Q matrix which is orthogonal, and the upper-triangular R matrix. In addition, the matrix size and determinant will be printed.


Precision (decimal places)






Input


Results pending...


Q Matrix

R Matrix


Logistic Regression Calculator and ROC Curve Plotter

This blog post implements a Logistic Regression calculator for a binary output. Consider a binary outcome response variable \(Y\...