tmp/tmp9h42uyk1/{from.md → to.md}
RENAMED
|
@@ -62,243 +62,5 @@ specialize a mathematical constant variable template provided that the
|
|
| 62 |
specialization depends on a program-defined type.
|
| 63 |
|
| 64 |
A program that instantiates a primary template of a mathematical
|
| 65 |
constant variable template is ill-formed.
|
| 66 |
|
| 67 |
-
<!-- Link reference definitions -->
|
| 68 |
-
[bad.alloc]: support.md#bad.alloc
|
| 69 |
-
[basic.fundamental]: basic.md#basic.fundamental
|
| 70 |
-
[basic.stc.thread]: basic.md#basic.stc.thread
|
| 71 |
-
[c.math]: #c.math
|
| 72 |
-
[c.math.abs]: #c.math.abs
|
| 73 |
-
[c.math.fpclass]: #c.math.fpclass
|
| 74 |
-
[c.math.hypot3]: #c.math.hypot3
|
| 75 |
-
[c.math.lerp]: #c.math.lerp
|
| 76 |
-
[c.math.rand]: #c.math.rand
|
| 77 |
-
[cfenv]: #cfenv
|
| 78 |
-
[cfenv.syn]: #cfenv.syn
|
| 79 |
-
[cfenv.thread]: #cfenv.thread
|
| 80 |
-
[class.gslice]: #class.gslice
|
| 81 |
-
[class.gslice.overview]: #class.gslice.overview
|
| 82 |
-
[class.slice]: #class.slice
|
| 83 |
-
[class.slice.overview]: #class.slice.overview
|
| 84 |
-
[cmath.syn]: #cmath.syn
|
| 85 |
-
[cmplx.over]: #cmplx.over
|
| 86 |
-
[complex]: #complex
|
| 87 |
-
[complex.literals]: #complex.literals
|
| 88 |
-
[complex.member.ops]: #complex.member.ops
|
| 89 |
-
[complex.members]: #complex.members
|
| 90 |
-
[complex.numbers]: #complex.numbers
|
| 91 |
-
[complex.numbers.general]: #complex.numbers.general
|
| 92 |
-
[complex.ops]: #complex.ops
|
| 93 |
-
[complex.syn]: #complex.syn
|
| 94 |
-
[complex.transcendentals]: #complex.transcendentals
|
| 95 |
-
[complex.value.ops]: #complex.value.ops
|
| 96 |
-
[cons.slice]: #cons.slice
|
| 97 |
-
[conv.prom]: expr.md#conv.prom
|
| 98 |
-
[cpp.pragma]: cpp.md#cpp.pragma
|
| 99 |
-
[cpp17.copyassignable]: #cpp17.copyassignable
|
| 100 |
-
[cpp17.copyconstructible]: #cpp17.copyconstructible
|
| 101 |
-
[cpp17.equalitycomparable]: #cpp17.equalitycomparable
|
| 102 |
-
[dcl.init]: dcl.md#dcl.init
|
| 103 |
-
[gslice.access]: #gslice.access
|
| 104 |
-
[gslice.array.assign]: #gslice.array.assign
|
| 105 |
-
[gslice.array.comp.assign]: #gslice.array.comp.assign
|
| 106 |
-
[gslice.array.fill]: #gslice.array.fill
|
| 107 |
-
[gslice.cons]: #gslice.cons
|
| 108 |
-
[implimits]: limits.md#implimits
|
| 109 |
-
[indirect.array.assign]: #indirect.array.assign
|
| 110 |
-
[indirect.array.comp.assign]: #indirect.array.comp.assign
|
| 111 |
-
[indirect.array.fill]: #indirect.array.fill
|
| 112 |
-
[input.iterators]: iterators.md#input.iterators
|
| 113 |
-
[input.output]: input.md#input.output
|
| 114 |
-
[iostate.flags]: input.md#iostate.flags
|
| 115 |
-
[istream.formatted]: input.md#istream.formatted
|
| 116 |
-
[iterator.concept.contiguous]: iterators.md#iterator.concept.contiguous
|
| 117 |
-
[iterator.requirements.general]: iterators.md#iterator.requirements.general
|
| 118 |
-
[library.c]: library.md#library.c
|
| 119 |
-
[mask.array.assign]: #mask.array.assign
|
| 120 |
-
[mask.array.comp.assign]: #mask.array.comp.assign
|
| 121 |
-
[mask.array.fill]: #mask.array.fill
|
| 122 |
-
[math.constants]: #math.constants
|
| 123 |
-
[namespace.std]: library.md#namespace.std
|
| 124 |
-
[numarray]: #numarray
|
| 125 |
-
[numbers]: #numbers
|
| 126 |
-
[numbers.syn]: #numbers.syn
|
| 127 |
-
[numeric.requirements]: #numeric.requirements
|
| 128 |
-
[numerics]: #numerics
|
| 129 |
-
[numerics.general]: #numerics.general
|
| 130 |
-
[numerics.summary]: #numerics.summary
|
| 131 |
-
[output.iterators]: iterators.md#output.iterators
|
| 132 |
-
[over.match.general]: over.md#over.match.general
|
| 133 |
-
[rand]: #rand
|
| 134 |
-
[rand.adapt]: #rand.adapt
|
| 135 |
-
[rand.adapt.disc]: #rand.adapt.disc
|
| 136 |
-
[rand.adapt.general]: #rand.adapt.general
|
| 137 |
-
[rand.adapt.ibits]: #rand.adapt.ibits
|
| 138 |
-
[rand.adapt.shuf]: #rand.adapt.shuf
|
| 139 |
-
[rand.device]: #rand.device
|
| 140 |
-
[rand.dist]: #rand.dist
|
| 141 |
-
[rand.dist.bern]: #rand.dist.bern
|
| 142 |
-
[rand.dist.bern.bernoulli]: #rand.dist.bern.bernoulli
|
| 143 |
-
[rand.dist.bern.bin]: #rand.dist.bern.bin
|
| 144 |
-
[rand.dist.bern.geo]: #rand.dist.bern.geo
|
| 145 |
-
[rand.dist.bern.negbin]: #rand.dist.bern.negbin
|
| 146 |
-
[rand.dist.general]: #rand.dist.general
|
| 147 |
-
[rand.dist.norm]: #rand.dist.norm
|
| 148 |
-
[rand.dist.norm.cauchy]: #rand.dist.norm.cauchy
|
| 149 |
-
[rand.dist.norm.chisq]: #rand.dist.norm.chisq
|
| 150 |
-
[rand.dist.norm.f]: #rand.dist.norm.f
|
| 151 |
-
[rand.dist.norm.lognormal]: #rand.dist.norm.lognormal
|
| 152 |
-
[rand.dist.norm.normal]: #rand.dist.norm.normal
|
| 153 |
-
[rand.dist.norm.t]: #rand.dist.norm.t
|
| 154 |
-
[rand.dist.pois]: #rand.dist.pois
|
| 155 |
-
[rand.dist.pois.exp]: #rand.dist.pois.exp
|
| 156 |
-
[rand.dist.pois.extreme]: #rand.dist.pois.extreme
|
| 157 |
-
[rand.dist.pois.gamma]: #rand.dist.pois.gamma
|
| 158 |
-
[rand.dist.pois.poisson]: #rand.dist.pois.poisson
|
| 159 |
-
[rand.dist.pois.weibull]: #rand.dist.pois.weibull
|
| 160 |
-
[rand.dist.samp]: #rand.dist.samp
|
| 161 |
-
[rand.dist.samp.discrete]: #rand.dist.samp.discrete
|
| 162 |
-
[rand.dist.samp.pconst]: #rand.dist.samp.pconst
|
| 163 |
-
[rand.dist.samp.plinear]: #rand.dist.samp.plinear
|
| 164 |
-
[rand.dist.uni]: #rand.dist.uni
|
| 165 |
-
[rand.dist.uni.int]: #rand.dist.uni.int
|
| 166 |
-
[rand.dist.uni.real]: #rand.dist.uni.real
|
| 167 |
-
[rand.eng]: #rand.eng
|
| 168 |
-
[rand.eng.general]: #rand.eng.general
|
| 169 |
-
[rand.eng.lcong]: #rand.eng.lcong
|
| 170 |
-
[rand.eng.mers]: #rand.eng.mers
|
| 171 |
-
[rand.eng.sub]: #rand.eng.sub
|
| 172 |
-
[rand.general]: #rand.general
|
| 173 |
-
[rand.predef]: #rand.predef
|
| 174 |
-
[rand.req]: #rand.req
|
| 175 |
-
[rand.req.adapt]: #rand.req.adapt
|
| 176 |
-
[rand.req.dist]: #rand.req.dist
|
| 177 |
-
[rand.req.eng]: #rand.req.eng
|
| 178 |
-
[rand.req.genl]: #rand.req.genl
|
| 179 |
-
[rand.req.seedseq]: #rand.req.seedseq
|
| 180 |
-
[rand.req.urng]: #rand.req.urng
|
| 181 |
-
[rand.synopsis]: #rand.synopsis
|
| 182 |
-
[rand.util]: #rand.util
|
| 183 |
-
[rand.util.canonical]: #rand.util.canonical
|
| 184 |
-
[rand.util.seedseq]: #rand.util.seedseq
|
| 185 |
-
[random.access.iterators]: iterators.md#random.access.iterators
|
| 186 |
-
[res.on.data.races]: library.md#res.on.data.races
|
| 187 |
-
[sf.cmath]: #sf.cmath
|
| 188 |
-
[sf.cmath.assoc.laguerre]: #sf.cmath.assoc.laguerre
|
| 189 |
-
[sf.cmath.assoc.legendre]: #sf.cmath.assoc.legendre
|
| 190 |
-
[sf.cmath.beta]: #sf.cmath.beta
|
| 191 |
-
[sf.cmath.comp.ellint.1]: #sf.cmath.comp.ellint.1
|
| 192 |
-
[sf.cmath.comp.ellint.2]: #sf.cmath.comp.ellint.2
|
| 193 |
-
[sf.cmath.comp.ellint.3]: #sf.cmath.comp.ellint.3
|
| 194 |
-
[sf.cmath.cyl.bessel.i]: #sf.cmath.cyl.bessel.i
|
| 195 |
-
[sf.cmath.cyl.bessel.j]: #sf.cmath.cyl.bessel.j
|
| 196 |
-
[sf.cmath.cyl.bessel.k]: #sf.cmath.cyl.bessel.k
|
| 197 |
-
[sf.cmath.cyl.neumann]: #sf.cmath.cyl.neumann
|
| 198 |
-
[sf.cmath.ellint.1]: #sf.cmath.ellint.1
|
| 199 |
-
[sf.cmath.ellint.2]: #sf.cmath.ellint.2
|
| 200 |
-
[sf.cmath.ellint.3]: #sf.cmath.ellint.3
|
| 201 |
-
[sf.cmath.expint]: #sf.cmath.expint
|
| 202 |
-
[sf.cmath.general]: #sf.cmath.general
|
| 203 |
-
[sf.cmath.hermite]: #sf.cmath.hermite
|
| 204 |
-
[sf.cmath.laguerre]: #sf.cmath.laguerre
|
| 205 |
-
[sf.cmath.legendre]: #sf.cmath.legendre
|
| 206 |
-
[sf.cmath.riemann.zeta]: #sf.cmath.riemann.zeta
|
| 207 |
-
[sf.cmath.sph.bessel]: #sf.cmath.sph.bessel
|
| 208 |
-
[sf.cmath.sph.legendre]: #sf.cmath.sph.legendre
|
| 209 |
-
[sf.cmath.sph.neumann]: #sf.cmath.sph.neumann
|
| 210 |
-
[slice.access]: #slice.access
|
| 211 |
-
[slice.arr.assign]: #slice.arr.assign
|
| 212 |
-
[slice.arr.comp.assign]: #slice.arr.comp.assign
|
| 213 |
-
[slice.arr.fill]: #slice.arr.fill
|
| 214 |
-
[slice.ops]: #slice.ops
|
| 215 |
-
[strings]: strings.md#strings
|
| 216 |
-
[template.gslice.array]: #template.gslice.array
|
| 217 |
-
[template.gslice.array.overview]: #template.gslice.array.overview
|
| 218 |
-
[template.indirect.array]: #template.indirect.array
|
| 219 |
-
[template.indirect.array.overview]: #template.indirect.array.overview
|
| 220 |
-
[template.mask.array]: #template.mask.array
|
| 221 |
-
[template.mask.array.overview]: #template.mask.array.overview
|
| 222 |
-
[template.slice.array]: #template.slice.array
|
| 223 |
-
[template.slice.array.overview]: #template.slice.array.overview
|
| 224 |
-
[template.valarray]: #template.valarray
|
| 225 |
-
[template.valarray.overview]: #template.valarray.overview
|
| 226 |
-
[term.literal.type]: basic.md#term.literal.type
|
| 227 |
-
[thread.jthread.class]: thread.md#thread.jthread.class
|
| 228 |
-
[thread.thread.class]: thread.md#thread.thread.class
|
| 229 |
-
[utility.arg.requirements]: library.md#utility.arg.requirements
|
| 230 |
-
[valarray.access]: #valarray.access
|
| 231 |
-
[valarray.assign]: #valarray.assign
|
| 232 |
-
[valarray.binary]: #valarray.binary
|
| 233 |
-
[valarray.cassign]: #valarray.cassign
|
| 234 |
-
[valarray.comparison]: #valarray.comparison
|
| 235 |
-
[valarray.cons]: #valarray.cons
|
| 236 |
-
[valarray.members]: #valarray.members
|
| 237 |
-
[valarray.nonmembers]: #valarray.nonmembers
|
| 238 |
-
[valarray.range]: #valarray.range
|
| 239 |
-
[valarray.special]: #valarray.special
|
| 240 |
-
[valarray.sub]: #valarray.sub
|
| 241 |
-
[valarray.syn]: #valarray.syn
|
| 242 |
-
[valarray.transcend]: #valarray.transcend
|
| 243 |
-
[valarray.unary]: #valarray.unary
|
| 244 |
-
|
| 245 |
-
[^1]: In other words, value types. These include arithmetic types,
|
| 246 |
-
pointers, the library class `complex`, and instantiations of
|
| 247 |
-
`valarray` for value types.
|
| 248 |
-
|
| 249 |
-
[^2]: This constructor (as well as the subsequent corresponding `seed()`
|
| 250 |
-
function) can be particularly useful to applications requiring a
|
| 251 |
-
large number of independent random sequences.
|
| 252 |
-
|
| 253 |
-
[^3]: The name of this engine refers, in part, to a property of its
|
| 254 |
-
period: For properly-selected values of the parameters, the period
|
| 255 |
-
is closely related to a large Mersenne prime number.
|
| 256 |
-
|
| 257 |
-
[^4]: The parameter is intended to allow an implementation to
|
| 258 |
-
differentiate between different sources of randomness.
|
| 259 |
-
|
| 260 |
-
[^5]: If a device has n states whose respective probabilities are
|
| 261 |
-
P₀, …, Pₙ₋₁, the device entropy S is defined as
|
| 262 |
-
$S = - \sum_{i=0}^{n-1} P_i \cdot \log P_i$.
|
| 263 |
-
|
| 264 |
-
[^6]: b is introduced to avoid any attempt to produce more bits of
|
| 265 |
-
randomness than can be held in `RealType`.
|
| 266 |
-
|
| 267 |
-
[^7]: The distribution corresponding to this probability density
|
| 268 |
-
function is also known (with a possible change of variable) as the
|
| 269 |
-
Gumbel Type I, the log-Weibull, or the Fisher-Tippett Type I
|
| 270 |
-
distribution.
|
| 271 |
-
|
| 272 |
-
[^8]: [[implimits]] recommends a minimum number of recursively nested
|
| 273 |
-
template instantiations. This requirement thus indirectly suggests a
|
| 274 |
-
minimum allowable complexity for valarray expressions.
|
| 275 |
-
|
| 276 |
-
[^9]: The intent is to specify an array template that has the minimum
|
| 277 |
-
functionality necessary to address aliasing ambiguities and the
|
| 278 |
-
proliferation of temporary objects. Thus, the `valarray` template is
|
| 279 |
-
neither a matrix class nor a field class. However, it is a very
|
| 280 |
-
useful building block for designing such classes.
|
| 281 |
-
|
| 282 |
-
[^10]: This default constructor is essential, since arrays of `valarray`
|
| 283 |
-
can be useful. After initialization, the length of an empty array
|
| 284 |
-
can be increased with the `resize` member function.
|
| 285 |
-
|
| 286 |
-
[^11]: This constructor is the preferred method for converting a C array
|
| 287 |
-
to a `valarray` object.
|
| 288 |
-
|
| 289 |
-
[^12]: This copy constructor creates a distinct array rather than an
|
| 290 |
-
alias. Implementations in which arrays share storage are permitted,
|
| 291 |
-
but they would need to implement a copy-on-reference mechanism to
|
| 292 |
-
ensure that arrays are conceptually distinct.
|
| 293 |
-
|
| 294 |
-
[^13]: BLAS stands for *Basic Linear Algebra Subprograms*. C++ programs
|
| 295 |
-
can instantiate this class. See, for example, Dongarra, Du Croz,
|
| 296 |
-
Duff, and Hammerling: *A set of Level 3 Basic Linear Algebra
|
| 297 |
-
Subprograms*; Technical Report MCS-P1-0888, Argonne National
|
| 298 |
-
Laboratory (USA), Mathematics and Computer Science Division, August,
|
| 299 |
-
1988.
|
| 300 |
-
|
| 301 |
-
[^14]: A mathematical function is mathematically defined for a given set
|
| 302 |
-
of argument values (a) if it is explicitly defined for that set of
|
| 303 |
-
argument values, or (b) if its limiting value exists and does not
|
| 304 |
-
depend on the direction of approach.
|
|
|
|
| 62 |
specialization depends on a program-defined type.
|
| 63 |
|
| 64 |
A program that instantiates a primary template of a mathematical
|
| 65 |
constant variable template is ill-formed.
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|