jfftw
Class Wisdom

java.lang.Object
  |
  +--jfftw.Wisdom

public class Wisdom
extends java.lang.Object

Wisdom represents all information FFTW has gathered during the creation of plans. It is useful to save this information for later use on the same machine. The following methods provide this functionality.

For a more detailed discussion see the FFTW documentation. The FFTW library is work of MIT. The jfftw package is work of Daniel Darabos (cyhawk@sch.bme.hu). Both have GPL licenses.


Method Summary
static void add(java.lang.String wisdom)
          Loads wisdom information from a string.
static void clear()
          Discards existing wisdom information.
static java.lang.String get()
          Returns wisdom information as a string.
static void load(java.io.File file)
          Loads wisdom information from a file.
static void save(java.io.File file)
          Saves wisdom information to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

save

public static void save(java.io.File file)
                 throws java.io.IOException
Saves wisdom information to a file.

java.io.IOException

get

public static java.lang.String get()
Returns wisdom information as a string.


load

public static void load(java.io.File file)
                 throws java.io.IOException
Loads wisdom information from a file. The information is added to existing information. In case of conflicting data, the loaded replaces the already existing.

java.io.IOException

add

public static void add(java.lang.String wisdom)
                throws java.lang.IllegalArgumentException
Loads wisdom information from a string. The information is added to existing information. In case of conflicting data, the loaded replaces the already existing.

Throws:
java.lang.IllegalArgumentException - if wisdom is not of the expected format.

clear

public static void clear()
Discards existing wisdom information.