internal DiophantineSolution(DiophantineType type, BigInteger x0, BigInteger y0, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcX1, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcY1, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcX2, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcY2) { _type = type; _x0 = x0; _y0 = y0; _funcX1 = funcX1.Rewrite(); _funcY1 = funcY1.Rewrite(); if (funcX2 != null) { _funcX2 = funcX2.Rewrite(); _funcY2 = funcY2.Rewrite(); } }
internal DiophantineSolution(DiophantineType type, BigInteger x0, BigInteger y0, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcX1, Expression <Func <BigInteger, BigInteger, BigInteger, BigInteger> > funcY1) : this(type, x0, y0, funcX1, funcY1, funcX1, funcY1) { }