Set to zero all but a specific set of terms of a map.
Namespace: TPSAAssembly: TPSA (in TPSA.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public TPSAMaps FilterKeep(
ref int[][] terms
) |
| Visual Basic |
|---|
Public Function FilterKeep ( _
ByRef terms As Integer()() _
) As TPSAMaps |
| Visual C++ |
|---|
public:
TPSAMaps^ FilterKeep(
array<array<int>^>^% terms
) |
Parameters
- terms
- Type: array<array<System..::..Int32>[]()[][]>[]()[][]%
A jagged array of indices of terms not to be set to zero.
For v variables, each of the v arrays of indices is appled to the corresponding TPSA object of the map.
Return Value
The filtered map.
Remarks
Exceptions
| Exception | Condition |
|---|
| [ApplicationException] | The number of arguments in any of the points is not equal to the number of variables in the algebra. |
See Also