News for hackers. Stuff that matters.

nonenobody

Re:Powers of a 2×2 matrix in closed form on Sunday June 11, 2023 @11:25AM (#36282238)
I did not read the OP, but I imagine that Hamilton theorem for 2x2 matrix gives us a recurrent relation for computing A^n. For example A^2 = 2A+BI. So this seems to be a very trivial result or formula.

For example (1) Another way is to obtain the remainder of dividing x^n by the characteristic polynomial of the matrix A.

(1) https://dl.acm.org/doi/10.1145/355769.355772

Re:The Embeddable Common Lisp [pdf] on Saturday June 10, 2023 @05:31PM (#36275348)
> If you have some questions I'll be glad to answer.

What is the main difference between ECL and GCL?

I remember Norvig comments on the book were very appraising (5 stars).

I read it some twenty years ago. The terminology was new to me, something like fexpresion, nexpresion, ..., the difference being when and how the arguments are evaluated. At the same time I was reading macsima code, to learn how to develop a mathematical symbolic system. The book is mainly about the function eval, closures, and how to construct compiler. In a way is the reverse of 'practical common lisp'. It doesn't discuss any concrete implementation of Lisp, gc, servers, sockets or ffi. It is deep in how evaluation is done in Lisp but lack a lot of other topics.

https://hackernewsbooks.com/book/lisp-in-small-pieces/dbb8b5...