vtf-logo

SparseArraySigned.h File Reference

Sparse array with a signed null value. More...

#include "SparseArray.h"
#include "SparseArraySigned1.h"

Go to the source code of this file.

Namespaces

namespace  ads

Functions

template<typename T>
void ads::merge (const SparseArraySigned< 1, T > &a, const SparseArraySigned< 1, T > &b, SparseArraySigned< 1, T > &c)
 Merge the arrays.
template<typename T>
void ads::remove_unecessary_elements (SparseArraySigned< 1, T > &a)
 Remove the unecessary elements.
template<typename T>
void ads::compute_union (const SparseArraySigned< 1, T > &a, const SparseArraySigned< 1, T > &b, SparseArraySigned< 1, T > &c)
 Compute the union of the arrays.
template<typename T>
void ads::compute_intersection (const SparseArraySigned< 1, T > &a, const SparseArraySigned< 1, T > &b, SparseArraySigned< 1, T > &c)
 Compute the intersection of the arrays.
template<int N, typename T>
bool ads::operator== (const SparseArraySigned< N, T > &x, const SparseArraySigned< N, T > &y)
 Return true if the arrays are equal.
template<int N, typename T>
bool ads::operator!= (const SparseArraySigned< N, T > &x, const SparseArraySigned< N, T > &y)
 Return true if the arrays are not equal.
template<int N, typename T>
std::ostream & ads::operator<< (std::ostream &out, const SparseArraySigned< N, T > &x)
 Write a SparseArraySigned in ascii format.
template<int N, typename T>
std::istream & ads::operator>> (std::istream &in, SparseArraySigned< N, T > &x)
 Read a SparseArraySigned in ascii format.


Detailed Description

Sparse array with a signed null value.


Generated on Fri Aug 24 12:55:37 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7