Click or drag to resize

HPSOLBRun Method


Namespace: DotNumerics.Optimization.LBFGSB
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Run(
	int N,
	ref double[] T,
	int offset_t,
	ref int[] IORDER,
	int offset_iorder,
	int IHEAP
)
Request Example View Source

Parameters

N  Int32
is an integer variable. On entry n is the dimension of the arrays t and iorder. On exit n is unchanged.
T  Double
is a double precision array of dimension n. On entry t stores the elements to be sorted, On exit t(n) stores the least elements of t, and t(1) to t(n-1) stores the remaining elements in the form of a heap.
offset_t  Int32
 
IORDER  Int32
is an integer array of dimension n. On entry iorder(i) is the index of t(i). On exit iorder(i) is still the index of t(i), but iorder may be permuted in accordance with t.
offset_iorder  Int32
 
IHEAP  Int32
is an integer variable specifying the task. On entry iheap should be set as follows: iheap .eq. 0 if t(1) to t(n) is not in the form of a heap, iheap .ne. 0 if otherwise. On exit iheap is unchanged.
See Also