LinearModel.GetVariableEntryCount Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the number of non-zero coefficients for a given column variable index.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Function GetVariableEntryCount ( _
vid As Integer _
) As Integer
public virtual int GetVariableEntryCount(
int vid
)
public:
virtual int GetVariableEntryCount(
int vid
)
abstract GetVariableEntryCount :
vid:int -> int
override GetVariableEntryCount :
vid:int -> int
public function GetVariableEntryCount(
vid : int
) : int
Parameters
- vid
Type: System.Int32
A variable index.
Return Value
Type: System.Int32
The number of non-zero coefficients for the given column variable index.
Implements
ILinearModel.GetVariableEntryCount(Int32)
.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.