Namespace: DotNumerics.Optimization.LBFGSBAssembly: 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
)
Public Sub Run (
N As Integer,
ByRef T As Double(),
offset_t As Integer,
ByRef IORDER As Integer(),
offset_iorder As Integer,
IHEAP As Integer
)
Request Example
View SourceParameters
- 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