Function to calculate the number of rows (samples) in a pattern
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kohonen_pattern) | :: | current_pattern |
A |
An integer with the number of rows (samples) in a pattern
function kohonen_pattern_nrow(current_pattern) result(nr) !======================================================================================== !! Function to calculate the number of rows (samples) in a pattern class(kohonen_pattern) :: current_pattern !! A `kohonen_pattern` object integer :: nr !! An integer with the number of rows (samples) in a pattern nr=current_pattern%pattern%get_nrow(); ! end function kohonen_pattern_nrow