Function to calculate the number of columns (variables) in a pattern
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kohonen_pattern) | :: | current_pattern |
A |
An integer with the number of columns (variables) in a pattern
function kohonen_pattern_ncol(current_pattern) result(nc) !======================================================================================== !! Function to calculate the number of columns (variables) in a pattern class(kohonen_pattern) :: current_pattern !! A `kohonen_pattern` object integer :: nc !! An integer with the number of columns (variables) in a pattern nc=current_pattern%pattern%get_ncol(); ! end function kohonen_pattern_ncol