Some small utilities
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | x |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(in) | :: | z |
Improved Kahan-Babuška algorithm accumulation for summations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=qp), | intent(inout) | :: | summation | |||
| real(kind=qp), | intent(inout) | :: | c | |||
| real(kind=qp), | intent(in) | :: | input |
Improved Kahan-Babuška algorithm accumulation for summations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(inout) | :: | summation | |||
| complex(kind=dp), | intent(inout) | :: | c | |||
| complex(kind=dp), | intent(in) | :: | input |
Improved Kahan-Babuška algorithm accumulation for summations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=qp), | intent(inout) | :: | summation | |||
| complex(kind=qp), | intent(inout) | :: | c | |||
| complex(kind=qp), | intent(in) | :: | input |
Send the value of hi to lo, respecting the kind of the types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=qp), | intent(in) | :: | hi | |||
| real(kind=dp), | intent(out) | :: | lo |
Send the value of hi to lo, respecting the kind of the types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=qp), | intent(in) | :: | hi | |||
| complex(kind=dp), | intent(out) | :: | lo |
Send the value of lo to hi, respecting the kind of the types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | lo | |||
| real(kind=qp), | intent(out) | :: | hi |
Send the value of lo to hi, respecting the kind of the types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(in) | :: | lo | |||
| complex(kind=qp), | intent(out) | :: | hi |
Prints a matrix to the supplied funit, otherwise print to stdout
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | M(:,:) | |||
| integer, | intent(in), | optional | :: | funit | ||
| character(len=*), | intent(in), | optional | :: | header |
Prints a matrix to the supplied funit, otherwise print to stdout
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | M(:,:) | |||
| integer, | intent(in), | optional | :: | funit | ||
| character(len=*), | intent(in), | optional | :: | header |
Prints a matrix to the supplied funit, otherwise print to stdout
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(in) | :: | M(:,:) | |||
| integer, | intent(in), | optional | :: | funit | ||
| character(len=*), | intent(in), | optional | :: | header |
Test whether x is in the interval spanned by x1,x2 l/rclosed if true include xl and xr, respectively. They are true by default
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | x | |||
| real(kind=dp), | intent(in) | :: | xl | |||
| real(kind=dp), | intent(in) | :: | xr | |||
| logical, | intent(in), | optional | :: | lclosed | ||
| logical, | intent(in), | optional | :: | rclosed |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | test | |||
| character(len=*), | intent(in) | :: | message |
Reads num_read lines from unit read_unit, not storing any information. If num_read is not supplied, read one line.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | read_unit | |||
| integer, | intent(in), | optional | :: | num_read |