octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sprand/sprandn fourth parameter implementation


From: fgnievinski
Subject: Re: sprand/sprandn fourth parameter implementation
Date: Tue, 4 Mar 2014 23:04:24 -0800 (PST)

Eduardo wrote
> The prototype of the function: R = sprand(m,n,density,rc)
> 
> I am trying to implement that missing feature in octave, but I am really
> getting stuck here. The fourth parameter is rc:
> 1) If rc is scalar, then it is the reciprocal condition number that the
> random sparse matrix generated should approximately has.
> 
> 2) If rc is a vector of length lr, where lr <= min(m,n), then R has rc as
> its first lr singular values, all others are zero
> 
> Any one have information on how to tackle that problem?... seems not to be
> trivial. It would be something about starting from the point of a diagonal
> matrix with the single values that are specified in rc vector and then do
> random ortogonal transformations to that matrix, but changing it in a way
> that it becomes random and sparse with a concrete density.
> This is the reason I asked for looking into Matlab code in the IRC
> channel,
> I don't know if there is actually an available algorithm to do that in the
> literature.
> 
> Any information about that?
> 
> Eduardo (edu159)

Dear Eduardo, you must refrain from looking into the Matlab code, which
would be like cheating on a test -- absolutely unacceptable.

Where have you searched so far?  Any of books.google.com or
scholar.google.com or wikipedia.org?

-F.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/sprand-sprandn-fourth-parameter-implementation-tp4662700p4662727.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]