~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/PyTrilinos/doc/PyTrilinos-ACM-TOMS/test_matvecs.m

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% very simple MALTAB script that creates a sparse matrix from the gallery,
 
2
% then computes 100 matrix-vector products, and reports the CPU time.
 
3
clear all
 
4
format long
 
5
n = 1000;
 
6
A = gallery('poisson', n);
 
7
size(A)
 
8
x = rand(n * n,1);
 
9
t1 = cputime;
 
10
for i=1:100
 
11
  b = A * x;
 
12
end
 
13
cputime - t1
 
14