vtf-logo

Free functions for ArrayContainer.


Functions

template<typename T, bool A>
ArrayContainer< T, A > & ads::operator+= (ArrayContainer< T, A > &array, typename ArrayContainer< T, A >::parameter_type x)
 To be used for arithmetic types.
template<typename T, bool A>
ArrayContainer< T, A > & ads::operator-= (ArrayContainer< T, A > &array, typename ArrayContainer< T, A >::parameter_type x)
 To be used for arithmetic types.
template<typename T, bool A>
ArrayContainer< T, A > & ads::operator *= (ArrayContainer< T, A > &array, typename ArrayContainer< T, A >::parameter_type x)
 To be used for arithmetic types.
template<typename T, bool A>
ArrayContainer< T, A > & ads::operator/= (ArrayContainer< T, A > &array, typename ArrayContainer< T, A >::parameter_type x)
 To be used for arithmetic types.
template<typename T, bool A>
ArrayContainer< T, A > & ads::operator%= (ArrayContainer< T, A > &array, typename ArrayContainer< T, A >::parameter_type x)
 To be used for arithmetic types.
template<typename T, bool A>
ArrayContainer< T *, A > & ads::operator+= (ArrayContainer< T *, A > &array, typename ArrayContainer< T *, A >::difference_type x)
 To be used for pointer types.
template<typename T, bool A>
ArrayContainer< T *, A > & ads::operator-= (ArrayContainer< T *, A > &array, typename ArrayContainer< T *, A >::difference_type x)
 To be used for pointer types.
template<typename T1, bool A1, typename T2, bool A2>
ArrayContainer< T1, A1 > & ads::operator+= (ArrayContainer< T1, A1 > &x, const ArrayContainer< T2, A2 > &y)
 Component-wise addition.
template<typename T1, bool A1, typename T2, bool A2>
ArrayContainer< T1, A1 > & ads::operator-= (ArrayContainer< T1, A1 > &x, const ArrayContainer< T2, A2 > &y)
 Component-wise subtraction.
template<typename T1, bool A1, typename T2, bool A2>
ArrayContainer< T1, A1 > & ads::operator *= (ArrayContainer< T1, A1 > &x, const ArrayContainer< T2, A2 > &y)
 Component-wise multiplication.
template<typename T1, bool A1, typename T2, bool A2>
ArrayContainer< T1, A1 > & ads::operator/= (ArrayContainer< T1, A1 > &x, const ArrayContainer< T2, A2 > &y)
 Component-wise division.
template<typename T1, bool A1, typename T2, bool A2>
ArrayContainer< T1, A1 > & ads::operator%= (ArrayContainer< T1, A1 > &x, const ArrayContainer< T2, A2 > &y)
 Component-wise modulus.
ads::Array::computeSum (const ArrayContainer< T, A > &x)
 Return the sum of the components.
ads::Array::computeProduct (const ArrayContainer< T, A > &x)
 Return the product of the components.
ads::Array::computeMinimum (const ArrayContainer< T, A > &x)
 Return the minimum component. Use < for comparison.
ads::Array::computeMaximum (const ArrayContainer< T, A > &x)
 Return the maximum component. Use > for comparison.
void ads::Array::applyAbs (ArrayContainer< T, A > *x)
 Apply the absolute value ($|x|$) to each array element.
void ads::Array::applyAcos (ArrayContainer< T, A > *x)
 Apply the inverse cosine ($ \cos^{-1}(x) $) to each array element.
void ads::Array::applyAsin (ArrayContainer< T, A > *x)
 Apply the inverse sine ($ \sin^{-1}(x) $) to each array element.
void ads::Array::applyAtan (ArrayContainer< T, A > *x)
 Apply the inverse tangent ($ \tan^{-1}(x) $) to each array element.
void ads::Array::applyCeil (ArrayContainer< T, A > *x)
 Apply the ceiling function ($ \lceil x \rceil $) to each array element.
void ads::Array::applyCos (ArrayContainer< T, A > *x)
 Apply the cosine ($ \cos(x) $) to each array element.
void ads::Array::applyCosh (ArrayContainer< T, A > *x)
 Apply the hyperbolic cosine ($ \cosh(x) $) to each array element.
void ads::Array::applyExp (ArrayContainer< T, A > *x)
 Apply the exponential function ($ \mathrm{e}^x $) to each array element.
void ads::Array::applyFloor (ArrayContainer< T, A > *x)
 Apply the floor function ($ \lfloor x \rfloor $) to each array element.
void ads::Array::applyLog (ArrayContainer< T, A > *x)
 Apply the natural logarithm ($ \ln(x) $) to each array element.
void ads::Array::applyLog10 (ArrayContainer< T, A > *x)
 Apply the logarithm base 10 ($ \log_{10}(x) $) to each array element.
void ads::Array::applySin (ArrayContainer< T, A > *x)
 Apply the sine ($ \sin(x) $) to each array element.
void ads::Array::applySinh (ArrayContainer< T, A > *x)
 Apply the hyperbolic sine ($ \sinh(x) $) to each array element.
void ads::Array::applySqrt (ArrayContainer< T, A > *x)
 Apply the square root ($ \sqrt{x} $) to each array element.
void ads::Array::applyTan (ArrayContainer< T, A > *x)
 Apply the tangent ($ \tan(x) $) to each array element.
void ads::Array::applyTanh (ArrayContainer< T, A > *x)
 Apply the hyperbolic tangent ($ \tanh(x) $) to each array element.

Generated on Fri Aug 24 12:55:37 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7