#include <Teuchos_SerialDenseVector.hpp>
Inheritance diagram for Teuchos::SerialDenseVector< OrdinalType, ScalarType >:

Public Member Functions | |
Constructor/Destructor methods. | |
| SerialDenseVector () | |
| Default Constructor. | |
| SerialDenseVector (OrdinalType length, bool zeroOut=true) | |
| Shaped Constructor. | |
| SerialDenseVector (DataAccess CV, ScalarType *values, OrdinalType length) | |
| Shaped Constructor with Values. | |
| SerialDenseVector (const SerialDenseVector< OrdinalType, ScalarType > &Source) | |
| Copy Constructor. | |
| virtual | ~SerialDenseVector () |
| Destructor. | |
Sizing methods. | |
| int | size (OrdinalType length_in) |
| Size method for changing the size of a SerialDenseVector, initializing entries to zero. | |
| int | sizeUninitialized (OrdinalType length_in) |
Same as size() except leaves values uninitialized. | |
| int | resize (OrdinalType length_in) |
| Resizing method for changing the size of a SerialDenseVector, keeping the entries. | |
Comparison methods. | |
| bool | operator== (const SerialDenseVector< OrdinalType, ScalarType > &Operand) |
| Equality of two matrices. | |
| bool | operator!= (const SerialDenseVector< OrdinalType, ScalarType > &Operand) |
| Inequality of two matrices. | |
Set methods. | |
| SerialDenseVector< OrdinalType, ScalarType > & | operator= (const SerialDenseVector< OrdinalType, ScalarType > &Source) |
| Copies values from one vector to another. | |
Accessor methods. | |
| ScalarType & | operator() (OrdinalType index) |
| Element access method (non-const). | |
| const ScalarType & | operator() (OrdinalType index) const |
| Element access method (const). | |
| ScalarType & | operator[] (OrdinalType index) |
| Element access method (non-const). | |
| const ScalarType & | operator[] (OrdinalType index) const |
| Element access method (const). | |
Mathematical methods. | |
| ScalarType | dot (const SerialDenseVector< OrdinalType, ScalarType > &x) const |
Compute the dot product of this vector and x. | |
Attribute methods. | |
| OrdinalType | length () const |
| Returns the length of this vector. | |
I/O methods. | |
| virtual void | print (std::ostream &os) const |
| Print method. Define the behavior of the std::ostream << operator inherited from the Object class. | |
|
|||||||||
|
Default Constructor. Creates an empty vector of no length. The Sizing methods should be used to size this matrix. Values of this matrix should be set using the [] or the () operators. |
|
||||||||||||||||
|
Shaped Constructor.
length. All values are initialized to 0 when zeroOut is true. Values of this matrix should be set using the [] or the () operators. |
|
||||||||||||||||||||
|
Shaped Constructor with Values.
|
|
||||||||||
|
Copy Constructor.
|
|
|||||||||
|
Destructor.
|
|
||||||||||
|
Size method for changing the size of a SerialDenseVector, initializing entries to zero.
|
|
||||||||||
|
Same as
|
|
||||||||||
|
Resizing method for changing the size of a SerialDenseVector, keeping the entries.
|
|
||||||||||
|
Equality of two matrices.
|
|
||||||||||
|
Inequality of two matrices.
|
|
||||||||||
|
Copies values from one vector to another.
The operator= copies the values from one existing SerialDenseVector to another. If |
|
||||||||||
|
Element access method (non-const). Returns the ith element if x(i) is specified, the expression x[i] will return the same element.
|
|
||||||||||
|
Element access method (const). Returns the ith element if x(i) is specified, the expression x[i] will return the same element.
|
|
||||||||||
|
Element access method (non-const). Returns the ith element if x[i] is specified, the expression x(i) will return the same element.
Reimplemented from Teuchos::SerialDenseMatrix< OrdinalType, ScalarType >. |
|
||||||||||
|
Element access method (const). Returns the ith element if x[i] is specified, the expression x(i) will return the same element.
Reimplemented from Teuchos::SerialDenseMatrix< OrdinalType, ScalarType >. |
|
||||||||||
|
Compute the dot product of
|
|
|||||||||
|
Returns the length of this vector.
|
|
||||||||||
|
Print method. Define the behavior of the std::ostream << operator inherited from the Object class.
Reimplemented from Teuchos::SerialDenseMatrix< OrdinalType, ScalarType >. |
1.3.9.1