20 #ifndef TNT_ARRAY1D_UTILS_H
21 #define TNT_ARRAY1D_UTILS_H
36 s <<
"addr: " << (
void *) &A[0] <<
"\n";
39 for (
int j=0; j<N; j++)
55 for (
int i=0; i<N; i++)
75 for (
int i=0; i<n; i++)
97 for (
int i=0; i<n; i++)
118 for (
int i=0; i<n; i++)
139 for (
int i=0; i<n; i++)
162 for (
int i=0; i<n; i++)
180 for (
int i=0; i<n; i++)
197 for (
int i=0; i<n; i++)
215 for (
int i=0; i<n; i++)
Definition: tnt_array1d.h:40
int dim1() const
Definition: tnt_array1d.h:218
Definition: tnt_array1d.h:36
Array1D< T > operator+(const Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:64
Array1D< T > & operator-=(Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:174
Array1D< T > & operator/=(Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:209
Array1D< T > operator*(const Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:107
Array1D< T > operator-(const Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:86
Array1D< T > & operator+=(Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:156
Array1D< T > & operator*=(Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:191
Array1D< T > operator/(const Array1D< T > &A, const Array1D< T > &B)
Definition: tnt_array1d_utils.h:128
std::ostream & operator<<(std::ostream &s, const Array1D< T > &A)
Definition: tnt_array1d_utils.h:31
std::istream & operator>>(std::istream &s, Array1D< T > &A)
Definition: tnt_array1d_utils.h:49