Contains functions that deal with the mathematical definition of sets. Find the union of two rank 1 arrays with . Find the intersection with . Check if a given x belongs to a set with
Compute the intersection of two sets
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:) | :: | A | set A |
|
integer, | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real32), | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real64), | intent(in), | dimension(:) | :: | B | set B |
Compute the union of two sets
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:) | :: | A | set A |
|
integer, | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real32), | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real64), | intent(in), | dimension(:) | :: | B | set B |
Check if
belongs to if there is at least one element in for which
Check if a value belongs to a set
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | x | |||
integer, | dimension(:) | :: | A |
Check if a value belongs to a set within a certain tolerance . If is not specified, it will automatically calculated using the function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | x | |||
real(kind=real32), | dimension(:) | :: | A | |||
real(kind=real32), | optional | :: | eps |
|
Check if a value belongs to a set within a certain tolerance . If is not specified, it will automatically calculated using the function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x | |||
real(kind=real64), | dimension(:) | :: | A | |||
real(kind=real64), | optional | :: | eps |
|
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:) | :: | A | set A |
|
integer, | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real32), | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real64), | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:) | :: | A | set A |
|
integer, | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real32), | intent(in), | dimension(:) | :: | B | set B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | A | set A |
|
real(kind=real64), | intent(in), | dimension(:) | :: | B | set B |
Check if a value belongs to a set
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | x | |||
integer, | dimension(:) | :: | A |
Check if a value belongs to a set within a certain tolerance . If is not specified, it will automatically calculated using the function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | x | |||
real(kind=real32), | dimension(:) | :: | A | |||
real(kind=real32), | optional | :: | eps |
|
Check if a value belongs to a set within a certain tolerance . If is not specified, it will automatically calculated using the function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x | |||
real(kind=real64), | dimension(:) | :: | A | |||
real(kind=real64), | optional | :: | eps |
|
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in), | dimension(:) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | array |