bijnum
Class SVDC
java.lang.Object
|
+--bijnum.SVDC
- public class SVDC
- extends java.lang.Object
This class contains the LINPACK DSVDC (singular value
decomposition) routine.
IMPORTANT: The "_j" suffixes indicate that these routines use
Java/C style indexing. For example, you will see
for (i = 0; i < n; i++)
rather than
for (i = 1; i <= n; i++)
To use the "_j" routines you will have
to fill elements 0 through n - 1 rather than elements 1 through n.
Versions of these programs that use FORTRAN style indexing
are also available. They end with the suffix "_f77".
This class was translated by a statistician from FORTRAN versions of
the LINPACK routines. It is NOT an official translation. When
public domain Java numerical analysis routines become available
from the people who produce LAPACK, then THE CODE PRODUCED
BY THE NUMERICAL ANALYSTS SHOULD BE USED.
Meanwhile, if you have suggestions for improving this
code, please contact Steve Verrill at steve@ws13.fpl.fs.fed.us.
- Author:
- Steve Verrill
Constructor Summary |
SVDC()
|
Method Summary |
static void |
dsvdc_j(double[][] x,
int n,
int p,
double[] s,
double[] e,
double[][] u,
double[][] v,
double[] work,
int job)
This method decomposes a n by p
matrix X into a product UDVī where ... |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVDC
public SVDC()
dsvdc_j
public static void dsvdc_j(double[][] x,
int n,
int p,
double[] s,
double[] e,
double[][] u,
double[][] v,
double[] work,
int job)
throws SVDCException
- This method decomposes a n by p
matrix X into a product UDVī where ...
For details, see the comments in the code.
This method is a translation from FORTRAN to Java
of the LINPACK subroutine DSVDC.
In the LINPACK listing DSVDC is attributed to G.W. Stewart
with a date of 3/19/79.
Translated by Steve Verrill, March 3, 1997.
- Parameters:
x
- The matrix to be decomposedn
- The number of rows of Xp
- The number of columns of Xs
- The singular values of Xe
- See the documentation in the codeu
- The left singular vectorsv
- The right singular vectorswork
- A work arrayjob
- See the documentation in the codeinfo
- See the documentation in the code
Submit a bug or feature
Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.