InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.4k stars 661 forks source link

Add `Array2D(numberOfRows, numberOfCols, initialValue)` constructor #4495

Closed N-Dekker closed 5 months ago

N-Dekker commented 5 months ago

Added a Array2D(numberOfRows, numberOfCols, initialValue) constructor, which just calls the corresponding vnl_matrix constructor. Added a few use cases, which aim to simplify resetting ScheduleType objects.

Updated the documentation of Array2D.