solutions

## Class S6Lsq

- java.lang.Object
- - solutions.S6Lsq

-     public class S6Lsq
      extends java.lang.Object

  Fit of a Breit-Wigner function to a histogram

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `S6Lsq()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `compute()`
    `protected boolean` | `inputOk()`
    `static void` | `main(java.lang.String[] s)`
    `double[]` | `randomBreitWigner(double a, double gamma, int n)` Returns n random numbers following a Breit-Wigner distribution with mean a and FWHM gamma

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### S6Lsq

          public S6Lsq()

  - ### Method Detail

    - #### inputOk

          protected boolean inputOk()

    - #### compute

          protected void compute()

    - #### randomBreitWigner

          public double[] randomBreitWigner(double a,
                                   double gamma,
                                   int n)

      Returns n random numbers following a Breit-Wigner distribution with mean a and FWHM gamma

    - #### main

          public static void main(java.lang.String[] s)