CModel.Bounds Parameters: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Usage Example == | == Usage Example == | ||
<div style="margin-right: 150px"> | |||
{{APIComment|'Declare a new repository connection class.}} | {{APIComment|'Declare a new repository connection class.}} | ||
Dim MyRepository As New Repository | Dim MyRepository As New Repository | ||
Line 25: | Line 26: | ||
Dim lower as double | Dim lower as double | ||
lower = ModelBoundsParameters.Lower | lower = ModelBoundsParameters.Lower | ||
</div> |
Revision as of 16:49, 15 May 2014
Returns an array containing bounds on all the model parameters. Use the SetConfidenceLevel method to specify the confidence bound settings.
Syntax
- Bounds_Parameters() As List(Of ParamBoundsValues )
Usage Example
'Declare a new repository connection class. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") 'Get the model with the numerical ID 15. Dim AModel as cModel AModel = MyRepository.GetModel(15) 'Get the confidence bounds on the parameters of that model. Dim ModelBoundsParameters() as ParamBoundsValues ModelBoundsParameters = AModel.Bounds_Parameters 'Save the lower bound on the first parameter. Dim lower as double lower = ModelBoundsParameters.Lower