Mercurial > octave-nkf
comparison scripts/sparse/sprandn.m @ 5639:acbcb9f164ca
[project @ 2006-03-03 16:39:34 by jwe]
author | jwe |
---|---|
date | Fri, 03 Mar 2006 16:39:35 +0000 |
parents | 9761b7d24e9e |
children | 2618a0750ae6 |
comparison
equal
deleted
inserted
replaced
5638:bcfddf8e23a3 | 5639:acbcb9f164ca |
---|---|
14 ## This is unlikely to happen for large really sparse matrices. | 14 ## This is unlikely to happen for large really sparse matrices. |
15 ## | 15 ## |
16 ## If called with a single matrix argument, a random sparse matrix is | 16 ## If called with a single matrix argument, a random sparse matrix is |
17 ## generated wherever the matrix @var{S} is non-zero. | 17 ## generated wherever the matrix @var{S} is non-zero. |
18 ## @end deftypefn | 18 ## @end deftypefn |
19 ## @seealso{sprandn} | 19 ## @seealso{sprand} |
20 | 20 |
21 ## This program is public domain | 21 ## This program is public domain |
22 ## Author: Paul Kienzle <pkienzle@users.sf.net> | 22 ## Author: Paul Kienzle <pkienzle@users.sf.net> |
23 | 23 |
24 function S = sprandn(m,n,d) | 24 function S = sprandn(m,n,d) |