vecalg.hpp File Reference

#include "config.hpp"
#include "frwrddecl.hpp"
#include "misc.hpp"
#include "functional.hpp"
#include "vecalg.cpp"

Go to the source code of this file.

Namespaces

namespace  Arageli
namespace  Arageli::_Internal

Classes

struct  Arageli::_Internal::function_traits_subscript_select_index< Vector, Index, Index_category >
struct  Arageli::_Internal::function_traits_subscript_select_index< const Vector, Index, Index_category >
struct  Arageli::_Internal::function_traits_subscript_select_index< Vector, Index, type_category::integer >
struct  Arageli::_Internal::function_traits_subscript_select_index< const Vector, Index, type_category::integer >
struct  Arageli::vec_binary_function_traits< Vec, Index >

Defines

#define ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE_VECALG

Functions

template<typename Vec, typename Index>
cnc_reference< Vec >::type Arageli::vec_operator_sqbrackets_index_vector (Vec *vec, const Index &ind, const type_category::integer &)
template<typename Vec, typename Index>
indexed_subvector< Vec, vector<
typename Vec::size_type > > 
Arageli::vec_operator_sqbrackets_index_vector (Vec *vec, const Index &ind, const type_category::string &)
template<typename Vec, typename Index>
indexed_subvector< Vec, Index > Arageli::vec_operator_sqbrackets_index_vector (Vec *vec, const Index &ind, const type_category::type &)
template<typename Vec, typename UFunc>
void Arageli::apply1_wores_vec (Vec &a, UFunc f)
template<typename Vec1, typename Vec2, typename BinOp>
void Arageli::apply2_wores_vec_by_vec (Vec1 &a, Vec2 &b, BinOp f)
template<typename Vec, typename Val, typename BinOp>
void Arageli::apply2_wores_vec_by_val (Vec &a, Val &b, BinOp f)
template<typename Val, typename Vec, typename BinOp>
void Arageli::apply2_wores_val_by_vec (Val &a, Vec &b, BinOp f)
template<typename Vec1, typename Vec2, typename VecRes, typename Func2>
VecRes & Arageli::apply2_vec_by_vec (const Vec1 &a, const Vec2 &b, VecRes &res, Func2 f)
template<typename Vec1, typename Vec2, typename Func2>
Vec1 Arageli::apply2_vec_by_vec (const Vec1 &a, const Vec2 &b, Func2 f)
template<typename Vec, typename Val, typename VecRes, typename Func2>
VecRes & Arageli::apply2_vec_by_val (const Vec &a, const Val &b, VecRes &res, Func2 f)
template<typename Vec, typename Val, typename Func2>
Vec Arageli::apply2_vec_by_val (const Vec &a, const Val &b, Func2 f)
template<typename Val, typename Vec, typename VecRes, typename Func2>
VecRes & Arageli::apply2_val_by_vec (const Val &a, const Vec &b, VecRes &res, Func2 f)
template<typename Val, typename Vec, typename Func2>
Vec Arageli::apply2_val_by_vec (const Val &a, const Vec &b, Func2 f)
template<typename Vec1, typename Vec2, typename VecRes, typename Func3>
VecRes & Arageli::apply3_vec_by_vec (const Vec1 &a, const Vec2 &b, VecRes &res, Func3 f)
template<typename Vec1, typename Vec2, typename Func3>
Vec1 Arageli::apply3_vec_by_vec (const Vec1 &a, const Vec2 &b, Func3 f)
template<typename Vec, typename Val, typename VecRes, typename Func3>
VecRes & Arageli::apply3_vec_by_val (const Vec &a, const Val &b, VecRes &res, Func3 f)
template<typename Vec, typename Val, typename Func3>
Vec Arageli::apply3_vec_by_val (const Vec &a, const Val &b, Func3 f)
template<typename Val, typename Vec, typename VecRes, typename Func3>
VecRes & Arageli::apply3_val_by_vec (const Val &a, const Vec &b, VecRes &res, Func3 f)
template<typename Val, typename Vec, typename Func3>
Vec Arageli::apply3_val_by_vec (const Val &a, const Vec &b, Func3 f)
template<typename Vec1, typename Vec2, typename Cmp>
int Arageli::cmp_vec_by_vec (const Vec1 &a, const Vec2 &b, Cmp cmp)
template<typename Vec, typename Val, typename Cmp>
int Arageli::cmp_vec_by_val (const Vec &a, const Val &val, Cmp cmp)
template<typename Val, typename Vec, typename Cmp>
int Arageli::cmp_val_by_vec (const Val &val, const Vec &a, Cmp cmp)
template<typename Vec1, typename Vec2>
int Arageli::cmpdef_vec_by_vec (const Vec1 &a, const Vec2 &b)
template<typename Vec, typename Val>
int Arageli::cmpdef_vec_by_val (const Vec &a, const Val &val)
template<typename Val, typename Vec>
int Arageli::cmpdef_val_by_vec (const Val &val, const Vec &a)
template<typename Vec1, typename Vec2, typename Cmp>
bool Arageli::allcmp_vec_by_vec (const Vec1 &a, const Vec2 &b, Cmp cmp)
template<typename Vec, typename Val, typename Cmp>
bool Arageli::allcmp_vec_by_val (const Vec &a, const Val &val, Cmp cmp)
template<typename Val, typename Vec, typename Cmp>
bool Arageli::allcmp_val_by_vec (const Val &val, const Vec &a, Cmp cmp)
template<typename Vec1, typename Vec2, typename Cmp>
Vec1::template other_element_type_refcnt<
bool, true >::type 
Arageli::eachcmp_vec_by_vec (const Vec1 &a, const Vec2 &b, Cmp cmp)
template<typename Vec, typename Val, typename Cmp>
Vec::template other_element_type_refcnt<
bool, true >::type 
Arageli::eachcmp_vec_by_val (const Vec &a, const Val &val, Cmp cmp)
template<typename Val, typename Vec, typename Cmp>
Vec::template other_element_type_refcnt<
bool, true >::type 
Arageli::eachcmp_val_by_vec (const Val &val, const Vec &a, Cmp cmp)
template<typename Vec1, typename Vec2, typename Cmp>
Vec1::template other_element_type_refcnt<
int, true >::type 
Arageli::elwisecmp_vec_by_vec (const Vec1 &a, const Vec2 &b, Cmp cmp)
template<typename Vec, typename Val, typename Cmp>
Vec::template other_element_type_refcnt<
int, true >::type 
Arageli::elwisecmp_vec_by_val (const Vec &a, const Val &val, Cmp cmp)
template<typename Val, typename Vec, typename Cmp>
Vec::template other_element_type_refcnt<
int, true >::type 
Arageli::elwisecmp_val_by_vec (const Val &val, const Vec &a, Cmp cmp)
template<typename Index, typename T>
bool Arageli::all_in_range (const Index &ind, const T &left, const T &right)
template<typename Out, typename Vec>
Out & Arageli::vec_output_list (Out &out, const Vec &x, const char *first_bracket=vector_output_list_first_bracket_default, const char *second_bracket=vector_output_list_second_bracket_default, const char *separator=vector_output_list_separator_default)

Variables

const char * Arageli::vector_output_list_first_bracket_default
const char * Arageli::vector_output_list_second_bracket_default
const char * Arageli::vector_output_list_separator_default
const char * Arageli::vector_input_list_first_bracket_default
const char * Arageli::vector_input_list_second_bracket_default
const char * Arageli::vector_input_list_separator_default
const char * Arageli::vector_input_list_range_default
const char * Arageli::vector_output_aligned_left_col_default
const char * Arageli::vector_output_aligned_right_col_default


Detailed Description

This file contains several generic functions which allows dealing with vector-like structures, such as Arageli::vector. For example, element-wise operations with two vectors, scalar by vector operations etc.

Definition in file vecalg.hpp.


Define Documentation

#define ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE_VECALG

Definition at line 518 of file vecalg.hpp.


Generated on Thu Aug 31 17:38:19 2006 for Arageli by  doxygen 1.4.7