www.cemf.ir
VectorFwd.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 
21 
22 template<typename T, typename Allocator>
23 inline Vector<T, Allocator> operator+ (const Vector<T, Allocator>& op1, const T& op2 );
24 
25 
26 template<typename T, typename Allocator>
27 inline Vector<T, Allocator> operator+ (const T& op1, const Vector<T, Allocator>& op2 );
28 
29 
30 template<typename T, typename Allocator>
31 inline Vector<T, Allocator> operator+ (const Vector<T, Allocator>& op1, const Vector<T, Allocator>& op2 );
32 
33 
34 template<typename T, typename Allocator>
35 inline Vector<T, Allocator> operator - (const Vector<T, Allocator>& op1, const T& op2 );
36 
37 template<typename T, typename Allocator>
38 inline Vector<T, Allocator> operator - (const T& op1, const Vector<T, Allocator>& op2 );
39 
40 
41 template<typename T, typename Allocator>
42 inline Vector<T, Allocator> operator - (const Vector<T, Allocator>& op1, const Vector<T, Allocator>& op2 );
43 
44 
45 template<typename T, typename Allocator>
46 inline Vector<T, Allocator> operator* (const Vector<T, Allocator>& op1, const T& op2 );
47 
48 template<typename T, typename Allocator>
49 inline Vector<T, Allocator> operator* (const T& op1, const Vector<T, Allocator>& op2 );
50 
51 template<typename T, typename Allocator>
52 inline Vector<T, Allocator> operator* (const Vector<T, Allocator>& op1, const Vector<T, Allocator>& op2 );
53 
54 
55 template<typename T, typename Allocator>
56 inline Vector<T, Allocator> operator / (const Vector<T, Allocator>& op1, const T& op2 );
57 
58 
59 template<typename T, typename Allocator>
60 inline Vector<T, Allocator> operator / (const T& op1, const Vector<T, Allocator>& op2 );
61 
62 
63 template<typename T, typename Allocator>
64 inline Vector<T, Allocator> operator / (const Vector<T, Allocator>& op1, const Vector<T, Allocator>& op2 );
65 
66 
67 template<typename T, typename Allocator>
68 inline auto count(const Vector<T, Allocator>& vec, const T& val);
69 
70 template<typename T, typename Allocator, typename UnaryPredicate>
71 inline auto count_if(const Vector<T, Allocator>& vec, UnaryPredicate p);
72 
73 template<typename T, typename Allocator>
74 inline void fill_n(Vector<T, Allocator>& vec, size_t n, const T& val);
75 
76 template<typename T, typename Allocator>
77 inline void fill(Vector<T, Allocator>& vec, const T& val);
78 
79 template<typename T, typename Allocator>
80 inline void sort(Vector<T, Allocator>& vec);
count
auto count(const Vector< T, Allocator > &vec, const T &val)
count_if
auto count_if(const Vector< T, Allocator > &vec, UnaryPredicate p)
operator+
Vector< T, Allocator > operator+(const Vector< T, Allocator > &op1, const T &op2)
fill_n
void fill_n(Vector< T, Allocator > &vec, size_t n, const T &val)
operator/
Vector< T, Allocator > operator/(const Vector< T, Allocator > &op1, const T &op2)
operator*
Vector< T, Allocator > operator*(const Vector< T, Allocator > &op1, const T &op2)
fill
void fill(Vector< T, Allocator > &vec, const T &val)
sort
void sort(Vector< T, Allocator > &vec)
n
uint32 n
Definition: NBSLoop.hpp:24
operator-
Vector< T, Allocator > operator-(const Vector< T, Allocator > &op1, const T &op2)