O'Reilly logo

GNU Octave by Jesper Schmidt Hansen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Making Your Own Package: A Poisson Equation Solver

In Chapter 1. we learned where to find and how to install Octave packages. Packages are basically a collection of functions (and possibly scripts) that are related to some particular scientific field or programming area. For example, the finance package has functionality that can help you to solve different financial problems and multi-core is a package that provides support for multi-core CPUs.

In this chapter, you will learn how to make your own Octave package. The package will be able to solve the one and two-dimensional Poisson equation. The reason to choose this classical example is that the mathematics is relatively simple, the programming part is not too complicated, and more ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required