ch.javasoft.smx.ops
Class Hsl
java.lang.Object
ch.javasoft.smx.ops.Hsl
public class Hsl
- extends Object
The Hsl class bridges to the fortran HSL library.
Only some selected functions are supported.
See
http://hsl.rl.ac.uk/hsl2007/distrib/packages/hsl_mc66/hsl_mc66.pdf
username: mterzer
pwd: as usual, for hsl
|
Constructor Summary |
Hsl()
|
|
Method Summary |
static void |
loadLibrary()
Can be called to check whether the HSL shared library (libhsl.so) can
be loaded. |
static Hsl.Result_mc66 |
mc66(int m,
int n,
int nz,
int[] irn,
int[] jcn,
int nblocks,
int seed)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hsl
public Hsl()
loadLibrary
public static void loadLibrary()
- Can be called to check whether the HSL shared library (libhsl.so) can
be loaded. If not, an exception is thrown. Otherwise, this function does
nothing.
mc66
public static Hsl.Result_mc66 mc66(int m,
int n,
int nz,
int[] irn,
int[] jcn,
int nblocks,
int seed)
- Parameters:
m - number of matrix rowsn - number of matrix columsirn - non-zero row indices, must have same length as jcnjcn - non-zero column indices, must have same length as icnnblocks - number of desired blocks