GaussianElimination constructor

GaussianElimination({
  1. required List<List<double>> equations,
  2. required List<double> constants,
})

Given an equation in the form Ax = b, A is a square matrix containing n equations in n unknowns and b is the vector of the known values.

  • equations is the matrix containing the equations
  • constants is the vector with the known values

Implementation

GaussianElimination({
  required List<List<double>> equations,
  required List<double> constants,
}) : super(
        A: equations,
        b: constants,
        size: constants.length,
      );