NonlinearModel.SparseMatrix.GetActiveVariables Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the active variables in a row.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetActiveVariables ( _
rowVid As Integer _
) As IEnumerable(Of Integer)
public IEnumerable<int> GetActiveVariables(
int rowVid
)
public:
IEnumerable<int>^ GetActiveVariables(
int rowVid
)
member GetActiveVariables :
rowVid:int -> IEnumerable<int>
public function GetActiveVariables(
rowVid : int
) : IEnumerable<int>
Parameters
- rowVid
Type: System.Int32
The row index.
Return Value
Type: System.Collections.Generic.IEnumerable<Int32>
An enumeration of the active variables in rowVid.
Exceptions
Exception | Condition |
---|---|
ArgumentException | rowVid is not a valid row index. |
.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.