2016-05-24 16:12:06 +0200 | received badge | ● Student (source) |
2016-05-24 15:52:30 +0200 | asked a question | Evaluation of a LinearFunction I would like to substitute values for the variables in a LinearFunction object. For example: The object f is not callable, and also the following does nothing (even though the Sage online help suggests that it should do something): I can do what I want to do by writing some code to work with the output of f.dict(), but does Sage have a cleaner way to evaluate a linear function? |