17.01.2015 Views

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

Using Excel, Visual Basic and NAG's Numerical Libraries – getting ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How to call a simple function<br />

• S17AEF (s17aec) – calculates the value of Bessel<br />

function J_0(x);<br />

• Note:<br />

<br />

<br />

<br />

<br />

Declaration statements in VB (C types, no types for<br />

Fortran)<br />

Calling straight from the spreadsheet<br />

Calling through a wrapper function<br />

Error h<strong>and</strong>ling<br />

8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!