GithubHelp home page GithubHelp logo

xela-trawets / nash-compact-numerical-methods Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pcolsen/nash-compact-numerical-methods

0.0 1.0 0.0 18.95 MB

Python 5.91% Perl 0.33% C 3.11% Fortran 23.58% R 2.20% MATLAB 0.95% Pascal 56.49% Batchfile 2.13% Roff 0.14% BASIC 5.16%

nash-compact-numerical-methods's Introduction

Nash-Compact-Numerical-Methods

This is a project to convert the Pascal routines in John Nash's book "Compact Numerical Methods for Computers: Linear Algebra and Function Minimisation" into Python, as well as to bring up-to-date some of the existing implementations of the algorithms in other programming languages.

Our goal is to provide a good set of modest but usable numerical methods in Python source for people who can't use NumPy or SciPy because there's no libraries for their platform, their platform is too small, or because the work in an environment where binary libraries can't be imported. Note that these algorithms are generally not the ones chosen for mainstream use. Without some effort at tuning, they will be slower and possibly provide less accurate solutions than codes from more extensive libraries. On the other hand, they are relatively short, hopefully easier to follow, and almost certainly more adaptable to new computing environments.

We plan to do this in two stages. First we plan to translate the code from Pascal into Python so that the interfaces conform as closesly as possible the original Pascal so that users can refer to Professor Nash's original text. Second we plan to bring the interfases as close as possible to those of NumPy and SciPy.

Note: The original Pascal code (available as the "pascal" collection on netlib.org) is not ready to use. It was written to run under TurboPascal version 5 running on MS-DOS. A very large proportion of the code is present to allow for the deficiencies of the operating system and to allow for general problems to be solved. In the present collection, we have stripped away all but essential code to illustrate the algorithms, which for Pascal are run under the cross-platform Free Pascal Compiler (https://www.freepascal.org/).

In the process of examining the Pascal code, Professor Nash has started to add Fortran, BASIC and R implementations of some of the algorithms, as well as provide some documentation to explain the choices made in both the algorithms and their particular implementations. We hope this will be instructive for those using the algorithms in new environments. We welcome comments and collaborations.

About the Book

https://books.google.com/books?id=M9hTn3UAheQC&pg=PR5&source=gbs_selected_pages&cad=3#v=onepage&q&f=false

Table of Contents

https://books.google.com/books?id=M9hTn3UAheQC&pg=PR5&source=gbs_selected_pages&cad=3

nash-compact-numerical-methods's People

Contributors

nashjc avatar pcolsen avatar xela-trawets avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.