The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
prod
mir
math
numeric
F
prod
(Range r)
F
prod
(Range r, long exp)
prodType
!
Range
prod
(Range r)
prodType
!
Range
prod
(
Range
)
(
Range
r
)
if
(
isIterable
!
Range
)
prodType
!
Range
prod
(Range r, long exp)
prodType
!
T
prod
(T[] ar)
Parameters
r
Range
finite iterable range
Return Value
Type:
prodType
!
Range
The prduct of all the elements in
r
Meta
Source
See Implementation
mir
math
numeric
functions
binomialCoefficient
factorial
prod
sumOfLog2s
sumOfLogs
structs
ProdAccumulator