/// <inheritdoc/> public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) { var x = _nx.CreateEquation(row, mapper, solver); var y = _ny.CreateEquation(row, mapper, solver); return(new RowEquation(x, y, solver, row)); }
/// <inheritdoc/> public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) { var a = _a.CreateEquation(row, mapper, solver); var b = _b.CreateEquation(row, mapper, solver); return(new RowEquation(a, b, solver, row)); }
/// <inheritdoc/> public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) { if (!_unknown.IsFixed) { return(new RowEquation(_unknown, solver, row, mapper.Map(_unknown))); } return(new ConstantRowEquation(_unknown, solver, row)); }
public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) => new RowEquation(_a.CreateEquation(row, mapper, solver), solver, row);
/// <inheritdoc/> public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) => new RowEquation(row, solver, _value);
/// <inheritdoc/> public override IRowEquation CreateEquation(int row, UnknownMap mapper, ISparseSolver <double> solver) { return(new RowEquation( _a.CreateEquation(row, mapper, solver), _b.CreateEquation(row, mapper, solver))); }