Causality Analyzer
    Preparing search index...
    • Safe version of solveLinear that detects and reports singular matrices.

      Parameters

      • A: number[][]
      • b: number[]

      Returns { singular: boolean; solution: number[] | null }

      • singular: true if the matrix is near-singular (no reliable solution)
        • solution: the solution vector if non-singular, null if singular