Class SimplifiedRandomHyperplaneProjectionFamily.SignedProjection

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double[] buf
      Shared buffer to use during projections.
      private int k
      Output dimensionality
      (package private) boolean[][] mat
      Projection matrix.
    • Constructor Summary

      Constructors 
      Constructor Description
      SignedProjection​(int dim, int k, java.util.Random random)
      Constructor.
    • Field Detail

      • mat

        boolean[][] mat
        Projection matrix.
      • k

        private int k
        Output dimensionality
      • buf

        private double[] buf
        Shared buffer to use during projections.
    • Constructor Detail

      • SignedProjection

        public SignedProjection​(int dim,
                                int k,
                                java.util.Random random)
        Constructor.
        Parameters:
        dim - Input dimensionality
        k - Output dimensionality
        random - Random generator