eisgenerator 1.0.x
Public Member Functions | Static Public Member Functions | List of all members
eis::Inductor Class Reference

Inherits eis::Componant.

Collaboration diagram for eis::Inductor:
Collaboration graph

Public Member Functions

 Inductor (std::string paramStr, size_t count=10, bool defaultToRange=false)
 
 Inductor (fvalue L=1e-6)
 
virtual std::complex< fvalue > execute (fvalue omega) override
 
virtual size_t paramCount () const override
 
virtual char getComponantChar () const override
 
virtual std::string componantName () const override
 
virtual std::string getCode (std::vector< std::string > &parameters) override
 
virtual std::vector< eis::RangegetDefaultParameters (bool range=true) const override
 
virtual std::string getTorchScript (std::vector< std::string > &parameters) override
 
- Public Member Functions inherited from eis::Componant
virtual void setParamRanges (const std::vector< eis::Range > &ranges)
 
virtual std::vector< eis::Range > & getParamRanges ()
 
virtual std::vector< eis::RangegetParamRanges () const
 
virtual std::string getComponantString (bool currentValue=true) const
 
virtual bool compileable ()
 
std::string getUniqueName ()
 

Static Public Member Functions

static constexpr char staticGetComponantChar ()
 
- Static Public Member Functions inherited from eis::Componant
static Componantcopy (Componant *componant)
 
static ComponantcreateNewComponant (char componant, std::string paramStr="", size_t count=1, bool defaultToRange=false)
 
static bool isValidComponantChar (char componant)
 

Additional Inherited Members

- Protected Attributes inherited from eis::Componant
std::vector< eis::Rangeranges
 
std::string uniqueName
 

Member Function Documentation

◆ componantName()

virtual std::string eis::Inductor::componantName ( ) const
inlineoverridevirtual

Implements eis::Componant.

◆ execute()

virtual std::complex< fvalue > eis::Inductor::execute ( fvalue omega)
overridevirtual

Reimplemented from eis::Componant.

◆ getCode()

virtual std::string eis::Inductor::getCode ( std::vector< std::string > & parameters)
overridevirtual

Reimplemented from eis::Componant.

◆ getComponantChar()

virtual char eis::Inductor::getComponantChar ( ) const
overridevirtual

Implements eis::Componant.

◆ getDefaultParameters()

virtual std::vector< eis::Range > eis::Inductor::getDefaultParameters ( bool range = true) const
overridevirtual

Reimplemented from eis::Componant.

◆ getTorchScript()

virtual std::string eis::Inductor::getTorchScript ( std::vector< std::string > & parameters)
overridevirtual

Reimplemented from eis::Componant.

◆ paramCount()

virtual size_t eis::Inductor::paramCount ( ) const
overridevirtual

Reimplemented from eis::Componant.