#include <DVector.h>
Public Member Functions | |
int | dim1 () |
int | size () |
double * | array () |
void | allocate (int i) |
void | deallocate () |
double | Norm () |
double | AbsoluteSum () |
double | Sum () |
int | iMax () |
void | operator= (const DVector &rhs) |
void | operator= (const double C) |
double | operator * (const DVector &rhs) |
DVector | operator * (double rhs) |
DVector | operator+ (const DVector &rhs) |
DVector | operator- (const DVector &rhs) |
void | operator *= (double C) |
void | operator/= (double C) |
DVector () | |
DVector (int i) | |
DVector (const DVector &rhs) | |
DVector (int dim, double *rhs) | |
void | set (int ndim, double *rhs) |
void | get (int dim, double *rhs) |
~DVector () | |
double & | operator() (int i) |
Friends | |
class | DMatrix |
ostream & | operator<< (ostream &strm, const DVector &rhs) |
Definition at line 36 of file DVector.h.
|
Creates an array. Definition at line 306 of file DVector.h. References lda. |
|
Creates an array and allocates memory.
Definition at line 315 of file DVector.h. References allocate(), and lda. |
|
Creates an array and sets it equal to another array.
Definition at line 324 of file DVector.h. References allocate(), F77_FUNC, lda, n_1, and pArray. |
|
Creates an array and sets it equal to a C array.
Definition at line 339 of file DVector.h. References allocate(), F77_FUNC, and lda. |
|
Destroy's the array and cleans up the memory. Definition at line 388 of file DVector.h. References deallocate(). |
|
Returns the Absolute Sum of the vector |
|
Allocates memory for the array.
Definition at line 89 of file DVector.h. References deallocate(), and lda. Referenced by DVector(), main(), and operator=(). |
|
Gets a pointer to an array containing the array elements. doublehe ordering of this array is NOdouble specified. Definition at line 81 of file DVector.h. Referenced by dgemv(), dgemv_t(), DLU_solve(), and DSYEV(). |
|
Deallocates memory for the array. Definition at line 115 of file DVector.h. Referenced by allocate(), and ~DVector(). |
|
Gets the number of elements in the array's first dimension.
|
|
Copy all elements in a C array from the Vector |
|
Returns the index of the largest element in pArray |
|
Returns the Euclidean Norm of the vector |
|
Returns the product of an array and a double. |
|
Returns the dot product of two arrays. |
|
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 two arrays equal. Definition at line 171 of file DVector.h. References allocate(), F77_FUNC, lda, n_1, and pArray. |
|
Copy all elements from a C array in the Vector |
|
Gets the total number of elements in the array.
|
|
Returns the Absolute Sum of the vector |
|
|
|
Prints the array to a stream. |