34template<
class Element>
39 Error(
"THaarMatrixT",
"Haar order(%d) should be > 0",order);
41 Error(
"THaarMatrixT",
"#cols(%d) in Haar should be >= 0",
no_cols);
54template<
class Element>
74 Element *
cp =
mtr.GetMatrixArray();
110template<
class Element>
118template<
class Element>
123 Error(
"THilbertMatrixT",
"#rows(%d) in Hilbert should be > 0",
no_rows);
125 Error(
"THilbertMatrixT",
"#cols(%d) in Hilbert should be > 0",
no_cols);
130template<
class Element>
135 Error(
"THilbertMatrixT",
"row_upb(%d) in Hilbert should be >= row_lwb(%d)",
row_upb,
row_lwb);
137 Error(
"THilbertMatrixT",
"col_upb(%d) in Hilbert should be >= col_lwb(%d)",
col_upb,
col_lwb);
144template<
class Element>
152 Error(
"MakeHilbertMat",
"#rows(%d) should be > 0",
no_rows);
156 Error(
"MakeHilbertMat",
"#cols(%d) should be > 0",
no_cols);
160 Element *
cp =
m.GetMatrixArray();
163 *
cp++ = 1.0/(i+
j+1.0);
168template<
class Element>
176template<
class Element>
181 Error(
"THilbertMatrixTSym",
"#rows(%d) in Hilbert should be > 0",
no_rows);
186template<
class Element>
191 Error(
"THilbertMatrixTSym",
"row_upb(%d) in Hilbert should be >= row_lwb(%d)",
row_upb,
row_lwb);
198template<
class Element>
204 Error(
"MakeHilbertMat",
"#rows(%d) should be > 0",
no_rows);
208 Element *
cp =
m.GetMatrixArray();
211 *
cp++ = 1.0/(i+
j+1.0);
216template<
class Element>
int Int_t
Signed integer 4 bytes (int)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
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.