Resistor: Resistor Class

Description Details Methods Methods

Description

Class for the resistors

Details

Resistor class

Methods

num_impedance compute the impedance considering the value of the resistance
sym_impedance give the symbolic impedance considering the name of the resistor
set_resistance set the resistance
spice_line produce the line for the netlist

Methods

Public methods


Method new()

Usage
Resistor$new(resistor_txt)

Method set_value()

Usage
Resistor$set_value(new_res)

Method spice_line()

Usage
Resistor$spice_line()

Method num_impedance()

Usage
Resistor$num_impedance(f)

Method sym_impedance()

Usage
Resistor$sym_impedance(f)

Method clone()

The objects of this class are cloneable with this method.

Usage
Resistor$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


karylsienn/ltspicer documentation built on Dec. 21, 2021, 5:19 a.m.