array.hh File Reference

#include <cstring>
#include <memory>
#include <iostream>
#include "basics/typedefs.hh"
#include "basics/vectorsMatrices.hh"
#include "basics/exceptions.hh"
#include "basics/pointerOutput.hh"

Go to the source code of this file.

Classes

class  concepts::Array< F >
 An array of objects. More...
 
struct  concepts::Realtype< Array< F > >
 

Namespaces

 concepts
 Basic namespace for Concepts-2.
 

Macros

#define ArrayConstr_D   0
 
#define ArrayDestr_D   0
 

Functions

template<class F , class G >
concepts::Array< typename Combtype< F, G >::type > concepts::operator* (const concepts::Array< F > &array, const G &val)
 Multiplication operator. More...
 
template<class F , class G >
Array< typename Combtype< F, G >::type > concepts::operator* (const G &val, const Array< F > &array)
 Multiplication operator. More...
 
template<class F >
std::ostream & concepts::operator<< (std::ostream &os, const Array< F > &o)
 
template<class F >
std::ostream & concepts::operator<< (std::ostream &os, std::unique_ptr< F > &a)
 Output operator for unique_ptr's. More...
 
template<class F >
bool concepts::operator== (const Array< F > &x, const Array< F > &y)
 
template<class F >
bool concepts::operator== (const Array< F > &x, F &y)
 
template<class F >
bool concepts::operator== (F &y, const Array< F > &x)
 
template<class F >
void concepts::pointerOutput (std::ostream &os, const Array< F > &array)
 

Detailed Description

Array which does enlarge on request, zero out and more. In a sense a very minimalistic implementation of STLs vector. It's mainly intended to be an exception safe way to have an array of something. Especially suitable for vectors and matrices.

Definition in file array.hh.

Macro Definition Documentation

◆ ArrayConstr_D

#define ArrayConstr_D   0

Definition at line 23 of file array.hh.

◆ ArrayDestr_D

#define ArrayDestr_D   0

Definition at line 24 of file array.hh.

Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich