Go to the documentation of this file.
28 #ifndef TABLES_TVECMATH_H
29 #define TABLES_TVECMATH_H
32 #include <casacore/casa/aips.h>
37 template<
class T>
class TabVecRep;
68 template<
class T>
void tabVecRepvalassadd (
TabVecRep<T>&,
const T&);
70 template<
class T>
void tabVecRepvalasssub (
TabVecRep<T>&,
const T&);
72 template<
class T>
void tabVecRepvalasstim (
TabVecRep<T>&,
const T&);
74 template<
class T>
void tabVecRepvalassdiv (
TabVecRep<T>&,
const T&);
115 template<
class T>
TabVecRep<T>& tabVecRepvalladd (
const T&,
119 template<
class T>
TabVecRep<T>& tabVecRepvallsub (
const T&,
123 template<
class T>
TabVecRep<T>& tabVecRepvalltim (
const T&,
127 template<
class T>
TabVecRep<T>& tabVecRepvalldiv (
const T&,
231 template<
class T> T tabVecRepproduct (
const TabVecRep<T>&);
252 template<
class T> T tabVecRepinnerproduct (
const TabVecRep<T>&,
256 template<
class T> T tabVecRepnorm (
const TabVecRep<T>&);
267 #ifndef CASACORE_NO_AUTO_TEMPLATES
268 #include <casacore/tables/Tables/TVecMath.tcc>
269 #endif //# CASACORE_NO_AUTO_TEMPLATES
T tabVecRepsum(const TabVecRep< T > &)
Sum of all the elements of a table vector.
TabVecRep< T > & tabVecRepfmod(const TabVecRep< T > &, const TabVecRep< T > &)
void tabVecReptvasstim(TabVecRep< T > &, const TabVecRep< T > &)
Multiple 2 table vectors storing result in first one.
Further transcendental math for table vectors.
TabVecRep< T > & tabVecRepcrossproduct(const TabVecRep< T > &, const TabVecRep< T > &)
The cross product of 2 table vectors containing 3 elements.
Basic math for table vectors.
TabVecRep< T > & tabVecRepexp(const TabVecRep< T > &)
Miscellaneous table vector operations.
TabVecRep< T > & tabVecRepasin(const TabVecRep< T > &)
void tabVecReptvassadd(TabVecRep< T > &, const TabVecRep< T > &)
Add 2 table vectors storing result in first one.
TabVecRep< T > & tabVecReptan(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepfloor(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptvdiv(const TabVecRep< T > &, const TabVecRep< T > &)
Divide 2 table vectors storing result in a new one.
TabVecRep< T > & tabVecRepvalrdiv(const TabVecRep< T > &, const T &)
Divide each element in the table vector by a scalar storing result in a new table vector.
T tabVecRepnorm(const TabVecRep< T > &)
The norm of a table vector.
TabVecRep< T > & tabVecRepsinh(const TabVecRep< T > &)
Vector operations on a table vector.
TabVecRep< T > & tabVecReptvsub(const TabVecRep< T > &, const TabVecRep< T > &)
Subtract 2 table vectors storing result in a new one.
void tabVecRepvalassdiv(TabVecRep< T > &, const T &)
Divide each element in the table vector by a scalar.
TabVecRep< T > & tabVecRepvalradd(const TabVecRep< T > &, const T &)
Add a scalar to each element in the table vector storing result in a new table vector.
Templated base class for table vectors.
TabVecRep< T > & tabVecRepatan2(const TabVecRep< T > &, const TabVecRep< T > &)
void tabVecReptvasssub(TabVecRep< T > &, const TabVecRep< T > &)
Subtract 2 table vectors storing result in first one.
TabVecRep< T > & tabVecRepcosh(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptanh(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepvalrtim(const TabVecRep< T > &, const T &)
Multiple each element in the table vector with a scalar storing result in a new table vector.
TabVecRep< T > & tabVecRepacos(const TabVecRep< T > &)
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
void tabVecRepminmax(T &min, T &max, const TabVecRep< T > &)
Determine minimum and maximum value in a table vector.
TabVecRep< T > & tabVecReppow(const TabVecRep< T > &, const double &)
TabVecRep< T > & tabVecReppow(const TabVecRep< T > &, const TabVecRep< T > &)
TabVecRep< T > & tabVecRepsqrt(const TabVecRep< T > &)
void tabVecRepvalasssub(TabVecRep< T > &, const T &)
Subtract a scalar from each element in the table vector.
TabVecRep< T > & tabVecRepcos(const TabVecRep< T > &)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
TabVecRep< T > & tabVecRepvalldiv(const T &, const TabVecRep< T > &)
Divide each element in the table vector by a scalar storing result in a new table vector.
TabVecRep< T > & tabVecRepceil(const TabVecRep< T > &)
this file contains all the compiler specific defines
void tabVecReptvassdiv(TabVecRep< T > &, const TabVecRep< T > &)
Divide 2 table vectors storing result in first one.
void tabVecRepvalassadd(TabVecRep< T > &, const T &)
Add a scalar to each element in the table vector.
TabVecRep< T > & tabVecRepvalladd(const T &, const TabVecRep< T > &)
Add a scalar to each element in the table vector storing result in a new table vector.
void tabVecRepvalasstim(TabVecRep< T > &, const T &)
Multiple each element in the table vector with a scalar.
void tabVecRepindgen(TabVecRep< T > &, Int start, Int inc)
Fills all elements of the table vector with a sequence starting with "start" and incrementing by "inc...
TabVecRep< T > & tabVecReplog(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepvalltim(const T &, const TabVecRep< T > &)
Multiple each element in the table vector with a scalar storing result in a new table vector.
TabVecRep< T > & tabVecRepfabs(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptvadd(const TabVecRep< T > &, const TabVecRep< T > &)
Add 2 table vectors storing result in a new one.
Transcendental math for table vectors.
T tabVecRepinnerproduct(const TabVecRep< T > &, const TabVecRep< T > &)
The inner product of 2 table vectors.
T tabVecRepproduct(const TabVecRep< T > &)
Product of all the elements of a table vector.
TabVecRep< T > & tabVecRepvallsub(const T &, const TabVecRep< T > &)
Subtract a scalar from each element in the table vector storing result in a new table vector.
TabVecRep< T > & tabVecReplog10(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepvalrsub(const TabVecRep< T > &, const T &)
Subtract a scalar from each element in the table vector storing result in a new table vector.
TabVecRep< T > & tabVecRepatan(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepsin(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptvtim(const TabVecRep< T > &, const TabVecRep< T > &)
Multiple 2 table vectors storing result in a new one.
TabVecRep< T > & tabVecRepnegate(const TabVecRep< T > &)
Unary minus - store result in a new vector.