32 Resistor(std::string paramStr,
size_t count = 10,
bool defaultToRange =
false);
33 virtual std::complex<fvalue> execute(fvalue omega)
override;
34 virtual size_t paramCount()
const override;
35 virtual char getComponantChar()
const override;
36 static constexpr char staticGetComponantChar(){
return 'r';}
37 virtual std::string componantName()
const override {
return "Resistor";}
38 virtual std::string getCode(std::vector<std::string>& parameters)
override;
39 virtual std::vector<eis::Range> getDefaultParameters(
bool range =
true)
const override;
40 virtual std::string getTorchScript(std::vector<std::string>& parameters)
override;