39template<
class Element>
44 Error(
"THaarMatrixT",
"Haar order(%d) should be > 0",order);
46 Error(
"THaarMatrixT",
"#cols(%d) in Haar should be >= 0",
no_cols);
59template<
class Element>
79 Element *
cp =
mtr.GetMatrixArray();
115template<
class Element>
123template<
class Element>
128 Error(
"THilbertMatrixT",
"#rows(%d) in Hilbert should be > 0",
no_rows);
130 Error(
"THilbertMatrixT",
"#cols(%d) in Hilbert should be > 0",
no_cols);
135template<
class Element>
140 Error(
"THilbertMatrixT",
"row_upb(%d) in Hilbert should be >= row_lwb(%d)",
row_upb,
row_lwb);
142 Error(
"THilbertMatrixT",
"col_upb(%d) in Hilbert should be >= col_lwb(%d)",
col_upb,
col_lwb);
149template<
class Element>
157 Error(
"MakeHilbertMat",
"#rows(%d) should be > 0",
no_rows);
161 Error(
"MakeHilbertMat",
"#cols(%d) should be > 0",
no_cols);
165 Element *
cp =
m.GetMatrixArray();
168 *
cp++ = 1.0/(i+
j+1.0);
173template<
class Element>
181template<
class Element>
186 Error(
"THilbertMatrixTSym",
"#rows(%d) in Hilbert should be > 0",
no_rows);
191template<
class Element>
196 Error(
"THilbertMatrixTSym",
"row_upb(%d) in Hilbert should be >= row_lwb(%d)",
row_upb,
row_lwb);
203template<
class Element>
209 Error(
"MakeHilbertMat",
"#rows(%d) should be > 0",
no_rows);
213 Element *
cp =
m.GetMatrixArray();
216 *
cp++ = 1.0/(i+
j+1.0);
221template<
class Element>
#define templateClassImp(name)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
void MakeHaarMat(TMatrixT< Element > &m)
Create an orthonormal (2^n)*(no_cols) Haar (sub)matrix, whose columns are Haar functions.
void MakeHilbertMat(TMatrixT< Element > &m)
Make a Hilbert matrix.
void FillIn(TMatrixT< Element > &m) const override
void FillIn(TMatrixTSym< Element > &m) const override
void FillIn(TMatrixT< Element > &m) const override
Templates of Lazy Matrix classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Double_t Sqrt(Double_t x)
Returns the square root of x.