matrixop Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: matrixop-1.0.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: David Gleich (View more)

matrixop script description:




Publisher review:
matrixop - A Matlab object that acts just like a matrix but represents a linear operator as a function. Many of the iterative methods in Matlab are designed to work with either a function handle to provide A*x, or a matrix A directly. Developing code for each paradigm is a pain. The matrixop class yields the flexibility of Matlab syntax using function handles or anonymous functions. n = 100;A = spdiags([e -2*e e], -1:1, n, n);Afun = @(x) [-2*x(1) x(2); x(1:n-2) - 2*x(2:n-1) x(3:n); x(n-1)-2*x(n)];op = matrixop(A);x = linspace(-1,1,n)';b = op*x; % calls Afun(x)xminres = minres(op,b,[],200); % runs minres on op where op*x = Afun(x)xgmres = gmres(op,b,[], [],200);The advantage of the matrixop class is that you can write a single code that works for either a Matlab matrix or a function handle/linear operator representation. This simplifies the code and eliminates syntactic juggling that can cause bugs.The zip file includes numerous examples of how to use the matrixop class along with a sample showing the performance implications. See the demo directory. Requirements: ยท MATLAB Release: R14
matrixop is a Matlab script for Mathematics scripts design by David Gleich. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5