GianLuigi Piacentini
2015-01-27 21:01:53 UTC
Hi all,
so far, I solved this kind of problem as a 2 by 2 system of linear
(parametric) equation, using a routine from a math library (SLATEC). This
solver makes acrobacies to ensure numerical stability, minimize round-off
errors, and so on. That's fine, but seem to me an overkill for a 2 by 2.
Mantyla in his 'Introduction to Solid Modeling', solves directly (I think
it's Cramer's rule, but equations are so simple...) without too much worry
about numerical aspects. He only checks for a non-zero denominator.
So far I do not have speed or memory constraint, I can go well with SLATEC,
but I would like to hear experts opinion on the subject.
If you will point me to alternative solvers, consider that it's an hobby
project and only public domain stuff is eligible (possibly Fortran,
alternatively Ada, Basic, c or Pascal - languages that I hope to be able to
understand) .
Thanks in advance.
Gigi
so far, I solved this kind of problem as a 2 by 2 system of linear
(parametric) equation, using a routine from a math library (SLATEC). This
solver makes acrobacies to ensure numerical stability, minimize round-off
errors, and so on. That's fine, but seem to me an overkill for a 2 by 2.
Mantyla in his 'Introduction to Solid Modeling', solves directly (I think
it's Cramer's rule, but equations are so simple...) without too much worry
about numerical aspects. He only checks for a non-zero denominator.
So far I do not have speed or memory constraint, I can go well with SLATEC,
but I would like to hear experts opinion on the subject.
If you will point me to alternative solvers, consider that it's an hobby
project and only public domain stuff is eligible (possibly Fortran,
alternatively Ada, Basic, c or Pascal - languages that I hope to be able to
understand) .
Thanks in advance.
Gigi