ETHZ_Logo RAMSES_Logo_Right   RAMSES   RAMSES_Logo_Left Systems Ecology  
Start    search button      Modules:   A-Z   Function   Layer        QuickRefs:   DM   AuxLib   AuxLibE   SciLib   EasyMW   MW   ISIS   RMSLib

DEFINITION MODULE MatVecOps;

  (*******************************************************************

    Module  MatVecOps     (Version 1.0)

      Copyright (c) 1990-2006 by Olivier Roth, Andreas Fischlin and
      ETH Zurich.

    Purpose   Matrix vector operations.

    Remarks   This module is part of the Mat-library, which forms
              part of the RAMSES package.

              For scalar matrix operations see MatrixSclOps.


    Programming

      o Design
        Olivier Roth              03/12/1990
        Andreas Fischlin          28/05/1993

      o Implementation
        Olivier Roth              03/12/1990
        Andreas Fischlin          28/05/1993


    ETH Zurich
    Systems Ecology
    CHN E 35.1
    Universitaetstrasse 16
    8092 Zurich
    SWITZERLAND

    URLs:
        <mailto:RAMSES@env.ethz.ch>
        <http://www.sysecol.ethz.ch>
        <http://www.sysecol.ethz.ch/SimSoftware/RAMSES>


    Last revision of definition:  28/05/1993  AF

  *******************************************************************)


  FROM Matrices IMPORT Matrix;


  VAR
    matrixVecOpsOk: BOOLEAN; (* returns success of operation *)


  PROCEDURE MatAdd ( a, b: Matrix;   c: Matrix ); (* c := a + b *)
  PROCEDURE MatSub ( a, b: Matrix;   c: Matrix ); (* c := a - b *)
  PROCEDURE MatMult( a, b: Matrix;   c: Matrix ); (* c := a * b *)

  PROCEDURE MatInv( a: Matrix );                  (* a := a^-1 *)

  PROCEDURE MatTranspose( a: Matrix );            (* a := a' *)


END MatVecOps.

  Contact RAMSES@env.ethz.ch Last updated: 25-Jul-2011 [Top of page]