function out=Linv(in)
Input:
Global variables:
Output:
Using your software for ``L.m'' as an example, create a file called
``Linv.m'' containing software for a function Linv() of the above
specification.
Hint: Do not form the matrix L
directly. Rather, use the fact that a./b produces a vector of the
ratios of the corresponding elements of a and b.
To verify your Linv() operator, execute the following at the octave prompt,
in=randn(prod(S),1); %# Create a random d=3 dimensional column vector Linv(L(in))./in %# Check ratio of Linv applied to L(in) to in