comparison scripts/sparse/pcg.m @ 19182:e278c939a419

Deprecate luinc. * NEWS: Announce deprecation * luinc.cc (F__luinc__): Rename luinc to internal function __luinc__. * scripts/deprecated/luinc.m: New m-file to issue deprecation warning. * scripts/deprecated/module.mk: Add luinc.m to build system. * sparse.txi: Remove function from manual. * pcg.m: Replace luinc example in docstring with ilu.
author Rik <rik@octave.org>
date Mon, 22 Sep 2014 20:19:01 -0700
parents 0850b5212619
children 0e1f5a750d00
comparison
equal deleted inserted replaced
19181:8b2a919d24bc 19182:e278c939a419
122 ## @example 122 ## @example
123 ## @group 123 ## @group
124 ## n = 10; 124 ## n = 10;
125 ## A = diag (sparse (1:n)); 125 ## A = diag (sparse (1:n));
126 ## b = rand (n, 1); 126 ## b = rand (n, 1);
127 ## [l, u, p, q] = luinc (A, 1.e-3); 127 ## [l, u, p] = ilu (A, struct ("droptol", 1.e-3));
128 ## @end group 128 ## @end group
129 ## @end example 129 ## @end example
130 ## 130 ##
131 ## @sc{Example 1:} Simplest use of @code{pcg} 131 ## @sc{Example 1:} Simplest use of @code{pcg}
132 ## 132 ##