Source: vector.h


Annotated List
Files
Globals
Hierarchy
Index
/*  vector.h - 
    This file is part of Kalamaris
    Copyright (C) 2000  Antonio Larrosa Jimenez
    Kalamaris' homepage : http://www.arrakis.es/~rlarrosa/kalamaris.html

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 

    Send comments and bug fixes to Antonio Larrosa <larrosa@kde.org>

 ***************************************************************************/
/**
 *
 */

class Matrix : public T
{
  int dimrow, dimcol;
  T **v;

public:
  Matrix(double g=0.0);
  Matrix( const T &x);
  inline int colDimension() { return dimcol; };
  inline int rowDimension() { return dimrow; };

  inline int operator==( T v1, T v2 );
  inline int operator==( double v1, T v2 );
  inline int operator==( T v1, double v2 );
  inline int operator!=( T v1, T v2 );
  inline int operator!=( double v1, T v2 );
  inline int operator!=( T v1, double v2 );
  inline int operator<( T v1, T v2 );
  inline int operator<( double v1, T v2 );
  inline int operator<( T v1, double v2 );
  inline int operator>( T v1, T v2 );
  inline int operator>( double v1, T v2 );
  inline int operator>( T v1, double v2 );
  inline int operator>=( T v1, T v2 );
  inline int operator>=( double v1, T v2 );
  inline int operator>=( T v1, double v2 );
  inline int operator<=( T v1, T v2 );
  inline int operator<=( double v1, T v2 );
  inline int operator<=( T v1, double v2 );
  T &operator=( const T &x );
  T &operator=( double &x ); 
  inline T  operator+( const T &v1, const T &v2 );
  inline T  operator-( const T &v1, const T &v2 );
  inline T  operator*( const T &v1, const T &v2 );
  inline T  operator/( const T &v1, const T &v2 );

};

Generated by: antlarr@terminus on Tue May 30 16:24:07 2000, using kdoc 2.0a22.