AFF --- A container for numbers (array) by Friederich and Forbriger.
simplearray.h File Reference

a simple rigid array More...

#include <aff/lib/types.h>
#include <aff/lib/rawarfun.h>
Include dependency graph for simplearray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aff::SimpleRigidArray< T, N >
 A very basic rigid array class (with deep inline copy). More...
 

Namespaces

 aff
 Root namespace of library.
 

Macros

#define AFF_SIMPLEARRAY_H_VERSION   "AFF_SIMPLEARRAY_H V1.4"
 

Functions

template<typename T , Tsize N>
aff::inline_product (const SimpleRigidArray< T, N > &array)
 Product of all elements. More...
 
template<typename T , Tsize N>
aff::inline_sum (const SimpleRigidArray< T, N > &array)
 Sum of all elements. More...
 
template<typename T , Tsize N>
bool aff::inline_anysmaller (const SimpleRigidArray< T, N > &A, const SimpleRigidArray< T, N > &B)
 Returns true if any of A is smaller than corresponding B. More...
 
template<typename T , Tsize N>
bool aff::inline_anylarger (const SimpleRigidArray< T, N > &A, const SimpleRigidArray< T, N > &B)
 Returns true if any of A is larger than corresponding B. More...
 
template<typename T1 , typename T2 , Tsize N>
bool aff::inline_anylarger (const SimpleRigidArray< T1, N > &A, const SimpleRigidArray< T2, N > &B)
 Returns true if any of A is larger than corresponding B. More...
 
template<typename T , Tsize N>
aff::inline_innerproduct (const SimpleRigidArray< T, N > &A, const SimpleRigidArray< T, N > &B)
 Returns inner product. More...
 
template<typename T1 , typename T2 , Tsize N>
T1 aff::inline_innerproduct (const SimpleRigidArray< T1, N > &A, const SimpleRigidArray< T2, N > &B)
 Returns inner product. More...
 
template<typename T , Tsize N>
aff::inline_strideproduct (const SimpleRigidArray< T, N > &A, const SimpleRigidArray< T, N > &B)
 Returns strided product. More...
 

Detailed Description

a simple rigid array


Author
Thomas Forbriger
Since
08/12/2002

a simple rigid array


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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)

REVISIONS and CHANGES

  • 08/12/2002 V1.0 copied from libcontxx
  • 11/12/2002 V1.1 introduced extra inner product for mixed types
  • 15/12/2002 V1.2 (thof)
    • no need to place this into namespace prebuilt
  • 10/12/2007 V1.3 (thof)
    • checked initializer
  • 14/05/2011 V1.4 (thof)
    • reworked documentation

Definition in file simplearray.h.