The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

svdpackout.pl Reconstruct matrix from singular values output by SVDPACKC

SYNOPSIS

Reconstructs a matrix from its singular values and singular vectors created by SVDPack.

USGAE

svdpackout.pl [OPTIONS] lav2 lao2

INPUT

Required Arguments:

lav2

Binary output file created by SVDPack's las2

lao2

ASCII output file created by SVDPack's las2

Optional Arguments:

--rowonly

Only the row vectors are reconstructed. By default, svdpackout reconstructs entire matrix.

--format FORM

Specifies numeric format for representing output matrix values. Following formats are supported with --format :

iN - Output matrix will contain integer values each occupying N spaces

fM.N - Output matrix will contain real values each occupying total M spaces of which last N digits show fractional part. M spaces for each entry include the decimal point and +/- sign if any.

Default format value is f16.10.

Other Options :

--help

Displays this message.

--version

Displays the version information.

OUTPUT

svdpackout displays a matrix reconstructed from the Singular Triplets created by SVD. By default, entire matrix (product of left and right signular vectors and singular values) is reconstructed. When --rowonly is ON, only the reduced row vectors are built.

SYSTEM REQUIREMENTS

SVDPACK - http://netlib.org/svdpack/

PDL - http://search.cpan.org/dist/PDL/

AUTHOR

Amruta Purandare, Ted Pedersen. University of Minnesota at Duluth.

COPYRIGHT

Copyright (c) 2002-2005,

Amruta Purandare, University of Pittsburgh. amruta@cs.pitt.edu

Ted Pedersen, University of Minnesota, Duluth. tpederse@umn.edu

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.