comparison scripts/sparse/spalloc.m @ 7001:8b0cfeb06365

[project @ 2007-10-10 18:02:59 by jwe]
author jwe
date Wed, 10 Oct 2007 18:03:02 +0000
parents 2618a0750ae6
children 93c65f2a5668
comparison
equal deleted inserted replaced
7000:e87f860624cc 7001:8b0cfeb06365
18 ## -*- texinfo -*- 18 ## -*- texinfo -*-
19 ## @deftypefn {Function File} {@var{s} =} spalloc (@var{r}, @var{c}, @var{nz}) 19 ## @deftypefn {Function File} {@var{s} =} spalloc (@var{r}, @var{c}, @var{nz})
20 ## Returns an empty sparse matrix of size @var{r}-by-@var{c}. As Octave 20 ## Returns an empty sparse matrix of size @var{r}-by-@var{c}. As Octave
21 ## resizes sparse matrices at the first opportunity, so that no additional 21 ## resizes sparse matrices at the first opportunity, so that no additional
22 ## space is needed, the argument @var{nz} is ignored. This function is 22 ## space is needed, the argument @var{nz} is ignored. This function is
23 ## provided only for compatiability reasons. 23 ## provided only for compatibility reasons.
24 ## 24 ##
25 ## It should be noted that this means that code like 25 ## It should be noted that this means that code like
26 ## 26 ##
27 ## @example 27 ## @example
28 ## k = 5; 28 ## k = 5;