#include <ZVector.h>
Public Member Functions | |
int | dim1 () |
int | size () |
complex< double > * | array () |
void | allocate (int i) |
void | deallocate () |
double | Norm () |
double | AbsoluteSum () |
complex< double > | Sum () |
int | iMax () |
void | operator= (const ZVector &rhs) |
void | operator= (const double C) |
void | operator= (const complex< double > C) |
complex< double > | zdotu (const ZVector &rhs) |
complex< double > | zdotc (const ZVector &rhs) |
ZVector | operator+ (const ZVector &rhs) |
ZVector | operator- (const ZVector &rhs) |
void | operator *= (complex< double > C) |
void | operator/= (complex< double > C) |
ZVector () | |
ZVector (int i) | |
ZVector (const ZVector &rhs) | |
~ZVector () | |
complex< double > & | operator() (int i) |
Friends | |
class | ZMatrix |
ostream & | operator<< (ostream &strm, const ZVector &rhs) |
Definition at line 35 of file ZVector.h.
|
Creates an array. Definition at line 320 of file ZVector.h. References lda. |
|
Creates an array and allocates memory.
Definition at line 329 of file ZVector.h. References allocate(), and lda. |
|
Creates an array and sets it equal to another array.
Definition at line 338 of file ZVector.h. References allocate(), F77_FUNC, lda, n_1, and pArray. |
|
Destroy's the array and cleans up the memory. Definition at line 351 of file ZVector.h. References deallocate(). |
|
Returns the Absolute Sum of the vector Definition at line 140 of file ZVector.h. Referenced by main(). |
|
Allocates memory for the array.
Definition at line 88 of file ZVector.h. References deallocate(), and lda. Referenced by main(), operator=(), and ZVector(). |
|
Gets a pointer to an array containing the array elements. doublehe ordering of this array is NOdouble specified. |
|
Deallocates memory for the array. Definition at line 115 of file ZVector.h. Referenced by allocate(), and ~ZVector(). |
|
Gets the number of elements in the array's first dimension.
|
|
Returns the index of the largest element in pArray Definition at line 161 of file ZVector.h. Referenced by main(). |
|
Returns the Euclidean Norm of the vector Definition at line 131 of file ZVector.h. Referenced by main(). |
|
Sets this array equal to itself times a scalar value. |
|
Accesses element |
|
Returns the sum of two arrays. |
|
Returns the difference of two arrays. |
|
Sets this array equal to itself divided by a scalar value. |
|
Sets all of the elements in an array equal to the same value. |
|
Sets all of the elements in an array equal to the same value. Definition at line 181 of file ZVector.h. References dcmplx(). |
|
Sets two arrays equal. Definition at line 171 of file ZVector.h. References allocate(), F77_FUNC, lda, n_1, and pArray. |
|
Gets the total number of elements in the array.
|
|
Returns the Sum of the vector Definition at line 149 of file ZVector.h. References dcmplx(). Referenced by main(). |
|
Definition at line 223 of file ZVector.h. References F77_FUNC, lda, n_1, and pArray. Referenced by main(). |
|
Returns the dot product of two arrays. Definition at line 205 of file ZVector.h. References F77_FUNC, lda, n_1, and pArray. Referenced by main(). |
|
Prints the array to a stream. |
|
|