@@ -32,18 +32,13 @@ Pure function.
32
32
#### Argument(s)
33
33
34
34
` x ` : 1D array of either ` real ` or ` complex ` type. This argument is ` intent(in) ` .
35
+
35
36
` mask ` (optional): 1D array of ` logical ` values. This argument is ` intent(in) ` .
36
37
37
38
#### Output value or Result value
38
39
39
40
The output is a scalar of ` type ` and ` kind ` same as to that of ` x ` .
40
41
41
- #### Example
42
-
43
- ``` fortran
44
- {!example/math/example_intrinsics_sum.f90!}
45
- ```
46
-
47
42
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
48
43
### ` fsum_kahan ` function
49
44
@@ -79,6 +74,7 @@ Pure function.
79
74
#### Argument(s)
80
75
81
76
` x ` : 1D array of either ` real ` or ` complex ` type. This argument is ` intent(in) ` .
77
+
82
78
` mask ` (optional): 1D array of ` logical ` values. This argument is ` intent(in) ` .
83
79
84
80
#### Output value or Result value
@@ -88,7 +84,7 @@ The output is a scalar of `type` and `kind` same as to that of `x`.
88
84
#### Example
89
85
90
86
``` fortran
91
- {!example/math/example_intrinsics_sum .f90!}
87
+ {!example/intrinsics/example_sum .f90!}
92
88
```
93
89
94
90
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
@@ -113,18 +109,13 @@ Pure function.
113
109
#### Argument(s)
114
110
115
111
` x ` : 1D array of either ` real ` or ` complex ` type. This argument is ` intent(in) ` .
112
+
116
113
` y ` : 1D array of the same type and kind as ` x ` . This argument is ` intent(in) ` .
117
114
118
115
#### Output value or Result value
119
116
120
117
The output is a scalar of ` type ` and ` kind ` same as to that of ` x ` and ` y ` .
121
118
122
- #### Example
123
-
124
- ``` fortran
125
- {!example/math/example_intrinsics_dot_duct.f90!}
126
- ```
127
-
128
119
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
129
120
### ` fprod_kahan ` function
130
121
@@ -147,12 +138,13 @@ Pure function.
147
138
#### Argument(s)
148
139
149
140
` x ` : 1D array of either ` real ` or ` complex ` type. This argument is ` intent(in) ` .
141
+
150
142
` y ` : 1D array of the same type and kind as ` x ` . This argument is ` intent(in) ` .
151
143
152
144
#### Output value or Result value
153
145
154
146
The output is a scalar of ` type ` and ` kind ` same as to that of ` x ` and ` y ` .
155
147
156
148
``` fortran
157
- {!example/math/example_intrinsics_dot_duct .f90!}
149
+ {!example/intrinsics/example_dot_product .f90!}
158
150
```
0 commit comments