kmath
0.3.1-dev-RC
common
kmath-histograms
/
space.kscience.kmath.histogram
/
Bin1D
Bin1D
@
UnstableKMathAPI
data
class
Bin1D
<
T
:
Comparable
<
T
>
,
out
V
>
(
val
domain
:
Domain1D
<
T
>
,
val
binValue
:
V
)
:
Bin
<
T
,
V
>
,
ClosedRange
<
T
>
(
source
)
A univariate bin based on a range
Members
Members & Extensions
Constructors
Bin1D
Link copied to clipboard
constructor
(
domain
:
Domain1D
<
T
>
,
binValue
:
V
)
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
value
:
T
)
:
Boolean
open
operator override
fun
contains
(
point
:
Buffer
<
T
>
)
:
Boolean
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
Properties
bin
Value
Link copied to clipboard
open
override
val
binValue
:
V
The value of histogram including weighting
center
Link copied to clipboard
val
Bin1D
<
Double
,
*
>
.
center
:
Double
dimension
Link copied to clipboard
open
override
val
dimension
:
Int
domain
Link copied to clipboard
val
domain
:
Domain1D
<
T
>
end
Inclusive
Link copied to clipboard
open
override
val
endInclusive
:
T
start
Link copied to clipboard
open
override
val
start
:
T