Functions within JAIDA are created via an IFunctionFactory:
Code Block | ||
---|---|---|
| ||
// The AIDA Factories
IAnalysisFactory af = IAnalysisFactory.create();
ITree = af.createTreeFactory().create();
IFunctionFactory ff = af.createFunctionFactory(tree);
// Create a gaussian
IFunction gauss = ff.createFunctionByName("gauss",g);
|