ContentsIndexHome
PreviousUpNext
IScalarData Interface

Represents a scalar value in the AIMMS model. This can be an actual scalar parameter/variable or an IDataView with dimension zero. 

Scalar objects can be created using openScalar on the ISession.

C#
public interface IScalarData : IData;
Name 
Description 
The following tables list the members exposed by IScalarData. 
Public Methods
 
Name 
Description 
 
Applies to element valued scalars: creates an IElement to hold a value.  
 
Sets the scalar data to the specified value. 
 
Name 
Description 
 
Returns / sets the value.
Applies to double valued scalars only.  
 
Returns / sets the value.
Applies to element scalars only.  
 
Int 
Returns / sets the value.
Applies to double and integer scalars, and to element valued scalars of which the range is a subset of Integers.  
 
Returns / sets the value.
Applies to string scalars, and to element valued scalars of which the range is not a subset of Integers.