public static SomeFactory<ShapeFunction> genFactory() { final int DEFAULT_BASE_ORDER = 2; SomeFactory<WeightFunctionCore> weightFunctionCoreFactory = TriSpline.genFactory(); SomeFactory<BasesFunction> basesFunctionFactory = Complete2DPolynomialBases.basesFunctionFactory(DEFAULT_BASE_ORDER); return genFactory(weightFunctionCoreFactory, basesFunctionFactory); }
public void setComplete2DPolynomialBasesFactory(int baseOrder) { basesFunctionFactory = Complete2DPolynomialBases.basesFunctionFactory(baseOrder); }
public static SomeFactory<ShapeFunction> genFactory(int baseOrder) { SomeFactory<WeightFunctionCore> weightFunctionCoreFactory = TriSpline.genFactory(); SomeFactory<BasesFunction> basesFunctionFactory = Complete2DPolynomialBases.basesFunctionFactory(baseOrder); return genFactory(weightFunctionCoreFactory, basesFunctionFactory); }