I'm sure this has been answered, but I am not having much luck finding it. Is there a way to implement transcendental functions ($\sin(x)$, $\cos(x)$, $e^{x}$, $\ln(x)$, etc...) using techniques from linear algebra?
My current code uses a successive approximation technique by calculating terms of a Maclaurin series in a loop. When the result stops changing, the loop ends and the result is returned.