Sparse array with a signed null value. More...
#include "SparseArray.h"
#include "SparseArraySigned1.h"
#include "../defs.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
void | merge (const SparseArraySigned< 1, T > &a, const SparseArraySigned< 1, T > &b, SparseArraySigned< 1, T > &c) |
Merge the arrays. | |
template<typename T > | |
void | remove_unecessary_elements (SparseArraySigned< 1, T > &a) |
Remove the unecessary elements. | |
template<typename T > | |
void | 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 | 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 | operator== (const SparseArraySigned< N, T > &x, const SparseArraySigned< N, T > &y) |
Return true if the arrays are equal. | |
template<int N, typename T > | |
bool | 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 & | operator<< (std::ostream &out, const SparseArraySigned< N, T > &x) |
Write a SparseArraySigned in ascii format. | |
template<int N, typename T > | |
std::istream & | operator>> (std::istream &in, SparseArraySigned< N, T > &x) |
Read a SparseArraySigned in ascii format. |
Sparse array with a signed null value.