GitHub PushEvent at 2014-12-08 22:39:00
Repository: KAS
Actor: alopatin
Payload: {"shas":[["c8c1f5fd7a14601b29e58b42e6edbefba03533d9","60c6d277a8bd81de7fdde19201bf9c58a3df08f4@khanacademy.org","Add a simple solver for linear equations.\n\nTest Plan:\n```\nvar a = new KAS.Eq(new KAS.Mul(new KAS.Float(2.5), new KAS.Unit(\"cup\")).simplify(), \"=\", new KAS.Mul(new KAS.Var(\"x\"), new KAS.Unit(\"gal\")).simplify())\na.solveLinearEquationForVariable(d.asExpr(), new KAS.Var(\"x\")).print()\n\"5/32\"\nvar b = new KAS.Eq(new KAS.Mul(new KAS.Float(2.5), new KAS.Unit(\"gal\")).simplify(), \"=\", new KAS.Mul(new KAS.Var(\"x\"), new KAS.Unit(\"cup\")).simplify())\nundefined\nb.solveLinearEquationForVariable(d.asExpr(), new KAS.Var(\"x\")).print()\n\"40\"\n```\n\nAuditors: joel","Alex Lopatin",true]],"size":1,"ref":"refs/heads/joelunits","head":"c8c1f5fd7a14601b29e58b42e6edbefba03533d9"}