Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Vector Class Reference

#include <Vector.h>

Inheritance diagram for dolfin::Vector:

Inheritance graph
[legend]
Collaboration diagram for dolfin::Vector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Vector ()
 Vector (int size)
 Vector (unsigned int size)
 Vector (const Vector &x)
 Vector (real x0)
 Vector (real x0, real x1)
 Vector (real x0, real x1, real x2)
 ~Vector ()
void init (unsigned int size)
void clear ()
unsigned int size () const
unsigned int bytes () const
real operator() (unsigned int i) const
real & operator() (unsigned int i)
void operator= (const Vector &x)
void operator= (real scalar)
void operator= (const Matrix::Row &row)
void operator= (const Matrix::Column &col)
void operator+= (const Vector &x)
void operator+= (const Matrix::Row &row)
void operator+= (const Matrix::Column &col)
void operator+= (real a)
void operator-= (const Vector &x)
void operator-= (const Matrix::Row &row)
void operator-= (const Matrix::Column &col)
void operator-= (real a)
void operator *= (real a)
real operator * (const Vector &x) const
real operator * (const Matrix::Row &row) const
real operator * (const Matrix::Column &col) const
real norm () const
real norm (unsigned int i) const
void add (real a, Vector &x)
void add (real a, const Matrix::Row &row)
void add (real a, const Matrix::Column &col)
void rand ()
void show () const

Friends

class DirectSolver
class Matrix
class SISolver
LogStream & operator<< (LogStream &stream, const Vector &vector)

Constructor & Destructor Documentation

Vector::Vector (   ) 
 

Vector::Vector (  int  size  ) 
 

Vector::Vector (  unsigned int  size  ) 
 

Vector::Vector (  const Vector &  x  ) 
 

Vector::Vector (  real  x0  ) 
 

Vector::Vector (  real  x0,
real  x1
) 
 

Vector::Vector (  real  x0,
real  x1,
real  x2
) 
 

Vector::~Vector (   ) 
 


Member Function Documentation

void Vector::add (  real  a,
const Matrix::Column &  col
) 
 

void Vector::add (  real  a,
const Matrix::Row &  row
) 
 

void Vector::add (  real  a,
Vector &  x
) 
 

unsigned int Vector::bytes (   )  const
 

void Vector::clear (   ) 
 

void Vector::init (  unsigned int  size  ) 
 

real Vector::norm (  unsigned int  i  )  const
 

real Vector::norm (   )  const
 

real Vector::operator * (  const Matrix::Column &  col  )  const
 

real Vector::operator * (  const Matrix::Row &  row  )  const
 

real Vector::operator * (  const Vector &  x  )  const
 

void Vector::operator *= (  real  a  ) 
 

real & Vector::operator() (  unsigned int  i  ) 
 

real Vector::operator() (  unsigned int  i  )  const
 

void Vector::operator+= (  real  a  ) 
 

void Vector::operator+= (  const Matrix::Column &  col  ) 
 

void Vector::operator+= (  const Matrix::Row &  row  ) 
 

void Vector::operator+= (  const Vector &  x  ) 
 

void Vector::operator-= (  real  a  ) 
 

void Vector::operator-= (  const Matrix::Column &  col  ) 
 

void Vector::operator-= (  const Matrix::Row &  row  ) 
 

void Vector::operator-= (  const Vector &  x  ) 
 

void Vector::operator= (  const Matrix::Column &  col  ) 
 

void Vector::operator= (  const Matrix::Row &  row  ) 
 

void Vector::operator= (  real  scalar  ) 
 

void Vector::operator= (  const Vector &  x  ) 
 

void Vector::rand (   ) 
 

void Vector::show (   )  const
 

unsigned int Vector::size (   )  const
 


Friends And Related Function Documentation

friend class DirectSolver [friend]
 

friend class Matrix [friend]
 

LogStream& operator<< (  LogStream &  stream,
const Vector &  vector
)  [friend]
 

friend class SISolver [friend]
 


The documentation for this class was generated from the following files:


Documentation automatically generated with Doxygen on 10 Sep 2004.