26 template<
typename Real_t>
37 for (
size_t i = 0; i <
m; i++) {
38 for (
size_t j = 0; j <
n; j++) {
39 A(i,j) = rand.
Gaus(0.0, sigma);
45 template<
typename Real_t>
56 for (
size_t i = 0; i <
m; i++) {
57 for (
size_t j = 0; j <
n; j++) {
58 A(i,j) = rand.
Uniform(-range, range);
64 template<
typename Real_t>
71 for (
size_t i = 0; i <
m; i++) {
72 for (
size_t j = 0; j <
n; j++) {
82 template<
typename Real_t>
89 for (
size_t i = 0; i <
m ; i++) {
90 for (
size_t j = 0; j <
n ; j++) {
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
This is the base class for the ROOT Random number generators.
static void InitializeUniform(TMatrixT< AReal > &A)
static void InitializeZero(TMatrixT< AReal > &A)
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
static void InitializeIdentity(TMatrixT< AReal > &A)
Abstract ClassifierFactory template that handles arbitrary types.
static void InitializeGauss(TMatrixT< AReal > &A)