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

★★★☆☆ More a themed collection of stories than a novel

When the Moon Hits Your Eye John Scalzi I found myself disappointed by  John Scalzi 's  When the Moon Hits Your Eye . That's mainly because I was hoping for a novel and didn't quite get one. In his acknowledgments,  Scalzi  summarizes the structure of  Moon ...a book about the moon turning to cheese, have each chapter represent a day in the lunar cycle, each chapter with mostly different characters in mostly different places in the Unites States, reacting to it in ways specific to them alone... Now,  Moon  does in fact have a coherent story with a beginning, a middle, and and end. The problem is that, told as it is, in short day-in-the-life stories with mostly different characters each, it doesn't have the stakes that make a novel really interesting. We don't spend enough time with any of these characters to get to know and care about them. That at least, was how I felt. Instead, it felt to me like a themed short story collection. Some of the stories w...

★★★☆☆ Music with rocks in

Soul Music Terry Pratchett Soul Music  is the 16th novel in  Terry Pratchett 's  Discworld  series, and also the third novel in the  DEATH  subseries.  Discworld  is a long series -- 41 novels, not to mention the inevitable short stories. Any series so long is bound to be a little repetitive at times. Soul Music  seemed to me a kind of rehash of  Moving Pictures , on the one hand, and  Mort  on the other. Death (the  Discworld  character) is always slacking off. He gets tired of being Death and tries to take a vacation. The problem with Death taking a vacation is that he is what, these days, we call an essential worker. If Death takes time off, someone needs to fill in for him. In  Mort  that was Death's new apprentice Mort -- in  Soul Music  it is Susan, the daughter of Mort and Death's adopted daughter Ysabell. Susan is thus Death's granddaughter. The problem with putting a human in Death's job, ...

★★★★☆ A downtrodden hero and troll

Troll Bridge Terry Pratchett Cohen the Barbarian's father told him, he told him, "Son, when you can face down a troll in single combat, then you can do anything." Cohen wants to defeat a troll in single combat before he dies. But the task is beginning to look urgent. First, Cohen is no longer a young hero. As Cohen's horse tells him, "One day you're going to die. It might be today." That's the first problem. The second is that troll bridges are in short supply. As Cohen tells his horse, When did you last see a bridge with a troll under it? There were hundreds of 'em when I was a lad. Now there's more trolls in the cities than there are in the mountains. So, he's found an old stone bridge that still has a troll. The troll's name is Mica. Like Cohen, Mica is himself a relic of the old days. He is still proud to uphold the old trollish tradition of defending a bridge. What's more, he's chuffed at the prospect of being killed by a...

★★★★★ A brilliant mess

Long Live Evil Sarah Rees Brennan The publisher's blurb for  Sarah Rees Brennan 's  Long Live Evil  makes it sound like a funny book about a real-world character who slips into a book and finds herself the villain. And it IS that! There were many laugh-out-loud moments, such as this one Books often described kisses as ‘searing’ which made Rae think of salmon, but characters seemed to enjoy the seared-salmon kisses. or this “You saw this horse born,” Marius reminded ... “I told you his bloodline could find their way anywhere. You named him.” “That was a joke,” ... Marius didn’t see what was humorous. He’d thought it was a nice name. ... “So this is my noble steed, Google Maps?” Rae, our heroine/villainess, is a fantasy book lover, who knows all the plot tropes, not to mention the movies and songs. Plugged into a fantasy novel (à la  Inkworld  or  Thursday Next  -- both are referenced in the Acknowledgments) Rae reacts like the thoroughly modern young wo...

★★★★☆ Rae's triumph

A Darkness at the Door Intisar Khanani ** spoiler alert ** Intisar Khanani  finished book 2 of her  Dauntless Path  series with a cliffhanger. Rae, investigating the snatchers and their slave trade, was betrayed by Prince Garrin. The book ended with Rae being locked into a hidden chamber in a slave slip with half a dozen children bound for slavery. It's a kind of success! It's the tribute evil pays to competence. Rae now knows she's been on the right track all along, and was getting close enough to be dangerous to the slavers. And now she has the best possible opportunity to investigate how the slave trade works from the inside. It was, in fact, a very dangerous step for Garrin to take, although he probably didn't see it so. He's placing a lot of trust in the slaver captain and his other subordinates. That friendless children cannot escape the slavers does not guarantee that someone who's proven herself as competent as Rae has can be safely put away. Besides, Ga...

★★☆☆☆ Misery, Canadian style

The New Oxford Book of Canadian Short Stories Margaret Atwood (Editor), Robert Weaver (Editor) I read  The New Oxford Book of Canadian Short Stories , (eds  Margaret Atwood ,  Robert Weaver ) because it is the textbook for a community college course I've registered for this winter called "Writing Short Stories". This is one of the worst short story collections I have ever read in my life. I noticed early on that it appeared to be the same story over and over again. A man and a woman are trapped in a desperately unhappy marriage. Maybe something happens, or maybe not. It is evident that for  Atwood  and  Weaver  plot is entirely optional. Some of the stories had one, and some did not. There were rare exceptions to the desperately unhappy marriage storyline, in which the characters were miserable for other reasons. You know that feeling of relief as you approach the end of a really bad book? I had that feeling 45 times in rapid succession as I worked my ...

★★★★☆ She was Joan of Arc. She was Athena. She was the Wendy.

The Wendy Erin Michelle Sky, Steven Brown I am a fan of  J.M. Barrie 's  Peter Pan . His dark view of childhood is refreshing, if you have met too many angelic children in literature. Seriously,  J.M. Barrie  uses the word "heartless" eight times to describe children. Off we skip like the most heartless things in the world, which is what children are, but so attractive; and we have an entirely selfish time, and then when we have need of special attention we nobly return for it, confident that we shall be rewarded instead of smacked. (Do your own research!  Here  is the Project Gutenberg full text of  Peter Pan . Do a text search for "heartless.") An even stronger selling point for  The Wendy  was the striking cover --    -- yeah, absolutely I want to read that! Don't judge a book by its cover, they say, but every now and then I do, and I am seldom misled. To be honest,  The Wendy  is not much like  Peter Pan . Wendy D...

★★★★☆ What are these people?

Red Side Story Jasper Fforde When I reviewed   Shades of Grey , the first novel in  Jasper Fforde 's  Shades of Grey  series, I asked Although I referred to Eddie as a young man, it is not clear to me what the people of the Collective are. I think they are more-or-less human. ... However, in some ways they behave like automata. These are puzzles that I hope Jasper Fforde will clear up in subsequent novels in the Shades of Grey series. Now I'm patting myself on the back, because that is indeed what  Red Side Story  is about. Or so say I. You might think it is about other things -- a love story, a fight to survive, a battle for justice, a cycle race -- and you would not be wrong.  Red Side Story  contains multitudes. Shades of Grey  ended in a flurry of revelations about the Collective. Eddie, Jane and Courtland Gamboge visited the abandoned town of High Saffron, where Jane revealed that all the people supposedly sent to Reboot were in fact sen...

★★★★☆ Two seriously messed-up people

Paladin's Grace T Kingfisher Stephen is a seriously messed-up guy. He is, or was, a paladin of the Saint of Steel. He bore within him a soul connection to his god, the Saint of Steel, who would use him to do good. Three years ago Stephen's god died, and since then he has been an empty man. He, and all the paladins of the late Saint of Steel, worry that if they lose control of their passions, they will be taken by "the tide" and run berserk, killing and destroying. This is not idle worry. It has happened, although not recently. Grace is a seriously messed-up woman, though she is arguably less messed up than Stephen. She grew up in an orphanage. She was, for all practical purposes, purchased by a master perfumer, who took advantage of her acute olfactory abilities without apparently feeling any obligation to treat her as a teacher should treat a student. He sold her to another perfumer who, in addition to taking advantage of her abilities, took advantage of her sexually...

★★★★☆ Fictional autobiography of Rome's fourth Emperor

I, Claudius Robert Graves Robert Graves 's  I, Claudius  begins with these words I, Tiberius Claudius Drusus Nero Germanicus this-that-and-the-other (for I shall not trouble you yet with all my titles), who was once, and not so long ago either, known to my friends and relatives and associates as ‘Claudius the Idiot’, or ‘That Claudius’, or ‘Claudius the Stammerer’, or ‘Clau-Clau-Claudius’, or at best as ‘Poor Uncle Claudius’, am now about to write this strange history of my life... It is ostensibly an autobiography written by Claudius himself, covering the years of his life until he suddenly and unexpectedly became Emperor of Rome. (The sequel,  Claudius the God  continues the story into his reign.) Claudius is an intelligent and, given his environment and predecessors, surprisingly decent and humble man. Of course, the reader never forgets that we have only Claudius's own word for who and what he is. But his intelligence is beyond doubt -- a fool could not have writ...