Package me.yixqiao.jlearn.matrix
Class Matrix.Init.Gaussian
- java.lang.Object
-
- me.yixqiao.jlearn.matrix.Matrix.Init
-
- me.yixqiao.jlearn.matrix.Matrix.Init.Gaussian
-
- Enclosing class:
- Matrix.Init
public static class Matrix.Init.Gaussian extends Matrix.Init
Generate random numbers from the gaussian distribution to fill the matrix.The numbers will be centered around
center, and have a standard deviation ofrangedirection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class me.yixqiao.jlearn.matrix.Matrix.Init
Matrix.Init.Empty, Matrix.Init.Fill, Matrix.Init.Gaussian, Matrix.Init.Uniform
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Matrix m)Apply the initialization (in place) to a new matrix.
-
-
-
Method Detail
-
apply
public void apply(Matrix m)
Description copied from class:Matrix.InitApply the initialization (in place) to a new matrix.- Specified by:
applyin classMatrix.Init- Parameters:
m- the matrix
-
-