[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using global constants within a package
From: |
Damian Nadales |
Subject: |
Using global constants within a package |
Date: |
Fri, 15 Nov 2013 08:43:47 +0100 |
Hello,
I am writting an Octave package, and in several functions I need to
use a 3x3 constant matrix to perform some calculations. My question is
what is the best way of defining this constant.
The best option I can come up with till now is to define a private
function that returns the constant. But this may require some
unnecessary copy operations.
Thanks in advance,
Damian.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Using global constants within a package,
Damian Nadales <=