You should. You are using an intellectual property of other(s) for your software. That is basic integrity.
People I know who wrote statistical packages for different programming languages also acknowledged the authors of books, papers and official documents, which they used for producing the code, in the documentation of the packages.