Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
al-vector.H File Reference

Sparse vector with named elements. More...

#include <memory>
#include <sstream>
#include <iostream>
#include <string>
#include <ah-errors.H>
#include <ahFunctional.H>
#include <ahDry.H>
#include <ah-dry-mixin.H>
#include <ahSort.H>
#include <htlist.H>
#include <ah-zip.H>
#include <tpl_hash.H>
#include <al-domain.H>
Include dependency graph for al-vector.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Aleph::Vector< T, NumType >
 Sparse vector implementation with domain-based indexing. More...
 
class  Aleph::Vector< T, NumType >::Proxy
 
struct  Aleph::Vector< T, NumType >::Iterator
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Functions

template<typename T , typename NumType >
Vector< T, NumTypeAleph::operator* (const NumType &scalar, const Vector< T, NumType > &v)
 
template<typename T , typename NumType >
std::ostream & Aleph::operator<< (std::ostream &s, const Vector< T, NumType > &vec)
 

Detailed Description

Sparse vector with named elements.

Provides Vector class for sparse vectors where elements are indexed by arbitrary types. Efficient for vectors with many zero/default elements using hash-based storage.

Author
Leandro Rabindranath León

Definition in file al-vector.H.