From: <jpi...@us...> - 2012-05-21 21:13:10
|
Revision: 10483 http://octave.svn.sourceforge.net/octave/?rev=10483&view=rev Author: jpicarbajal Date: 2012-05-21 21:13:04 +0000 (Mon, 21 May 2012) Log Message: ----------- linear-algebra: applying patches from S?\195?\169bastien Villemot. Modified Paths: -------------- trunk/octave-forge/main/linear-algebra/inst/circulant_inv.m trunk/octave-forge/main/linear-algebra/inst/nmf_bpas.m Modified: trunk/octave-forge/main/linear-algebra/inst/circulant_inv.m =================================================================== --- trunk/octave-forge/main/linear-algebra/inst/circulant_inv.m 2012-05-21 20:15:41 UTC (rev 10482) +++ trunk/octave-forge/main/linear-algebra/inst/circulant_inv.m 2012-05-21 21:13:04 UTC (rev 10483) @@ -41,4 +41,4 @@ %!shared v %! v = [1 2 3]'; -%!assert (make_circulant_matrix(circulant_inv(v)), inv(make_circulant_matrix(v)), 10*eps); +%!assert (circulant_make_matrix(circulant_inv(v)), inv(circulant_make_matrix(v)), 10*eps); Modified: trunk/octave-forge/main/linear-algebra/inst/nmf_bpas.m =================================================================== --- trunk/octave-forge/main/linear-algebra/inst/nmf_bpas.m 2012-05-21 20:15:41 UTC (rev 10482) +++ trunk/octave-forge/main/linear-algebra/inst/nmf_bpas.m 2012-05-21 21:13:04 UTC (rev 10483) @@ -653,16 +653,16 @@ %! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2); %!test -%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'nnls_solver','as'); +%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'nnlssolver','as'); %!test %! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse'); %!test -%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse','nnls_solver','bp','alpha',1.1,'beta',1.3); +%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse','nnlssolver','bp','alpha',1.1,'beta',1.3); %!test -%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2,'type','plain','w_init',rand(m,k)); +%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2,'type','plain','winit',rand(m,k)); %!demo %! m = 300; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |