[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Assembly: DataTypesAndTools (in DataTypesAndTools.dll) Version: 1.3.4679.19814 (1.3.0.0)
Berechnet eine Ergebnismatrix, welche die halbe Kantenlänge von der Quellmatrix besitzt.
Namespace: DynamicNode.Types.BaseAssembly: DataTypesAndTools (in DataTypesAndTools.dll) Version: 1.3.4679.19814 (1.3.0.0)
Syntax
C# |
---|
public static Matrix<ushort> ScaleDownBy2( Matrix<ushort> source ) |
Visual Basic |
---|
Public Shared Function ScaleDownBy2 ( _ source As Matrix(Of UShort) _ ) As Matrix(Of UShort) |
F# |
---|
static member ScaleDownBy2 : source:Matrix<uint16> -> Matrix<uint16> |
Parameters
- source
- Type: DynamicNode.Types.Base..::..Matrix<(Of <(<'UInt16>)>)>
Die Quellmatrix.
Return Value
Die Ergebnismatrix.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Wird geworfen, wenn für sourcenull übergeben wird. |
System..::..ArgumentException | Wird geworfen, wenn die Kantenlänge von source kleiner als 2 ist. |