Uniform¶
We call an \(m \times n\) matrix is uniformly random if each entry is drawn from a uniform distribution over a ball with the specified center and radius.
C++ API¶
-
void
MakeUniform
(Matrix<T> &A, T center = 0, Base<T> radius = 1)¶
-
void
MakeUniform
(AbstractDistMatrix<T> &A, T center = 0, Base<T> radius = 1)¶
C API¶
-
ElError
ElUniform_c
(ElMatrix_c A, ElInt m, ElInt n, complex_float center, float radius)¶
-
ElError
ElUniform_z
(ElMatrix_z A, ElInt m, ElInt n, complex_double center, double radius)¶
-
ElError
ElUniformDist_c
(ElDistMatrix_c A, ElInt m, ElInt n, complex_float center, float radius)¶
-
ElError
ElUniformDist_z
(ElDistMatrix_z A, ElInt m, ElInt n, complex_double center, double radius)¶