class HCL_NonSymMatInv_d : public HCL_LinearOpAdjInv_d

HCL_NonSymMatInv_d is the HCL object representing nonsymmetric dense matrices

Inheritance:


Public Methods

virtual ostream& Write ( ostream & str )
Prints a description of HCL_NonSymMatInv_d

Public

Constructors
HCL_NonSymMatInv_d ()
Default Constructor
HCL_NonSymMatInv_d ( const HCL_NonSymMatInv_d & D )
Constructs a copy on an existing nonsymmetric matrix
HCL_NonSymMatInv_d ( HCL_RnSpace_d * d )
Constructs a matrix with domain and range d
HCL_NonSymMatInv_d ( char * fname )
Constructs a matrix from data in file fname
HCL_NonSymMatInv_d ( HCL_RnSpace_d * d, const HCL_RnVector_d & x )
Constructs a matrix with domain and range d with data from HCL_RnVector_d x
HCL_NonSymMatInv_d ( int n )
Create a matrix with n rows and columns
Data access
virtual double& operator) ( int i, int j )
Returns a reference to the entry (i,j)
virtual double operator) ( int i, int j )
Returns the value of the data at (i,j)
double& EntryOpt (int i, int j)
Optimized non-virtual entry access
double EntryOpt (int i, int j)
Optimized non-virtual entry access
double* Data ()
Returns a pointer to the matrix data
Dimension access
int Rows ()
Returns the number of rows in matrix
int Cols ()
Returns the number of columns in matrix
int RowsOpt ()
Optimized, non-virtual form of Rows()
int ColsOpt ()
Optimized, non-virtual form of Cols()
Operations
void Zero ()
Fills all matrix elements with 0's
void Random ()
Fills matrix with random entries.
virtual void Image ( const HCL_Vector_d & xx, HCL_Vector_d & yy )
Computes image on HCL_Vector_d xx and stores the result in HCL_Vector_d yy
virtual void AdjImage ( const HCL_Vector_d & xx, HCL_Vector_d & yy )
Computes the adjoint image on HCL_Vector_d xx and stores result in HCL_Vector_d yy
virtual void InvImage (const HCL_Vector_d & y, HCL_Vector_d & x)
InvImage computes the action of the inverse on y, giving x.
virtual void InvAdjImage (const HCL_Vector_d & y, HCL_Vector_d & x)
InvAdjImage computes the action of the inverse on y, giving x.
Range and Domain space access
virtual HCL_VectorSpace_d& Domain ()
Returns a reference to the domain space of the matrix, which is a HCL_VectorSpace_d
virtual HCL_VectorSpace_d& Range ()
Returns a reference to the range space of the matrix, which is a HCL_VectorSpace_d
virtual HCL_EuclideanVectorSpace_d& EucRange ()
Returns a reference to the range space of the matrix, which is a HCL_EuclideanVectorSpace_d
HCL_VectorSpace_d& DomainOpt ()
Optimized, non-virtual form of Domain()
HCL_VectorSpace_d& RangeOpt ()
Optimized, non-virtual form of Range
HCL_EuclideanVectorSpace_d& EucRangeOpt ()
Optimized, non-virtual form of EucRange

Inherited from HCL_LinearOpAdjInv_d:

Public Methods

virtual void AdjImage(const HCL_Vector_d & y, HCL_Vector_d & x)
virtual HCL_VectorSpace_d& Domain()
virtual void Image(const HCL_Vector_d & x, HCL_Vector_d & y)
virtual void InvAdjImage(const HCL_Vector_d & x, HCL_Vector_d & y)
virtual void InvImage(const HCL_Vector_d & y, HCL_Vector_d & x)
virtual HCL_VectorSpace_d& Range()

Inherited from HCL_LinearOpAdj_d:

Public Methods

int TestAdj(int Display = 1, double tol = 1000 )

Inherited from HCL_LinearOp_d:


Inherited from HCL_Base:

Public Methods

int Count()
void DecCount()
void IncCount()

Private Fields

int ReferenceCount

Documentation

HCL_NonSymMatInv_d is the HCL object representing nonsymmetric dense matrices
Constructors

HCL_NonSymMatInv_d()
Default Constructor

HCL_NonSymMatInv_d( const HCL_NonSymMatInv_d & D )
Constructs a copy on an existing nonsymmetric matrix

HCL_NonSymMatInv_d( HCL_RnSpace_d * d )
Constructs a matrix with domain and range d

HCL_NonSymMatInv_d( char * fname )
Constructs a matrix from data in file fname

HCL_NonSymMatInv_d( HCL_RnSpace_d * d, const HCL_RnVector_d & x )
Constructs a matrix with domain and range d with data from HCL_RnVector_d x

HCL_NonSymMatInv_d( int n )
Create a matrix with n rows and columns

Dimension access

int Rows()
Returns the number of rows in matrix

int Cols()
Returns the number of columns in matrix

int RowsOpt()
Optimized, non-virtual form of Rows()

int ColsOpt()
Optimized, non-virtual form of Cols()

Range and Domain space access

virtual HCL_VectorSpace_d& Domain()
Returns a reference to the domain space of the matrix, which is a HCL_VectorSpace_d

virtual HCL_VectorSpace_d& Range()
Returns a reference to the range space of the matrix, which is a HCL_VectorSpace_d

virtual HCL_EuclideanVectorSpace_d& EucRange()
Returns a reference to the range space of the matrix, which is a HCL_EuclideanVectorSpace_d

HCL_VectorSpace_d& DomainOpt()
Optimized, non-virtual form of Domain()

HCL_VectorSpace_d& RangeOpt()
Optimized, non-virtual form of Range

HCL_EuclideanVectorSpace_d& EucRangeOpt()
Optimized, non-virtual form of EucRange

Data access

virtual double& operator)( int i, int j )
Returns a reference to the entry (i,j)

virtual double operator)( int i, int j )
Returns the value of the data at (i,j)

double& EntryOpt(int i, int j)
Optimized non-virtual entry access

double EntryOpt(int i, int j)
Optimized non-virtual entry access

double* Data()
Returns a pointer to the matrix data

Operations

void Zero()
Fills all matrix elements with 0's

void Random()
Fills matrix with random entries.

virtual void Image( const HCL_Vector_d & xx, HCL_Vector_d & yy )
Computes image on HCL_Vector_d xx and stores the result in HCL_Vector_d yy

virtual void AdjImage( const HCL_Vector_d & xx, HCL_Vector_d & yy )
Computes the adjoint image on HCL_Vector_d xx and stores result in HCL_Vector_d yy

virtual void InvImage(const HCL_Vector_d & y, HCL_Vector_d & x)
InvImage computes the action of the inverse on y, giving x.

virtual void InvAdjImage(const HCL_Vector_d & y, HCL_Vector_d & x)
InvAdjImage computes the action of the inverse on y, giving x.

virtual ostream& Write( ostream & str )
Prints a description of HCL_NonSymMatInv_d


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de