26#ifndef TABLES_TVECMATH_H
27#define TABLES_TVECMATH_H
30#include <casacore/casa/aips.h>
35template<
class T>
class TabVecRep;
250template<
class T> T tabVecRepinnerproduct (
const TabVecRep<T>&,
265#ifndef CASACORE_NO_AUTO_TEMPLATES
266#include <casacore/tables/Tables/TVecMath.tcc>
Templated base class for table vectors.
this file contains all the compiler specific defines
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
Further transcendental math for table vectors.
TabVecRep< T > & tabVecReppow(const TabVecRep< T > &, const double &)
TabVecRep< T > & tabVecRepceil(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepatan2(const TabVecRep< T > &, const TabVecRep< T > &)
TabVecRep< T > & tabVecRepasin(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepfmod(const TabVecRep< T > &, const TabVecRep< T > &)
TabVecRep< T > & tabVecRepfloor(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptanh(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepacos(const TabVecRep< T > &)
TabVecRep< T > & tabVecReptan(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepfabs(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepatan(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 > & tabVecRepnegate(const TabVecRep< T > &)
Unary minus - store result in a new vector.
TabVecRep< T > & tabVecReptvadd(const TabVecRep< T > &, const TabVecRep< T > &)
Add 2 table vectors storing result in a new one.
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 > & 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 > & tabVecRepvalladd(const T &, const TabVecRep< T > &)
Add a scalar to each element in the table vector storing result in a new table vector.
void tabVecReptvassadd(TabVecRep< T > &, const TabVecRep< T > &)
Add 2 table vectors storing result in first one.
void tabVecReptvassdiv(TabVecRep< T > &, const TabVecRep< T > &)
Divide 2 table vectors storing result in first one.
void tabVecRepvalassdiv(TabVecRep< T > &, const T &)
Divide each element in the table vector by a scalar.
void tabVecReptvasssub(TabVecRep< T > &, const TabVecRep< T > &)
Subtract 2 table vectors storing result in first one.
void tabVecRepvalasssub(TabVecRep< T > &, const T &)
Subtract a scalar from each element in the table vector.
TabVecRep< T > & tabVecReptvsub(const TabVecRep< T > &, const TabVecRep< T > &)
Subtract 2 table vectors storing result in a new one.
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.
void tabVecReptvasstim(TabVecRep< T > &, const TabVecRep< T > &)
Multiple 2 table vectors storing result in first one.
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.
void tabVecRepvalasstim(TabVecRep< T > &, const T &)
Multiple each element in the table vector with a scalar.
void tabVecRepvalassadd(TabVecRep< T > &, const T &)
Add a scalar to each element in the table vector.
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.
TabVecRep< T > & tabVecReptvdiv(const TabVecRep< T > &, const TabVecRep< T > &)
Divide 2 table vectors storing result in a new one.
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 > & tabVecReptvtim(const TabVecRep< T > &, const TabVecRep< T > &)
Multiple 2 table vectors storing result in a new one.
Transcendental math for table vectors.
TabVecRep< T > & tabVecRepsinh(const TabVecRep< T > &)
TabVecRep< T > & tabVecReppow(const TabVecRep< T > &, const TabVecRep< T > &)
TabVecRep< T > & tabVecReplog10(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepexp(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepsqrt(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepcosh(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepcos(const TabVecRep< T > &)
TabVecRep< T > & tabVecRepsin(const TabVecRep< T > &)
TabVecRep< T > & tabVecReplog(const TabVecRep< T > &)
Miscellaneous table vector operations.
T tabVecRepproduct(const TabVecRep< T > &)
Product of all the elements of a table vector.
T tabVecRepsum(const TabVecRep< T > &)
Sum of all the elements of a table vector.
void tabVecRepminmax(T &min, T &max, const TabVecRep< T > &)
Determine minimum and maximum value in a table vector.
void tabVecRepindgen(TabVecRep< T > &, T start, T inc)
Fills all elements of the table vector with a sequence starting with "start" and incrementing by "inc...
Vector operations on a table vector.
T tabVecRepnorm(const TabVecRep< T > &)
The norm of a table vector.
T tabVecRepinnerproduct(const TabVecRep< T > &, const TabVecRep< T > &)
The inner product of 2 table vectors.
TabVecRep< T > & tabVecRepcrossproduct(const TabVecRep< T > &, const TabVecRep< T > &)
The cross product of 2 table vectors containing 3 elements.