1 #ifndef __bbstdCreateArithmeticSuiteVector_h_INCLUDED__
2 #define __bbstdCreateArithmeticSuiteVector_h_INCLUDED__
3 #include "bbstd_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
10 class bbstd_EXPORT CreateArithmeticSuiteVector
12 public bbtk::AtomicBlackBox
14 BBTK_BLACK_BOX_INTERFACE(CreateArithmeticSuiteVector,bbtk::AtomicBlackBox);
15 BBTK_DECLARE_INPUT(FirstValue,double);
16 BBTK_DECLARE_INPUT(Delta,double);
17 BBTK_DECLARE_INPUT(Size,int);
18 BBTK_DECLARE_OUTPUT(ArithmeticSuiteVector,std::vector<double>);
19 BBTK_PROCESS(Process);
23 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CreateArithmeticSuiteVector,bbtk::AtomicBlackBox);
24 BBTK_NAME("CreateArithmeticSuiteVector");
25 BBTK_AUTHOR("Claire Mouton");
26 BBTK_DESCRIPTION("Creates a vector with the values of an arithmetic suite, given the first value, the difference between two consecutive elements (delta) and its size.");
28 BBTK_INPUT(CreateArithmeticSuiteVector,FirstValue,"The first value of the vector.",double,"");
29 BBTK_INPUT(CreateArithmeticSuiteVector,Delta,"The difference between two consecutive elements (Put 0 to get a constatn vector).",double,"");
30 BBTK_INPUT(CreateArithmeticSuiteVector,Size,"Size of the vector to create.",int,"");
31 BBTK_OUTPUT(CreateArithmeticSuiteVector,ArithmeticSuiteVector,"The created vector.",std::vector<double>,"");
32 BBTK_END_DESCRIBE_BLACK_BOX(CreateArithmeticSuiteVector);
36 #endif // __bbstdCreateArithmeticSuiteVector_h_INCLUDED__