46 #ifndef Xyce_N_NLS_NOX_Vector_h
47 #define Xyce_N_NLS_NOX_Vector_h
52 #include <N_UTL_Misc.h>
56 #include "NOX_Abstract_Vector.H"
80 class Vector :
public NOX::Abstract::Vector {
94 Vector(N_LAS_Vector& vector, N_LAS_System& lasSys);
100 Vector(
const Vector& source, NOX::CopyType type = NOX::DeepCopy);
114 #ifdef Xyce_TRILINOS_DEV
115 NOX::size_type
length()
const;
123 NOX::Abstract::Vector&
init(
double value);
128 NOX::Abstract::Vector&
abs(
const Vector& source);
129 NOX::Abstract::Vector&
abs(
const NOX::Abstract::Vector& source);
135 NOX::Abstract::Vector&
operator=(
const NOX::Abstract::Vector& source);
141 NOX::Abstract::Vector&
reciprocal(
const NOX::Abstract::Vector& source);
146 NOX::Abstract::Vector&
scale(
double gamma);
152 NOX::Abstract::Vector&
scale(
const NOX::Abstract::Vector& y);
157 NOX::Abstract::Vector&
update(
double alpha,
const Vector& a,
159 NOX::Abstract::Vector&
update(
double alpha,
const NOX::Abstract::Vector& a,
165 NOX::Abstract::Vector&
update(
double alpha,
const Vector& a,
166 double beta,
const Vector& b,
168 NOX::Abstract::Vector&
update(
double alpha,
const NOX::Abstract::Vector& a,
169 double beta,
const NOX::Abstract::Vector& b,
175 NOX::Abstract::Vector&
random(
bool useSeed=
false,
int seed=1);
180 Teuchos::RCP<NOX::Abstract::Vector>
181 clone(NOX::CopyType type = NOX::DeepCopy)
const;
186 double norm(NOX::Abstract::Vector::NormType type = NOX::Abstract::Vector::TwoNorm)
const;
193 double norm(
const NOX::Abstract::Vector& weights)
const;
199 double innerProduct(
const NOX::Abstract::Vector& y)
const;
218 void print(std::ostream &os)
const;
241 #endif // Xyce_N_NLS_NOX_SharedSystem_h