[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Initialisiert eine neue Matrix.

Namespace: DynamicNode.Types.Base
Assembly: DataTypesAndTools (in DataTypesAndTools.dll) Version: 1.3.4679.19814 (1.3.0.0)

Syntax

C#
public Matrix(
	int width,
	int height,
	T defValue
)
Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	defValue As T _
)
F#
new : 
        width:int * 
        height:int * 
        defValue:'T -> Matrix

Parameters

width
Type: System..::..Int32
Die Breite der Matrix.
height
Type: System..::..Int32
Die Höhe der Matrix.
defValue
Type: T
Ein Standardwert, der bei Indexüberschreitungen zurückgegeben wird.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionWird geworfen, wenn für width oder height ein Wert kleiner 0 übergeben wird.

See Also