namespace
SushiDSP::dk
- Declared in
include/SushiDSP/math/dk/DampedNewtonSolver.hpp
Contains
SushiDSP::dk::BranchSushiDSP::dk::DampedNewtonSolverSushiDSP::dk::DenseLuSushiDSP::dk::DenseLu< 1 >SushiDSP::dk::DenseLu< 2 >SushiDSP::dk::DkCircuitSushiDSP::dk::DkNetlistSushiDSP::dk::HasCurrentsForUpdateSushiDSP::dk::HasCurrentsForUpdate< System, N, std::void_t< decltype(std::declval< System & >().currents_for_update(std::declval< const std::array< double, N > & >(), std::declval< const std::array< double, N > & >(), std::declval< const std::array< std::array< double, N >, N > & >(), std::declval< std::array< double, N > & >()))> >SushiDSP::dk::LinearPortSushiDSP::dk::NullorEntrySushiDSP::dk::PotentiometerEntry
Variables
constexpr double kMinimumPotOhms = 1.0Floor applied to each potentiometer section's resistance.
A knob at an end stop would otherwise leave a section at exactly zero ohms, shorting two nodes and making the augmented nodal matrix singular. One ohm is one to three orders of magnitude below any real pot's wiper contact resistance, so the floor is inaudible while it keeps the derivation well posed.
constexpr std::size_t kMaximumNodes = 16Largest number of non-ground nodes any DkCircuit instance may describe.
constexpr std::size_t kMaximumResistors = 32Largest number of resistor branches, potentiometer sections included.
constexpr std::size_t kMaximumPotentiometers = 4Largest number of potentiometers a single circuit may carry.
constexpr std::size_t kMaximumNullors = 4Largest number of ideal op-amps a single circuit may carry.

