Skip to main content

★★★★★ It *WAS* great

Numerical Methods That Work

Forman S Acton

This is a difficult book to rate, because it is so much an artefact of its time. For about ten years (1973-1983) it was my Bible. Now, in 2023, I'd have to call it virtually useless for the practicing software engineer. That it was reprinted in 1997 by The Mathematical Association of America is a tribute to its classic status in the field. But by 1997 it was, honestly, already obsolete. I have decided to give it five stars as the classic it is, although I don't recommend anyone use it now.

In 1973 I started as a freshman at Cornell University, where I immediately joined a chemistry research lab. I did chemical kinetics research. We needed software to analyze results, and I wrote it. That was the way it worked then -- if you used software, you were more than likely going to write it. (Not everyone -- the other folks in the lab used my software. So I was that 17-year-old computer nerd, though we weren't called that then.)

My copy -- even as an impecunious undergrad I deemed it worthwhile to splash out on a personal copy -- was the 1970 red clothbound edition. The title was, as usual, stamped on the cover and inked in silver -- "Numerical Methods That Work". But if you looked closely you saw that preceding "Work" was stamped the word "Usually", stamped but not inked. Forman S. Acton had a sense of humor. That was appealing. Indeed, the entire book is amusingly tendentious -- as a programmer, Acton had very definite ideas about how to program, and he is not shy about calling people who use computers thoughtlessly fools.

Acton's ideas have not aged well. To Acton computer time and memory were scarce resources, and a programmer who wasted them because of not having given the due amount of thought was scorned. That a computer could be thought of as a labor-saving device meant to save humans unnecessary work barely penetrated his consciousness. That made sense in 1970, when a university might own one -- count 'em, one -- very expensive mainframe IBM computer (far less powerful than the processor in your current phone), used for all campus computing.

By 1973, when I came on the scene, this was changing. LASSP (Laboratory of Atomic and Solid-State Physics) had its own DEC PDP-11/20 minicomputer the size of two refrigerators, and 1 MB removable hard disks the size of a large serving platter, on which I did most of my work. By 1976, when I graduated, microprocessors were becoming a thing, and personal computers (well out of reach of a student for whom buying a personal hardback copy of Numerical Methods that Work was a nontrivial financial decision) were just beginning to become a thing.

In the mid-1990s another thing happened that further obsoleted Acton. "Don't reinvent the wheel" is a universal principle of good engineering -- if someone has solved this problem before, adapt their solution! In 1973, here's how that worked. Suppose I need to solve a system of equations Ax=y, where A is a positive-definite symmetric matrix and x and y are vectors. I looked in Acton and learned that a PD symmetric matrix could be factored by Cholesky decomposition, which he explained, and the equations solved that way. So I wrote a function to do Cholesky decomposition, and called it as part of solving my equations.

I would not do that now. I would look for a free linear algebra library, skim the relevant part of the doco (by far the most difficult step), then call the appropriate library function. For instance, I might use x=scipy.linalg.solve(A, y, assume_a='pos'). Now, it is still important to understand how the library functions do their jobs. But the availability of large, well-written and documented libraries completely changes software development.

So, five stars for this work of faded glory!

Amazon review

Goodreads review
 

Comments

Popular posts from this blog

★☆☆☆☆ Biography by a cultist who knows no physics

Wizard: The Life And Times Of Nikola Tesla Marc J. Seifer If you take part in Internet discussions that sometimes stray onto science, you have probably run into Tesla cultists. These are people who believe that Nikola Tesla was the greatest genius and greatest scientist of all time. I've always been puzzled by this, as looking at short-form biographies such as can be found in encyclopedias, Tesla didn't accomplish all that much. Oh, yeah, clearly he was a genius and a brilliant inventor and played a big role in radio and in making our current power grid practical. But he wasn't much of a scientist. (The cultists, among whom I count  Marc J. Seifer , fail to perceive the distinction between "inventor" and "scientist".) He never accepted the early 20th century physics revolution. He thought relativity was wrong, and as far as I can tell had nothing to say about quantum mechanics. So, I read this biography to better understand where all the Tesla worship co...

★★★★☆ Mihi meets Jack and the Giant

Mihi Ever After: A Giant Problem Tae Keller A Giant Problem  is the second book in  Tae Keller 's  Mihi Ever After  series. As you know if you've read  Mihi Ever After , there is a portal to a fairy tale world called the Rainbow Realm hidden in Mihi's school library refrigerator. Mihi stumbled into it with Savannah and Reese, with whom she is now fast friends. They resolved never to go back there, or even to talk about it. But it transpires that all three of them have been dreaming of the Rainbow Realm. (What could be less surprising, right?) Then Mihi kind of by-accident-on-purpose tells her old frenemy Genevieve, not expecting Genevieve to believe. But Mihi, Savannah, and Reese find Genevieve's backpack abandoned on the floor by the fridge. The Rainbow Realm is a dangerous place, and Genevieve is not prepared. Mihi, Savannah, and Reese decide they must rescue her. When they get to the Rainbow Realm they discover that there is trouble there -- a giant beanstalk...

★★★★☆ A story for Laundry insiders

A Conventional Boy Charles Stross A Conventional Boy  is a novella set in  Charles Stross 's  LaundryVerse . The  Laundry Files  is my all-time favorite Science Fiction series. My opinion of the  Laundry Files  is not universally shared. They're targeted at a particular subculture, a subculture of which I am a charter member. To wit: I have degrees in Biochemistry and Mathematics, have been programming computers since I was knee-high to a grasshopper*, and was at one time an enthusiastic player of  Text-based computer games . Humanities-oriented fans of F&SF tend to find the  Laundry Files  daunting. A Conventional Boy  is the story of Derek Reilly, who readers of the  Laundry Files  met (under the name Derek Blacker, and also the handle the DM = the Dungeon Master) in  The Labyrinth Index . "Derek ... has spent his entire adult life in prison for playing Dungeons and Dragons. It's not his fault: it was 1984, the ...

★★★☆☆ Writing to the test

The Annihilation Score Charles Stross, Elle Newlands (Narrator) One of  Charles Stross 's goals when he wrote  The Annihilation Score , novel 6 in the  Laundry Files , was to pass the  Bechdel Test . The Bechdel test (/ˈbɛkdəl/ BEK-dəl),[1] also known as the Bechdel-Wallace test, is a test to measure the representation of women in film and other fiction. The test asks whether a work features at least two female characters who have a conversation about something other than a man. In some iterations, the requirement that the two female characters be named characters is added. On  his blog   Stross  scores  The Annihilation Score  as follows Pass (solid) Dominique O'Brien, Mhari Murphy, and Ramona Random form a superhero team and fight crime: their supervillain enemy is another woman; explicitly references the Bechdel Test in the very first chapter. (I wrote it while feeling self-conscious about the hard fail in Palimpsest.) Those of us who have...

★★★★☆ We return to the world of the Others

Lake Silence Anne Bishop Lake Silence  continues  Anne Bishop 's series  The Others , except it doesn't quite.  The Others  consists of five novels about blood prophet Meg Corbyn and the city of Lakeside, which is located where, on Earth, Buffalo, New York is. Lakeside and Meg, however, are on Namid, a world that is geographically much like Earth, but ruled mostly by beings that call themselves  terra indigene , who regard humans as prey. In  The Others  a group of profoundly stupid and badly informed humans take on the Others (as they call the  terra indigene ) and are very nearly wiped out. A few humans survive by learning to live with the  terra indigene . The story of Meg finished, we now move on to a different part of Namid and other humans. Three such novels constitute the successor series the  World of the Others . We don't actually move very far.  Lake Silence  takes place on the shores of Lake Silence, one of the ...

★★★★★ Fred Cassidy is just the right kind of weird

Doorways in the Sand Roger Zelazny I'm not sure when I read this for the first time. It would have been not long after I discovered  Roger Zelazny  and was reading everything of his that I could find. It was published in 1976, so I'm guessing I read it that year. What I like about  Doorways in the Sand  is the hero Fred Cassidy. When the story begins, Fred is a student at some unspecified university. (For some reason I believed the first time I read it that it was Harvard, but I can't say why.) His uncle (who, we eventually learn, is  not quite dead yet ), left Fred an income that would support him for as long as he was in university. Fred has thus made it his mission never to graduate. (Perpetual studenthood appeals to me -- I literally graduated from university in 2020 at the age of 64.) We first meet him in a conversation with his academic advisor, who believes he has trapped Fred into having fulfilled the requirements for a degree and therefore can forcibly ...

★★★★★ Logic and multiple worlds

Anathem Neal Stephenson ** spoiler alert **  I read  Anathem  eleven years ago (23-Nov-2011). Actually, I believe I listened to the audiobook during my daily workouts over the course of some weeks. It's a long book -- 1010 pages in kindle. Fellow  Neal Stephenson  fans will recognize this as nothing out of the ordinary for  Stephenson . He is an author who writes  long  books, partly because he is always ready on the slightest provocation (or really, none at all) to leap into a 20-page treatise on orbital mechanics ( Seveneves ) or the genetics of North American feral pigs ( Termination Shock ). Those of us who love  Stephenson  recognize this as part of the experience and enjoy it. I would have thought the audience for this was small, but his books sell well and he's harvested a not insignificant number of major awards. The premise of  Anathem  is that we live in a quantum multiverse. (This proposition may be true, for certain...

★★★★☆ Starring Miss Judson

Myrtle, Means, and Opportunity Elizabeth C. Bunce At the end of  Elizabeth C. Bunce 's  In Myrtle Peril  Myrtle (snooping in his desk) discovered hints that her father, Arthur Hardcastle, had secret plans that involved jewelry and boarding schools. In book 5,  Myrtle, Means, and Opportunity , we find out almost immediately what those plans were. You've probably already figured it out.  Yes, Myrtle's father is finally going to ask Miss Judson to be his wife. The real action, however, kicks off when Miss Judson receives a thick letter telling her that she has inherited an estate in Scotland from a great-uncle she has never even heard of. Well, you know Miss Judson, so you know that she immediately decides to go there herself, to see this estate and decide what to do about it. She takes Myrtle along, of course, and (this was a bit of a surprise) also Cook. Arthur Hardcastle, having obligations, is not immediately free to accompany them. The estate is located on the...

★★★★☆ Emily Wilde is terrifying

Emily Wilde's Compendium of Lost Tales Heather Fawcett Everyone seems to think that  Heather Fawcett 's  Emily Wilde  novels are a Cozy Fantasy series. I don't see it. I'm not saying you're wrong, if you think that. No one but you can tell you how you feel, and if Emily gives you a cozy feeling, then she just does, and there is no more to be said about it. But I just don't see it. In  Emily Wilde's Encyclopaedia of Faeries  Emily tortures a child, then defeats a terrifying fairy king in part by chopping off her own finger with an axe. In  Emily Wilde’s Map of the Otherlands  she infiltrates a fairy kingdom and gets rid of the ruler by poisoning her. She has a familiar called Shadow who is a monstrous Black Hound. I'm not going to tell you what she does in  Emily Wilde's Compendium of Lost Tales , except to say that she doesn't dial it back. She terrifies even her romantic interest Wendell. He is not afraid she will harm him, but that she will, by...

★★★☆☆ What a difference a few inches make...

Fed Mira Grant **Spoilers for  Feed  follow ** (Also spoilers for  Deadline  and  Blackout , but I will protect those in spoiler tags.   Fed  is an alternative ending for  Feed .  It is available free from Orbit books as a PDF download.  At 53 pages it's either a long short story or a very short novella. When I reviewed  Feed , I wrote, "The book ends well".  Feed  ended with Shaun Mason putting a bullet in the brain of the love of his life, his sister Georgia Mason, because she had become a zombie. (That's the big spoiler for  Feed  I promised above.) I thought this was a splendid ending. Tragic, yes, Gruesome, yes, but  Feed  is, after all, a zombie novel. I added the remark, "While I say, 'The book ends well,' I'm pretty sure that many readers are going to be unhappy with the ending." That was certainly true. For instance, one Amazon reviewer, following in the long tradition of people inventing ar...