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);
118 NOX::Abstract::Vector&
init(
double value);
123 NOX::Abstract::Vector&
abs(
const Vector& source);
124 NOX::Abstract::Vector&
abs(
const NOX::Abstract::Vector& source);
130 NOX::Abstract::Vector&
operator=(
const NOX::Abstract::Vector& source);
136 NOX::Abstract::Vector&
reciprocal(
const NOX::Abstract::Vector& source);
141 NOX::Abstract::Vector&
scale(
double gamma);
147 NOX::Abstract::Vector&
scale(
const NOX::Abstract::Vector& y);
152 NOX::Abstract::Vector&
update(
double alpha,
const Vector& a,
154 NOX::Abstract::Vector&
update(
double alpha,
const NOX::Abstract::Vector& a,
160 NOX::Abstract::Vector&
update(
double alpha,
const Vector& a,
161 double beta,
const Vector& b,
163 NOX::Abstract::Vector&
update(
double alpha,
const NOX::Abstract::Vector& a,
164 double beta,
const NOX::Abstract::Vector& b,
170 NOX::Abstract::Vector&
random(
bool useSeed=
false,
int seed=1);
175 Teuchos::RCP<NOX::Abstract::Vector>
176 clone(NOX::CopyType type = NOX::DeepCopy)
const;
181 double norm(NOX::Abstract::Vector::NormType type = NOX::Abstract::Vector::TwoNorm)
const;
188 double norm(
const NOX::Abstract::Vector& weights)
const;
194 double innerProduct(
const NOX::Abstract::Vector& y)
const;
213 void print(std::ostream &os)
const;
236 #endif // Xyce_N_NLS_NOX_SharedSystem_h