UnconstrainedNonlinearModel.CopyVariableValuesTo Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Copies variable values to an array.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Protected Sub CopyVariableValuesTo ( _
x As Double(), _
defaultValue As Double _
)
protected void CopyVariableValuesTo(
double[] x,
double defaultValue
)
protected:
void CopyVariableValuesTo(
array<double>^ x,
double defaultValue
)
member CopyVariableValuesTo :
x:float[] *
defaultValue:float -> unit
protected function CopyVariableValuesTo(
x : double[],
defaultValue : double
)
Parameters
- x
Type: array<System.Double[]
An array of Double.
- defaultValue
Type: System.Double
The default value to be substituted for non-finite values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.