ESTER
Evolution STEllaire en Rotation
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
matrix_block_diag Class Reference

The matrix_block_diag class is used to store block diagonal matrices. More...

#include <matrix.h>

Collaboration diagram for matrix_block_diag:
Collaboration graph
[legend]

Public Member Functions

 matrix_block_diag (int nblocks=1)
 
 ~matrix_block_diag ()
 
 matrix_block_diag (const matrix_block_diag &)
 
matrix_block_diagoperator= (const matrix_block_diag &)
 
matrix_block_diagset_nblocks (int nblocks)
 
 operator matrix () const
 
const matrixblock (int i) const
 
matrixblock (int i)
 
int nblocks () const
 
int nrows () const
 
int ncols () const
 
matrix operator, (const matrix &) const
 
matrix_block_diag operator, (const matrix_block_diag &) const
 
matrix_block_diag operator* (const matrix &) const
 
matrix_block_diag operator/ (const matrix &) const
 
matrix_block_diag operator* (double) const
 
matrix_block_diag operator/ (double) const
 
matrix_block_diag operator+ (const matrix_block_diag &) const
 
matrix_block_diag operator- (const matrix_block_diag &) const
 
matrix_block_diag operator* (const matrix_block_diag &) const
 
matrix row (int n) const
 
double operator() (int nfil, int ncol) const
 
matrix_block_diag transpose () const
 

Private Attributes

matrixm
 
int nb
 

Friends

matrix operator, (const matrix &, const matrix_block_diag &)
 
matrix_block_diag operator* (const matrix &, const matrix_block_diag &)
 
matrix_block_diag operator* (double, const matrix_block_diag &)
 
matrix_block_diag operator+ (const matrix_block_diag &)
 
matrix_block_diag operator- (const matrix_block_diag &)
 
matrix_block_diag eye (const matrix_block_diag &)
 

Detailed Description

The matrix_block_diag class is used to store block diagonal matrices.

Constructor & Destructor Documentation

matrix_block_diag::matrix_block_diag ( int  nblocks = 1)
explicit

Here is the call graph for this function:

matrix_block_diag::~matrix_block_diag ( )
matrix_block_diag::matrix_block_diag ( const matrix_block_diag a)

Member Function Documentation

const matrix & matrix_block_diag::block ( int  i) const
matrix & matrix_block_diag::block ( int  i)
int matrix_block_diag::nblocks ( ) const
int matrix_block_diag::ncols ( ) const
int matrix_block_diag::nrows ( ) const
matrix_block_diag::operator matrix ( ) const

Here is the call graph for this function:

double matrix_block_diag::operator() ( int  nfil,
int  ncol 
) const

Here is the call graph for this function:

matrix_block_diag matrix_block_diag::operator* ( const matrix z) const

Here is the call graph for this function:

matrix_block_diag matrix_block_diag::operator* ( double  n) const
matrix_block_diag matrix_block_diag::operator* ( const matrix_block_diag a) const
matrix_block_diag matrix_block_diag::operator+ ( const matrix_block_diag a) const
matrix matrix_block_diag::operator, ( const matrix a) const

Here is the call graph for this function:

matrix_block_diag matrix_block_diag::operator, ( const matrix_block_diag a) const
matrix_block_diag matrix_block_diag::operator- ( const matrix_block_diag a) const
matrix_block_diag matrix_block_diag::operator/ ( const matrix z) const

Here is the call graph for this function:

matrix_block_diag matrix_block_diag::operator/ ( double  n) const
matrix_block_diag & matrix_block_diag::operator= ( const matrix_block_diag a)

Here is the call graph for this function:

matrix matrix_block_diag::row ( int  n) const

Here is the call graph for this function:

matrix_block_diag & matrix_block_diag::set_nblocks ( int  nblocks)

Here is the call graph for this function:

matrix_block_diag matrix_block_diag::transpose ( ) const

Here is the call graph for this function:

Friends And Related Function Documentation

matrix_block_diag eye ( const matrix_block_diag a)
friend
matrix_block_diag operator* ( const matrix a,
const matrix_block_diag D 
)
friend
matrix_block_diag operator* ( double  n,
const matrix_block_diag D 
)
friend
matrix_block_diag operator+ ( const matrix_block_diag a)
friend
matrix operator, ( const matrix a,
const matrix_block_diag b 
)
friend
matrix_block_diag operator- ( const matrix_block_diag a)
friend

Member Data Documentation

matrix* matrix_block_diag::m
private
int matrix_block_diag::nb
private

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