Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMatrixTLazy.cxx File Reference
#include "TMatrixT.h"
#include "TMatrixTSym.h"
#include "TMatrixTLazy.h"
#include "TMath.h"
Include dependency graph for TMatrixTLazy.cxx:

Functions

template<class Element >
void MakeHaarMat (TMatrixT< Element > &m)
 Create an orthonormal (2^n)*(no_cols) Haar (sub)matrix, whose columns are Haar functions.
 
template<class Element >
void MakeHilbertMat (TMatrixT< Element > &m)
 Make a Hilbert matrix.
 
template<class Element >
void MakeHilbertMat (TMatrixTSym< Element > &m)
 Make a Hilbert matrix.
 
 templateClassImp (THaarMatrixT)
 
 templateClassImp (THilbertMatrixT)
 
 templateClassImp (THilbertMatrixTSym)
 
 templateClassImp (TMatrixTLazy)
 
 templateClassImp (TMatrixTSymLazy)
 

Function Documentation

◆ MakeHaarMat()

template<class Element >
void MakeHaarMat ( TMatrixT< Element > &  m)

Create an orthonormal (2^n)*(no_cols) Haar (sub)matrix, whose columns are Haar functions.

If no_cols is 0, create the complete matrix with 2^n columns. Example, the complete Haar matrix of the second order is: column 1: [ 1 1 1 1]/2 column 2: [ 1 1 -1 -1]/2 column 3: [ 1 -1 0 0]/sqrt(2) column 4: [ 0 0 1 -1]/sqrt(2) Matrix m is assumed to be zero originally.

Definition at line 60 of file TMatrixTLazy.cxx.

◆ MakeHilbertMat() [1/2]

template<class Element >
void MakeHilbertMat ( TMatrixT< Element > &  m)

Make a Hilbert matrix.

Hilb[i,j] = 1/(i+j+1), i,j=0...max-1 (matrix need not be a square one).

Definition at line 150 of file TMatrixTLazy.cxx.

◆ MakeHilbertMat() [2/2]

template<class Element >
void MakeHilbertMat ( TMatrixTSym< Element > &  m)

Make a Hilbert matrix.

Hilb[i,j] = 1/(i+j+1), i,j=0...max-1 (matrix must be square).

Definition at line 204 of file TMatrixTLazy.cxx.

◆ templateClassImp() [1/5]

templateClassImp ( THaarMatrixT  )

◆ templateClassImp() [2/5]

templateClassImp ( THilbertMatrixT  )

◆ templateClassImp() [3/5]

templateClassImp ( THilbertMatrixTSym  )

◆ templateClassImp() [4/5]

templateClassImp ( TMatrixTLazy  )

◆ templateClassImp() [5/5]

templateClassImp ( TMatrixTSymLazy  )