33 template <
class nr_type_t>
37 template <
class nr_type_t>
39 template <
class nr_type_t>
41 template <
class nr_type_t>
43 template <
class nr_type_t>
45 template <
class nr_type_t>
47 template <
class nr_type_t>
49 template <
class nr_type_t>
51 template <
class nr_type_t>
53 template <
class nr_type_t>
55 template <
class nr_type_t>
57 template <
class nr_type_t>
59 template <
class nr_type_t>
61 template <
class nr_type_t>
63 template <
class nr_type_t>
65 template <
class nr_type_t>
68 template <
class nr_type_t>
78 void set (
int, nr_type_t);
80 void set (nr_type_t,
int,
int);
84 void setData (nr_type_t *,
int);
93 int contains (nr_type_t, nr_double_t eps = NR_EPSI);
109 friend nr_double_t norm<> (
tvector);
110 friend nr_double_t maxnorm<> (
tvector);
111 friend nr_type_t sum<> (
tvector);
133 assert (i >= 0 && i <
size);
return data[
i]; }
135 assert (i >= 0 && i <
size);
return data[
i]; }
void setData(nr_type_t *, int)
tvector operator-=(tvector)
nr_type_t scalar(tvector< nr_type_t > a, tvector< nr_type_t > b)
matrix operator*(matrix a, nr_complex_t z)
Matrix scaling complex version.
tvector operator*=(nr_double_t)
void exchangeRows(int, int)
bool operator>(const nr_complex_t z1, const nr_complex_t z2)
Superior.
nr_double_t maxnorm(tvector< nr_type_t > a)
matrix operator-(matrix a, matrix b)
Matrix subtraction.
tvector operator+=(tvector)
const tvector & operator=(const tvector &)
matrix operator+(matrix a, matrix b)
Matrix addition.
nr_type_t operator()(int i) const
tvector operator/=(nr_double_t)
nr_double_t norm(const nr_complex_t z)
Compute euclidian norm of complex number.
matrix conj(matrix a)
Conjugate complex matrix.
int contains(nr_type_t, nr_double_t eps=NR_EPSI)
nr_type_t * getData(void)