| igraph Reference Manual |
|---|
int igraph_arpack_storage_init(igraph_arpack_storage_t *s, long int maxn, long int maxncv, long int maxldv, igraph_bool_t symm);
You only need this function if you want to run multiple eigenvalue
calculations using ARPACK, and want to spare the memory
allocation/deallocation between each two runs. Otherwise it is safe
to supply a null pointer as the storage argument of both igraph_arpack_rssolve() and igraph_arpack_rnsolve() to make
memory allocated and deallocated automatically.
Don't forget to call the igraph_arpack_storage_destroy() function on the storage object if
you don't need it any more.
Arguments:
|
The |
|
The maximum order of the matrices. |
|
The maximum NCV parameter intended to use. |
|
The maximum LDV parameter intended to use. |
|
Whether symmetric or non-symmetric problems will be
solved using this |
Returns:
Error code. |
Time complexity: O(maxncv*(maxldv+maxn)).
<< 2.4. igraph_arpack_options_init — Initialize ARPACK options |
2.6. igraph_arpack_storage_destroy — Deallocate ARPACK storage >> |