Пример #1
0
 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);
 }
Пример #2
0
 public static SomeFactory<ShapeFunction> genFactory(int baseOrder) {
   SomeFactory<WeightFunctionCore> weightFunctionCoreFactory = TriSpline.genFactory();
   SomeFactory<BasesFunction> basesFunctionFactory =
       Complete2DPolynomialBases.basesFunctionFactory(baseOrder);
   return genFactory(weightFunctionCoreFactory, basesFunctionFactory);
 }