▲ | moregrist 3 days ago | |
You could, and hope that you understand the problem domain and numerical analysis enough to hit all the hard cases. And then you’d have expanded your codebase with lots of tests that are relevant to a linear algebra library and not to what you’re trying to do. Or you could use existing linear algebra libraries which are highly optimized, highly tested, and have a well-understood api that’s easier to review. And then get back to the legit hard stuff, like maybe worrying if your linear solver needs preconditioning and how to best to that. Or any of the many numerical problems people tend to face when doing this kind of work. I’m not sure why you’d give the llm a pass on reinventing the wheel here when you definitely wouldn’t with any other dev. |