array2d.h File Reference

#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  pfs

Classes

class  pfs::Array2D
class  pfs::Array2DImpl

Functions

void pfs::copyArray (const Array2D *from, Array2D *to)
 Copy data from one Array2D to another.
void pfs::setArray (Array2D *array, const float value)
 Set all elements of the array to a give value.
void pfs::multiplyArray (Array2D *z, const Array2D *x, const Array2D *y)
 Perform element-by-element multiplication: z = x * y.


Detailed Description

PFS library - general 2d array interface All pfs::Array2D classes are part of pfs library. However, to lessen coupling of the code with pfs library, Array2D classes are declared in this separate file. Therefore it is possible to write the code that implements or uses Array2D interface while it has no knowledge of other pfs library classes.

This file is a part of PFSTOOLS package. ---------------------------------------------------------------------- Copyright (C) 2003,2004 Rafal Mantiuk and Grzegorz Krawczyk

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

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ----------------------------------------------------------------------

Author:
Rafal Mantiuk, <mantiuk@mpi-sb.mpg.de>
Id

Definition in file array2d.h.


Generated on Tue Nov 25 17:23:48 2008 for Portable Floating-point Streams (pfstools) by  doxygen 1.5.3