GenRTR Riemannian Optimization Package
GenRTR > tests > test_dsvd.m

test_dsvd

PURPOSE ^

TEST_DSVD Test the RTRDSVD and IRTRDSVD drivers

SYNOPSIS ^

function test_dsvd(params,problem,k)

DESCRIPTION ^

 TEST_DSVD   Test the RTRDSVD and IRTRDSVD drivers

 This method tests the RTRDSVD and IRTRDSVD drivers on a user-specified 
 truncated singular value problem.
 If the user does not specify the problem, then the matrix files/lenta.mtx is 
 used.
 
 test_dsvd() uses default parameters.

 test_dsvd(params) allows user-specification of parameters:
     params.x0        - initial iterate: x.U and x.V orthonormal
     params.Delta_bar - maximum trust-region radius, default: infinity
     params.Delta0    - initial trust-region radius, default: k*sqrt(3)
     params.epsilon   - outer convergence tolerance, default: 1e-10
     params.testrtr   - test rtrdsvd,  default: 1
     params.testirtr  - test irtrdsvd, default: 1

 test_dsvd(params,problem) allows specification of the test matrix in a 
                        Matrix Market file format.

 test_dsvd(params,problem,k) allows user-specification of the number of 
                        basis vectors to be computed, default: 10

 See also rtr, irtr, irtrdsvd, rtrdsvd

CROSS-REFERENCE INFORMATION ^

This function calls:
  • irtrdsvd IRTRDSVD Compute dominant SVD of a rectangular matrix
  • rtrdsvd RTRDSVD Compute dominant SVD of a rectangular matrix
  • mmread
This function is called by:

Generated on Fri 11-Apr-2008 14:52:45 by m2html © 2003