From 46439007cf417cbd9ac8049bb4122c890097a0fa Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 20:52:35 +0000 Subject: 20060303-partial --- module/linalg.m | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 module/linalg.m (limited to 'module/linalg.m') diff --git a/module/linalg.m b/module/linalg.m new file mode 100644 index 00000000..ccc3288d --- /dev/null +++ b/module/linalg.m @@ -0,0 +1,24 @@ +# The convention used here for storing matrices is the same commonly +# used for scientific programming in C, namely linearizing in Fortran order. +# Let A be an m by n matrix. We represent this by +# a: array of real; +# m, n, lda: int; +# where the variable lda ("leading dimension of a") is used so that a +# succession of matrix problems of varying sizes can be created without +# wholesale copying of data. The element of A in the i-th row and j-th column +# is stored in a[i+lda*j], where 0<=i