ASL 0.1.7
Advanced Simulation Library
|
#include <aslVectorsDynamicLength.h>
Public Types | |
typedef T | Type |
typedef T | Type |
Related Symbols | |
(Note that these are not member symbols.) | |
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. | |
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 | |
template<typename T > | |
const T | maxComponent (const AVec< T > &a) |
returns maximal component | |
template<typename T > | |
T | sumOfElements (const AVec< T > &a) |
returns summ of all components | |
template<typename T > | |
T | productOfElements (const AVec< T > &a) |
returns product of all components | |
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 | |
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 | |
template<typename T > | |
const bool | positive (const AVec< T > &a) |
returns true in case when all components of a more or then 0 | |
template<typename T > | |
const bool | nonNegative (const AVec< T > &a) |
returns true in case when all components of a more or equal 0 | |
const AVec< int > | floor (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
const AVec< int > | round (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
double | computePolynom (double x, AVec<> &coefs) |
computes polynom for x with coefs | |
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 | |
const AVec | swapXZ (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
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. | |
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 | |
template<typename T > | |
const T | maxComponent (const AVec< T > &a) |
returns maximal component | |
template<typename T > | |
T | sumOfElements (const AVec< T > &a) |
returns summ of all components | |
template<typename T > | |
T | productOfElements (const AVec< T > &a) |
returns product of all components | |
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 | |
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 | |
template<typename T > | |
const bool | positive (const AVec< T > &a) |
returns true in case when all components of a more or then 0 | |
template<typename T > | |
const bool | nonNegative (const AVec< T > &a) |
returns true in case when all components of a more or equal 0 | |
const AVec< int > | floor (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
const AVec< int > | round (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
double | computePolynom (double x, AVec<> &coefs) |
computes polynom for x with coefs | |
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 | |
const AVec | swapXZ (const AVec<> &a) |
returns true in case when all components of a more then 0 | |
class algebraic vector. The class is an implementation of a dynamic array with defined algebraic operations
Definition at line 39 of file aslVectorsDynamicLength.h.
Definition at line 46 of file aslVectorsDynamicLength.h.
Definition at line 46 of file aslVectorsDynamicLength.h.
Definition at line 84 of file aslVectorsDynamicLength.h.
Definition at line 91 of file aslVectorsDynamicLength.h.
Definition at line 99 of file aslVectorsDynamicLength.h.
Definition at line 108 of file aslVectorsDynamicLength.h.
Definition at line 113 of file aslVectorsDynamicLength.h.
Definition at line 121 of file aslVectorsDynamicLength.h.
Definition at line 171 of file aslVectorsDynamicLength.h.
Definition at line 140 of file aslVectorsDynamicLength.h.
|
inline |
Definition at line 131 of file aslVectorsDynamicLength.h.
|
inline |
|
inline |
Definition at line 149 of file aslVectorsDynamicLength.h.
|
inline |
Definition at line 159 of file aslVectorsDynamicLength.h.
Definition at line 165 of file aslVectorsDynamicLength.h.
Definition at line 223 of file aslVectorsDynamicLength.h.
The function checks whether the sizes are equal.
Definition at line 141 of file aslVectorsDynamicLengthOperations.h.
The function checks whether the sizes are equal.
Definition at line 141 of file aslVectorsDynamicLengthOperations.h.
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.
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.
|
related |
Definition at line 253 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 253 of file aslVectorsDynamicLengthOperations.h.
|
related |
returns vector which elements are division of corresponding elements of a
and b
Definition at line 333 of file aslVectorsDynamicLengthOperations.h.
|
related |
returns vector which elements are division of corresponding elements of a
and b
Definition at line 333 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
Definition at line 365 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
Definition at line 365 of file aslVectorsDynamicLengthOperations.h.
Definition at line 147 of file aslVectorsDynamicLengthOperations.h.
Definition at line 147 of file aslVectorsDynamicLengthOperations.h.
Definition at line 176 of file aslVectorsDynamicLength.h.
Definition at line 176 of file aslVectorsDynamicLength.h.
Definition at line 181 of file aslVectorsDynamicLength.h.
Definition at line 181 of file aslVectorsDynamicLength.h.
Definition at line 189 of file aslVectorsDynamicLength.h.
Definition at line 189 of file aslVectorsDynamicLength.h.
Definition at line 198 of file aslVectorsDynamicLength.h.
Definition at line 198 of file aslVectorsDynamicLength.h.
returns maximal component
Definition at line 285 of file aslVectorsDynamicLengthOperations.h.
returns maximal component
Definition at line 285 of file aslVectorsDynamicLengthOperations.h.
returns minimal component
Definition at line 277 of file aslVectorsDynamicLengthOperations.h.
returns minimal component
Definition at line 277 of file aslVectorsDynamicLengthOperations.h.
Definition at line 217 of file aslVectorsDynamicLength.h.
Definition at line 217 of file aslVectorsDynamicLength.h.
returns true
in case when all components of a
more or equal 0
Definition at line 355 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more or equal 0
Definition at line 355 of file aslVectorsDynamicLengthOperations.h.
Definition at line 152 of file aslVectorsDynamicLengthOperations.h.
Definition at line 152 of file aslVectorsDynamicLengthOperations.h.
Definition at line 246 of file aslVectorsDynamicLengthOperations.h.
Definition at line 246 of file aslVectorsDynamicLengthOperations.h.
Definition at line 185 of file aslVectorsDynamicLengthOperations.h.
Definition at line 185 of file aslVectorsDynamicLengthOperations.h.
Definition at line 194 of file aslVectorsDynamicLengthOperations.h.
Definition at line 194 of file aslVectorsDynamicLengthOperations.h.
Definition at line 201 of file aslVectorsDynamicLengthOperations.h.
Definition at line 201 of file aslVectorsDynamicLengthOperations.h.
Definition at line 228 of file aslVectorsDynamicLengthOperations.h.
Definition at line 228 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 157 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 157 of file aslVectorsDynamicLengthOperations.h.
Definition at line 212 of file aslVectorsDynamicLengthOperations.h.
Definition at line 212 of file aslVectorsDynamicLengthOperations.h.
Definition at line 177 of file aslVectorsDynamicLengthOperations.h.
Definition at line 177 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 167 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 167 of file aslVectorsDynamicLengthOperations.h.
Definition at line 220 of file aslVectorsDynamicLengthOperations.h.
Definition at line 220 of file aslVectorsDynamicLengthOperations.h.
Definition at line 205 of file aslVectorsDynamicLengthOperations.h.
Definition at line 205 of file aslVectorsDynamicLengthOperations.h.
|
related |
Definition at line 208 of file aslVectorsDynamicLength.h.
|
related |
Definition at line 208 of file aslVectorsDynamicLength.h.
|
related |
Definition at line 208 of file aslVectorsDynamicLength.h.
|
related |
Definition at line 208 of file aslVectorsDynamicLength.h.
Definition at line 234 of file aslVectorsDynamicLengthOperations.h.
Definition at line 234 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more or then 0
Definition at line 345 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more or then 0
Definition at line 345 of file aslVectorsDynamicLengthOperations.h.
returns product of all components
Definition at line 314 of file aslVectorsDynamicLengthOperations.h.
returns product of all components
Definition at line 314 of file aslVectorsDynamicLengthOperations.h.
|
related |
returns vector which elements are product of corresponding elements of a
and b
Definition at line 322 of file aslVectorsDynamicLengthOperations.h.
|
related |
returns vector which elements are product of corresponding elements of a
and b
Definition at line 322 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
Definition at line 375 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
Definition at line 375 of file aslVectorsDynamicLengthOperations.h.
returns summ of all components
Definition at line 306 of file aslVectorsDynamicLengthOperations.h.
returns summ of all components
Definition at line 306 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
returns true
in case when all components of a
more then 0
Definition at line 398 of file aslVectorsDynamicLengthOperations.h.
returns true
in case when all components of a
more then 0
returns true
in case when all components of a
more then 0
Definition at line 398 of file aslVectorsDynamicLengthOperations.h.