Class RowInfo

java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.circuit.RowInfo

public class RowInfo extends Object
Helper class for matrix row information during circuit analysis. Used to track row types and simplifications in Modified Nodal Analysis.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Whether this row should be dropped from the simplified matrix
    boolean
    Whether the left side of this row changes during doStep()
    int
    Column index after matrix mapping
    int
    Row index after matrix mapping
    int
    Node index that this row equals (if type is ROW_EQUAL)
    static final int
    Constant row type - value is known
    static final int
    Equal row type - value equals another node
    static final int
    Normal row type - requires solving
    boolean
    Whether the right side of this row changes during doStep()
    int
    Row type (ROW_NORMAL, ROW_CONST, or ROW_EQUAL)
    double
    Constant value (if type is ROW_CONST)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new row info with default values.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ROW_NORMAL

      public static final int ROW_NORMAL
      Normal row type - requires solving
      See Also:
    • ROW_CONST

      public static final int ROW_CONST
      Constant row type - value is known
      See Also:
    • ROW_EQUAL

      public static final int ROW_EQUAL
      Equal row type - value equals another node
      See Also:
    • type

      public int type
      Row type (ROW_NORMAL, ROW_CONST, or ROW_EQUAL)
    • mapCol

      public int mapCol
      Column index after matrix mapping
    • mapRow

      public int mapRow
      Row index after matrix mapping
    • value

      public double value
      Constant value (if type is ROW_CONST)
    • nodeEq

      public int nodeEq
      Node index that this row equals (if type is ROW_EQUAL)
    • lsChanges

      public boolean lsChanges
      Whether the left side of this row changes during doStep()
    • rsChanges

      public boolean rsChanges
      Whether the right side of this row changes during doStep()
    • dropRow

      public boolean dropRow
      Whether this row should be dropped from the simplified matrix
  • Constructor Details

    • RowInfo

      public RowInfo()
      Creates a new row info with default values.