SParamToolsSubsetAndChangePortAssignmentT(SParamDataT, Int32, Boolean) Method
Subsets and Changes Port Assignment of a N-Port
Namespace: Metas.Vna.DataAssembly: Metas.Vna.Data (in Metas.Vna.Data.dll) Version: 2.8.9053.20259
public static SParamData<T> SubsetAndChangePortAssignment<T>(
SParamData<T> a,
int[] ports,
bool sort = true
)
where T : new(), Object, IRealNumber<T>
Public Shared Function SubsetAndChangePortAssignment(Of T As {New, Object, IRealNumber(Of T)}) (
a As SParamData(Of T),
ports As Integer(),
Optional sort As Boolean = true
) As SParamData(Of T)
public:
generic<typename T>
where T : gcnew(), Object, IRealNumber<T>
static SParamData<T>^ SubsetAndChangePortAssignment(
SParamData<T>^ a,
array<int>^ ports,
bool sort = true
)
static member SubsetAndChangePortAssignment :
a : SParamData<'T> *
ports : int[] *
?sort : bool
(* Defaults:
let _sort = defaultArg sort true
*)
-> SParamData<'T> when 'T : new() and Object and IRealNumber<'T>
- a SParamDataT
- N-Port S-Parameter Data
- ports Int32
- New Port Assignment (-1: exclude)
- sort Boolean (Optional)
- Sort the new ports in the following order: port number, port mode (s, d, c)
- T
- Real Number Type
SParamDataTSubset S-Parameter Data