Class Matrix.Init

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Matrix.Init.Empty
      Init all with 0s.
      static class  Matrix.Init.Fill
      Init all with a number.
      static class  Matrix.Init.Gaussian
      Generate random numbers from the gaussian distribution to fill the matrix.
      static class  Matrix.Init.Uniform
      Generate a uniform range of random numbers to fill the matrix.
    • Constructor Summary

      Constructors 
      Constructor Description
      Init()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void apply​(Matrix m)
      Apply the initialization (in place) to a new matrix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Init

        public Init()
    • Method Detail

      • apply

        public abstract void apply​(Matrix m)
        Apply the initialization (in place) to a new matrix.
        Parameters:
        m - the matrix