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 MatReshape;

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

    Module  MatReshape     (Version 1.0)

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

    Purpose   Change the "shape" of a matrix, i.e. insert or delete
              rows or columns.

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


    Programming

      o Design
        Olivier Roth              23/04/1990
        Andreas Fischlin          28/05/1993

      o Implementation
        Olivier Roth              23/04/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;


  PROCEDURE InsertMatrixRow( a: Matrix;  nrRow: INTEGER );
  PROCEDURE InsertMatrixCol( a: Matrix;  nrCol: INTEGER );
  (* In case the allocated memory of the matrix is not sufficient,
   * the needed memory will be allocated as needed by the insertion. *)


  PROCEDURE DeleteMatrixRow( a: Matrix;  nrRow: INTEGER );
  PROCEDURE DeleteMatrixCol( a: Matrix;  nrCol: INTEGER );
  (* Note, for efficiency reasons, the previously allocated memory
   * is not released. *)


END MatReshape.

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