Mercurial > hg > octave-nkf
comparison scripts/sparse/sprandsym.m @ 14373:d00900b3dc4b
doc: Use two spaces at start of sentence.
* ndgrid.m, uiwait.m, sprandn.m, sprandsym.m, quantile.m:
Use two spaces at start of sentence.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 16 Feb 2012 15:44:42 -0800 |
parents | f3d52523cde1 |
children | 86854d032a37 |
comparison
equal
deleted
inserted
replaced
14372:3f6489feca1e | 14373:d00900b3dc4b |
---|---|
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} sprandsym (@var{n}, @var{d}) | 21 ## @deftypefn {Function File} {} sprandsym (@var{n}, @var{d}) |
22 ## @deftypefnx {Function File} {} sprandsym (@var{s}) | 22 ## @deftypefnx {Function File} {} sprandsym (@var{s}) |
23 ## Generate a symmetric random sparse matrix. The size of the matrix will be | 23 ## Generate a symmetric random sparse matrix. The size of the matrix will be |
24 ## @var{n} by @var{n}, with a density of values given by @var{d}. | 24 ## @var{n} by @var{n}, with a density of values given by @var{d}. |
25 ## @var{d} should be between 0 and 1. Values will be normally | 25 ## @var{d} should be between 0 and 1. Values will be normally |
26 ## distributed with mean of zero and variance 1. | 26 ## distributed with mean of zero and variance 1. |
27 ## | 27 ## |
28 ## If called with a single matrix argument, a random sparse matrix is | 28 ## If called with a single matrix argument, a random sparse matrix is |
29 ## generated wherever the matrix @var{S} is non-zero in its lower | 29 ## generated wherever the matrix @var{S} is non-zero in its lower |
30 ## triangular part. | 30 ## triangular part. |