BeamFormingWeights = new float(numberOfBeams*numberOfChannels); inputData          = new float(numberOfChannels*numberOfSamples);
BeamFormingWeights = new float [numberOfBeams*numberOfChannels]; inputData          = new float [numberOfChannels*numberOfSamples];
  public void init(int nBeams, int nChannels, int nSamples)  {    numberOfBeams      = nBeams;    numberOfChannels   = nChannels;    numberOfSamples    = nSamples;    BeamFormingWeights = new float(numberOfBeams*numberOfChannels);    inputData          = new float(numberOfChannels*numberOfSamples);    input = new Channel (Float.TYPE, numberOfChannels*numberOfSamples);    output = new Channel (Float.TYPE, numberOfBeams*numberOfSamples);    // NEED TO GENERATE BF WEIGHTS HERE  }