asl::AVec< T > Class Template Reference

`#include <aslVectorsDynamicLength.h>`

Inheritance diagram for asl::AVec< T >:
[legend]

## Public Types

typedef T | Type
typedef T | Type

## Public Member Functions

| AVec ()
| AVec (unsigned int s)
| AVec (unsigned int s, T a)
| ~AVec ()
template<typename Tv >
| AVec (const AVec< Tv > &a)
| AVec (const AVec< T > &a)
template<typename Tv >
const AVec< T > & | operator= (const AVec< Tv > &a)
template<typename Tv >
const AVec< T > & | operator= (const std::vector< Tv > &a)
const AVec< T > & | operator= (const AVec< T > &a)
T & | operator[] (unsigned int i)
const T & | operator[] (unsigned int i) const
const unsigned int & | getSize () const
void | resize (unsigned int newSize)
| AVec ()
| AVec (unsigned int s)
| AVec (unsigned int s, T a)
| ~AVec ()
template<typename Tv >
| AVec (const AVec< Tv > &a)
| AVec (const AVec< T > &a)
template<typename Tv >
const AVec< T > & | operator= (const AVec< Tv > &a)
template<typename Tv >
const AVec< T > & | operator= (const std::vector< Tv > &a)
const AVec< T > & | operator= (const AVec< T > &a)
T & | operator[] (unsigned int i)
const T & | operator[] (unsigned int i) const
const unsigned int & | getSize () const
void | resize (unsigned int newSize)

## Related Functions

(Note that these are not member functions.)
template<typename T >
const unsigned int | nD (const AVec< T > a)
template<typename T >
AVec< T > | makeAVec (T a1)
template<typename T >
AVec< T > | makeAVec (T a1, T a2)
template<typename T >
AVec< T > | makeAVec (T a1, T a2, T a3)
template<typename T >
AVec< T > | makeAVec (T a1, T a2, T a3, T a4)
template<typename T >
std::ostream & | operator<< (std::ostream &output, const AVec< T > &a)
template<typename T1 , typename T2 >
bool | compatibleSizes (AVec< T1 > a, AVec< T2 > b)
| The function checks whether the sizes are equal. More...
template<typename T >
const T | l2 (const AVec< T > &a)
template<typename T >
const AVec | normalize (const AVec< T > &a)
template<typename T >
const AVec< T > | operator+ (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator- (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator- (const AVec< T > &a)
template<typename T >
const T | operator* (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator* (const T &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator* (const AVec< T > &a, const T &b)
template<typename T >
const AVec< T > | operator/ (const AVec< T > &a, const T &b)
template<typename T >
const AVec< T > & | operator+= (AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > & | operator-= (AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > & | operator*= (AVec< T > &a, const T &b)
template<typename T >
const bool | operator== (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const bool | operator!= (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | crossProduct (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const T | minComponent (const AVec< T > &a)
| returns minimal component More...
template<typename T >
const T | maxComponent (const AVec< T > &a)
| returns maximal component More...
template<typename T >
T | sumOfElements (const AVec< T > &a)
| returns summ of all components More...
template<typename T >
T | productOfElements (const AVec< T > &a)
| returns product of all components More...
template<typename T >
const AVec< T > | productOfElements (const AVec< T > &a, const AVec< T > &b)
| returns vector which elements are product of corresponding elements of `a` and `b` More...
template<typename T >
const AVec< T > | divisionOfElements (const AVec< T > &a, const AVec< T > &b)
| returns vector which elements are division of corresponding elements of `a` and `b` More...
template<typename T >
const bool | positive (const AVec< T > &a)
| returns `true` in case when all components of `a` more or then 0 More...
template<typename T >
const bool | nonNegative (const AVec< T > &a)
| returns `true` in case when all components of `a` more or equal 0 More...
const AVec< int > | floor (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
const AVec< int > | round (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
double | computePolynom (double x, AVec<> &coefs)
| computes polynom for `x` with `coefs` More...
template<typename T >
std::ostream & | operator<< (std::ostream &output, const AVec< T > &a)
const AVec | swapXZ (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
const AVec | swapXZ (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
template<typename T >
const unsigned int | nD (const AVec< T > a)
template<typename T >
AVec< T > | makeAVec (T a1)
template<typename T >
AVec< T > | makeAVec (T a1, T a2)
template<typename T >
AVec< T > | makeAVec (T a1, T a2, T a3)
template<typename T >
AVec< T > | makeAVec (T a1, T a2, T a3, T a4)
template<typename T >
std::ostream & | operator<< (std::ostream &output, const AVec< T > &a)
template<typename T1 , typename T2 >
bool | compatibleSizes (AVec< T1 > a, AVec< T2 > b)
| The function checks whether the sizes are equal. More...
template<typename T >
const T | l2 (const AVec< T > &a)
template<typename T >
const AVec | normalize (const AVec< T > &a)
template<typename T >
const AVec< T > | operator+ (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator- (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator- (const AVec< T > &a)
template<typename T >
const T | operator* (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator* (const T &a, const AVec< T > &b)
template<typename T >
const AVec< T > | operator* (const AVec< T > &a, const T &b)
template<typename T >
const AVec< T > | operator/ (const AVec< T > &a, const T &b)
template<typename T >
const AVec< T > & | operator+= (AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > & | operator-= (AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > & | operator*= (AVec< T > &a, const T &b)
template<typename T >
const bool | operator== (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const bool | operator!= (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const AVec< T > | crossProduct (const AVec< T > &a, const AVec< T > &b)
template<typename T >
const T | minComponent (const AVec< T > &a)
| returns minimal component More...
template<typename T >
const T | maxComponent (const AVec< T > &a)
| returns maximal component More...
template<typename T >
T | sumOfElements (const AVec< T > &a)
| returns summ of all components More...
template<typename T >
T | productOfElements (const AVec< T > &a)
| returns product of all components More...
template<typename T >
const AVec< T > | productOfElements (const AVec< T > &a, const AVec< T > &b)
| returns vector which elements are product of corresponding elements of `a` and `b` More...
template<typename T >
const AVec< T > | divisionOfElements (const AVec< T > &a, const AVec< T > &b)
| returns vector which elements are division of corresponding elements of `a` and `b` More...
template<typename T >
const bool | positive (const AVec< T > &a)
| returns `true` in case when all components of `a` more or then 0 More...
template<typename T >
const bool | nonNegative (const AVec< T > &a)
| returns `true` in case when all components of `a` more or equal 0 More...
const AVec< int > | floor (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
const AVec< int > | round (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
double | computePolynom (double x, AVec<> &coefs)
| computes polynom for `x` with `coefs` More...
template<typename T >
std::ostream & | operator<< (std::ostream &output, const AVec< T > &a)
const AVec | swapXZ (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...
const AVec | swapXZ (const AVec<> &a)
| returns `true` in case when all components of `a` more then 0 More...

## Detailed Description

### template<typename T = double>
class asl::AVec< T >

class algebraic vector. The class is an implementation of a dynamic array with defined algebraic operations

Examples
  acousticWaves.cc, bus_wind.cc, compressor.cc, cubeGravity.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flow2.cc, flow3.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, jumpingBox.cc, levelSetBasic.cc, levelSetFacetedGrowth.cc, levelSetNormalGrowth.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, poroelastic.cc, surfaceFlux.cc, testABDFormat.cc, testDistanceFunction.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

Definition at line 39 of file aslVectorsDynamicLength.h.

## Member Typedef Documentation

## Type [1/2]

template<typename T = double>

typedef T asl::AVec< T >::Type

Definition at line 46 of file aslVectorsDynamicLength.h.

## Type [2/2]

template<typename T = double>

typedef T asl::AVec< T >::Type

Definition at line 46 of file aslVectorsDynamicLength.h.

## Constructor & Destructor Documentation

## AVec() [1/10]

template<typename T >

asl::AVec< T >::AVec

inline

Definition at line 84 of file aslVectorsDynamicLength.h.

## AVec() [2/10]

template<typename T >

asl::AVec< T >::AVec | ( | unsigned int | s | ) |

inline explicit

Definition at line 91 of file aslVectorsDynamicLength.h.

## AVec() [3/10]

template<typename T >

asl::AVec< T >::AVec | ( | unsigned int | s,
|  | T | a
| ) |  |

inline

Definition at line 99 of file aslVectorsDynamicLength.h.

## ~AVec() [1/2]

template<typename T >

asl::AVec< T >::~AVec

inline

Definition at line 108 of file aslVectorsDynamicLength.h.

## AVec() [4/10]

template<typename T >
template<typename Tv >

asl::AVec< T >::AVec | ( | const AVec< Tv > & | a | ) |

inline explicit

Definition at line 113 of file aslVectorsDynamicLength.h.

## AVec() [5/10]

template<typename T >

asl::AVec< T >::AVec | ( | const AVec< T > & | a | ) |

inline

Definition at line 121 of file aslVectorsDynamicLength.h.

## AVec() [6/10]

template<typename T = double>

asl::AVec< T >::AVec | ( |  | ) |

inline

## AVec() [7/10]

template<typename T = double>

asl::AVec< T >::AVec | ( | unsigned int | s | ) |

inline explicit

## AVec() [8/10]

template<typename T = double>

asl::AVec< T >::AVec | ( | unsigned int | s,
|  | T | a
| ) |  |

inline

## ~AVec() [2/2]

template<typename T = double>

asl::AVec< T >::~AVec | ( |  | ) |

inline

## AVec() [9/10]

template<typename T = double>
template<typename Tv >

asl::AVec< T >::AVec | ( | const AVec< Tv > & | a | ) |

inline explicit

## AVec() [10/10]

template<typename T = double>

asl::AVec< T >::AVec | ( | const AVec< T > & | a | ) |

inline

## Member Function Documentation

## getSize() [1/2]

template<typename T >

const unsigned int & asl::AVec< T >::getSize

inline

Definition at line 171 of file aslVectorsDynamicLength.h.

## getSize() [2/2]

template<typename T = double>

const unsigned int& asl::AVec< T >::getSize | ( |  | ) | const

inline

## operator=() [1/6]

template<typename T >

const AVec< T > & asl::AVec< T >::operator= | ( | const AVec< T > & | a | ) |

inline

Definition at line 140 of file aslVectorsDynamicLength.h.

## operator=() [2/6]

template<typename T = double>

const AVec<T>& asl::AVec< T >::operator= | ( | const AVec< T > & | a | ) |

inline

## operator=() [3/6]

template<typename T >
template<typename Tv >

const AVec< T > & asl::AVec< T >::operator= | ( | const AVec< Tv > & | a | ) |

inline

Definition at line 131 of file aslVectorsDynamicLength.h.

## operator=() [4/6]

template<typename T = double>
template<typename Tv >

const AVec<T>& asl::AVec< T >::operator= | ( | const AVec< Tv > & | a | ) |

inline

## operator=() [5/6]

template<typename T >
template<typename Tv >

const AVec< T > & asl::AVec< T >::operator= | ( | const std::vector< Tv > & | a | ) |

inline

Definition at line 149 of file aslVectorsDynamicLength.h.

## operator=() [6/6]

template<typename T = double>
template<typename Tv >

const AVec<T>& asl::AVec< T >::operator= | ( | const std::vector< Tv > & | a | ) |

inline

## operator[]() [1/4]

template<typename T >

T & asl::AVec< T >::operator[] | ( | unsigned int | i | ) |

inline

Definition at line 159 of file aslVectorsDynamicLength.h.

## operator[]() [2/4]

template<typename T = double>

T& asl::AVec< T >::operator[] | ( | unsigned int | i | ) |

inline

## operator[]() [3/4]

template<typename T >

const T & asl::AVec< T >::operator[] | ( | unsigned int | i | ) | const

inline

Definition at line 165 of file aslVectorsDynamicLength.h.

## operator[]() [4/4]

template<typename T = double>

const T& asl::AVec< T >::operator[] | ( | unsigned int | i | ) | const

inline

## resize() [1/2]

template<typename T >

void asl::AVec< T >::resize | ( | unsigned int | newSize | ) |

inline

Definition at line 223 of file aslVectorsDynamicLength.h.

## resize() [2/2]

template<typename T = double>

void asl::AVec< T >::resize | ( | unsigned int | newSize | ) |

inline

## Friends And Related Function Documentation

## compatibleSizes() [1/2]

template<typename T1 , typename T2 >

bool compatibleSizes | ( | AVec< T1 > | a,
|  | AVec< T2 > | b
| ) |  |

related

The function checks whether the sizes are equal.

Definition at line 141 of file aslVectorsDynamicLengthOperations.h.

## compatibleSizes() [2/2]

template<typename T1 , typename T2 >

bool compatibleSizes | ( | AVec< T1 > | a,
|  | AVec< T2 > | b
| ) |  |

related

The function checks whether the sizes are equal.

Definition at line 141 of file aslVectorsDynamicLengthOperations.h.

## computePolynom() [1/2]

template<typename T = double>

double computePolynom | ( | double | x,
|  | AVec<> & | coefs
| ) |  |

related

computes polynom for `x` with `coefs`

The polinom is \( x^{n-1}*coefs_0+x^{n-2}coefs_1+...+coefs_{n-1} \)

Definition at line 386 of file aslVectorsDynamicLengthOperations.h.

## computePolynom() [2/2]

template<typename T = double>

double computePolynom | ( | double | x,
|  | AVec<> & | coefs
| ) |  |

related

computes polynom for `x` with `coefs`

The polinom is \( x^{n-1}*coefs_0+x^{n-2}coefs_1+...+coefs_{n-1} \)

Definition at line 386 of file aslVectorsDynamicLengthOperations.h.

## crossProduct() [1/2]

template<typename T >

const AVec< T > crossProduct | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 253 of file aslVectorsDynamicLengthOperations.h.

## crossProduct() [2/2]

template<typename T >

const AVec< T > crossProduct | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 253 of file aslVectorsDynamicLengthOperations.h.

## divisionOfElements() [1/2]

template<typename T >

const AVec< T > divisionOfElements | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

returns vector which elements are division of corresponding elements of `a` and `b`

Definition at line 333 of file aslVectorsDynamicLengthOperations.h.

## divisionOfElements() [2/2]

template<typename T >

const AVec< T > divisionOfElements | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

returns vector which elements are division of corresponding elements of `a` and `b`

Definition at line 333 of file aslVectorsDynamicLengthOperations.h.

## floor() [1/2]

template<typename T = double>

const AVec< int > floor | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 365 of file aslVectorsDynamicLengthOperations.h.

## floor() [2/2]

template<typename T = double>

const AVec< int > floor | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 365 of file aslVectorsDynamicLengthOperations.h.

## l2() [1/2]

template<typename T >

const T l2 | ( | const AVec< T > & | a | ) |

related

Definition at line 147 of file aslVectorsDynamicLengthOperations.h.

## l2() [2/2]

template<typename T >

const T l2 | ( | const AVec< T > & | a | ) |

related

Definition at line 147 of file aslVectorsDynamicLengthOperations.h.

## makeAVec() [1/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1 | ) |

related

Examples
  bus_wind.cc, compressor.cc, flow.cc, flow2.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, surfaceFlux.cc, and testDistanceFunction.cc.

Definition at line 176 of file aslVectorsDynamicLength.h.

## makeAVec() [2/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1 | ) |

related

Definition at line 176 of file aslVectorsDynamicLength.h.

## makeAVec() [3/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2
| ) |  |

related

Definition at line 181 of file aslVectorsDynamicLength.h.

## makeAVec() [4/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2
| ) |  |

related

Definition at line 181 of file aslVectorsDynamicLength.h.

## makeAVec() [5/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3
| ) |  |

related

Definition at line 189 of file aslVectorsDynamicLength.h.

## makeAVec() [6/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3
| ) |  |

related

Definition at line 189 of file aslVectorsDynamicLength.h.

## makeAVec() [7/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3,
|  | T | a4
| ) |  |

related

Definition at line 198 of file aslVectorsDynamicLength.h.

## makeAVec() [8/8]

template<typename T >

AVec< T > makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3,
|  | T | a4
| ) |  |

related

Definition at line 198 of file aslVectorsDynamicLength.h.

## maxComponent() [1/2]

template<typename T >

const T maxComponent | ( | const AVec< T > & | a | ) |

related

returns maximal component

Definition at line 285 of file aslVectorsDynamicLengthOperations.h.

## maxComponent() [2/2]

template<typename T >

const T maxComponent | ( | const AVec< T > & | a | ) |

related

returns maximal component

Definition at line 285 of file aslVectorsDynamicLengthOperations.h.

## minComponent() [1/2]

template<typename T >

const T minComponent | ( | const AVec< T > & | a | ) |

related

returns minimal component

Definition at line 277 of file aslVectorsDynamicLengthOperations.h.

## minComponent() [2/2]

template<typename T >

const T minComponent | ( | const AVec< T > & | a | ) |

related

returns minimal component

Definition at line 277 of file aslVectorsDynamicLengthOperations.h.

## nD() [1/2]

template<typename T >

const unsigned int nD | ( | const AVec< T > | a | ) |

related

Definition at line 217 of file aslVectorsDynamicLength.h.

## nD() [2/2]

template<typename T >

const unsigned int nD | ( | const AVec< T > | a | ) |

related

Definition at line 217 of file aslVectorsDynamicLength.h.

## nonNegative() [1/2]

template<typename T >

const bool nonNegative | ( | const AVec< T > & | a | ) |

related

returns `true` in case when all components of `a` more or equal 0

Definition at line 355 of file aslVectorsDynamicLengthOperations.h.

## nonNegative() [2/2]

template<typename T >

const bool nonNegative | ( | const AVec< T > & | a | ) |

related

returns `true` in case when all components of `a` more or equal 0

Definition at line 355 of file aslVectorsDynamicLengthOperations.h.

## normalize() [1/2]

template<typename T >

const AVec normalize | ( | const AVec< T > & | a | ) |

related

Examples
  compressor.cc, flowKDPGrowth.cc, levelSetBasic.cc, levelSetFacetedGrowth.cc, levelSetNormalGrowth.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, surfaceFlux.cc, and testDistanceFunction.cc.

Definition at line 152 of file aslVectorsDynamicLengthOperations.h.

## normalize() [2/2]

template<typename T >

const AVec normalize | ( | const AVec< T > & | a | ) |

related

Definition at line 152 of file aslVectorsDynamicLengthOperations.h.

## operator!=() [1/2]

template<typename T >

const bool operator!= | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 246 of file aslVectorsDynamicLengthOperations.h.

## operator!=() [2/2]

template<typename T >

const bool operator!= | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 246 of file aslVectorsDynamicLengthOperations.h.

## operator*() [1/6]

template<typename T >

const T operator* | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 185 of file aslVectorsDynamicLengthOperations.h.

## operator*() [2/6]

template<typename T >

const T operator* | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 185 of file aslVectorsDynamicLengthOperations.h.

## operator*() [3/6]

template<typename T >

const AVec< T > operator* | ( | const AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 194 of file aslVectorsDynamicLengthOperations.h.

## operator*() [4/6]

template<typename T >

const AVec< T > operator* | ( | const AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 194 of file aslVectorsDynamicLengthOperations.h.

## operator*() [5/6]

template<typename T >

const AVec< T > operator* | ( | const T & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 201 of file aslVectorsDynamicLengthOperations.h.

## operator*() [6/6]

template<typename T >

const AVec< T > operator* | ( | const T & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 201 of file aslVectorsDynamicLengthOperations.h.

## operator*=() [1/2]

template<typename T >

const AVec< T > & operator*= | ( | AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 228 of file aslVectorsDynamicLengthOperations.h.

## operator*=() [2/2]

template<typename T >

const AVec< T > & operator*= | ( | AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 228 of file aslVectorsDynamicLengthOperations.h.

## operator+() [1/2]

template<typename T >

const AVec< T > operator+ | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 157 of file aslVectorsDynamicLengthOperations.h.

## operator+() [2/2]

template<typename T >

const AVec< T > operator+ | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 157 of file aslVectorsDynamicLengthOperations.h.

## operator+=() [1/2]

template<typename T >

const AVec< T > & operator+= | ( | AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 212 of file aslVectorsDynamicLengthOperations.h.

## operator+=() [2/2]

template<typename T >

const AVec< T > & operator+= | ( | AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 212 of file aslVectorsDynamicLengthOperations.h.

## operator-() [1/4]

template<typename T >

const AVec< T > operator- | ( | const AVec< T > & | a | ) |

related

Definition at line 177 of file aslVectorsDynamicLengthOperations.h.

## operator-() [2/4]

template<typename T >

const AVec< T > operator- | ( | const AVec< T > & | a | ) |

related

Definition at line 177 of file aslVectorsDynamicLengthOperations.h.

## operator-() [3/4]

template<typename T >

const AVec< T > operator- | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 167 of file aslVectorsDynamicLengthOperations.h.

## operator-() [4/4]

template<typename T >

const AVec< T > operator- | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 167 of file aslVectorsDynamicLengthOperations.h.

## operator-=() [1/2]

template<typename T >

const AVec< T > & operator-= | ( | AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 220 of file aslVectorsDynamicLengthOperations.h.

## operator-=() [2/2]

template<typename T >

const AVec< T > & operator-= | ( | AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 220 of file aslVectorsDynamicLengthOperations.h.

## operator/() [1/2]

template<typename T >

const AVec< T > operator/ | ( | const AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 205 of file aslVectorsDynamicLengthOperations.h.

## operator/() [2/2]

template<typename T >

const AVec< T > operator/ | ( | const AVec< T > & | a,
|  | const T & | b
| ) |  |

related

Definition at line 205 of file aslVectorsDynamicLengthOperations.h.

## operator<<() [1/4]

template<typename T >

std::ostream & operator<< | ( | std::ostream & | output,
|  | const AVec< T > & | a
| ) |  |

related

Definition at line 208 of file aslVectorsDynamicLength.h.

## operator<<() [2/4]

template<typename T >

std::ostream & operator<< | ( | std::ostream & | output,
|  | const AVec< T > & | a
| ) |  |

related

Definition at line 208 of file aslVectorsDynamicLength.h.

## operator<<() [3/4]

template<typename T >

std::ostream & operator<< | ( | std::ostream & | output,
|  | const AVec< T > & | a
| ) |  |

related

Definition at line 208 of file aslVectorsDynamicLength.h.

## operator<<() [4/4]

template<typename T >

std::ostream & operator<< | ( | std::ostream & | output,
|  | const AVec< T > & | a
| ) |  |

related

Definition at line 208 of file aslVectorsDynamicLength.h.

## operator==() [1/2]

template<typename T >

const bool operator== | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 234 of file aslVectorsDynamicLengthOperations.h.

## operator==() [2/2]

template<typename T >

const bool operator== | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

Definition at line 234 of file aslVectorsDynamicLengthOperations.h.

## positive() [1/2]

template<typename T >

const bool positive | ( | const AVec< T > & | a | ) |

related

returns `true` in case when all components of `a` more or then 0

Definition at line 345 of file aslVectorsDynamicLengthOperations.h.

## positive() [2/2]

template<typename T >

const bool positive | ( | const AVec< T > & | a | ) |

related

returns `true` in case when all components of `a` more or then 0

Definition at line 345 of file aslVectorsDynamicLengthOperations.h.

## productOfElements() [1/4]

template<typename T >

T productOfElements | ( | const AVec< T > & | a | ) |

related

returns product of all components

Definition at line 314 of file aslVectorsDynamicLengthOperations.h.

## productOfElements() [2/4]

template<typename T >

T productOfElements | ( | const AVec< T > & | a | ) |

related

returns product of all components

Definition at line 314 of file aslVectorsDynamicLengthOperations.h.

## productOfElements() [3/4]

template<typename T >

const AVec< T > productOfElements | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

returns vector which elements are product of corresponding elements of `a` and `b`

Definition at line 322 of file aslVectorsDynamicLengthOperations.h.

## productOfElements() [4/4]

template<typename T >

const AVec< T > productOfElements | ( | const AVec< T > & | a,
|  | const AVec< T > & | b
| ) |  |

related

returns vector which elements are product of corresponding elements of `a` and `b`

Definition at line 322 of file aslVectorsDynamicLengthOperations.h.

## round() [1/2]

template<typename T = double>

const AVec< int > round | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 375 of file aslVectorsDynamicLengthOperations.h.

## round() [2/2]

template<typename T = double>

const AVec< int > round | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 375 of file aslVectorsDynamicLengthOperations.h.

## sumOfElements() [1/2]

template<typename T >

T sumOfElements | ( | const AVec< T > & | a | ) |

related

returns summ of all components

Definition at line 306 of file aslVectorsDynamicLengthOperations.h.

## sumOfElements() [2/2]

template<typename T >

T sumOfElements | ( | const AVec< T > & | a | ) |

related

returns summ of all components

Definition at line 306 of file aslVectorsDynamicLengthOperations.h.

## swapXZ() [1/4]

template<typename T = double>

const AVec swapXZ | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

## swapXZ() [2/4]

template<typename T = double>

const AVec swapXZ | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 398 of file aslVectorsDynamicLengthOperations.h.

## swapXZ() [3/4]

template<typename T = double>

const AVec swapXZ | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

## swapXZ() [4/4]

template<typename T = double>

const AVec swapXZ | ( | const AVec<> & | a | ) |

related

returns `true` in case when all components of `a` more then 0

Definition at line 398 of file aslVectorsDynamicLengthOperations.h.

The documentation for this class was generated from the following files:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/aslDataInc.h
- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/math/aslVectorsDynamicLength.h
- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/math/aslVectorsDynamicLengthOperations.h