NumericColumn<T>
DoubleColumn
, FloatColumn
, IntColumn
, LongColumn
, NumberColumn
, ShortColumn
public interface NumberMapFunctions
Modifier and Type | Method | Description |
---|---|---|
default DoubleColumn |
abs() |
Returns a NumberColumn with the absolute value of each value in this column
|
default double |
add(double val1,
double val2) |
|
default DoubleColumn |
add(Number value) |
|
default DoubleColumn |
add(NumericColumn<?> column2) |
|
double[] |
asDoubleArray() |
|
default DoubleColumn |
asPercent() |
Return the elements of this column as the percentages of their value relative to the sum of all
elements
|
default DoubleColumn |
asRatio() |
Return the elements of this column as the ratios of their value and the sum of all elements
|
default DoubleColumn |
bin(int binCount) |
|
default DoubleColumn |
cube() |
|
default DoubleColumn |
cubeRoot() |
|
default DoubleColumn |
cumMax() |
Returns a new column with a cumulative maximum calculated
|
default DoubleColumn |
cumMin() |
Returns a new column with a cumulative maximum calculated
|
default DoubleColumn |
cumProd() |
Returns a new column with a cumulative product calculated
|
default DoubleColumn |
cumSum() |
Returns a new column with a cumulative sum calculated
|
default DoubleColumn |
difference() |
|
default double |
divide(double val1,
double val2) |
|
default DoubleColumn |
divide(Number value) |
|
default DoubleColumn |
divide(NumericColumn<?> column2) |
|
double |
getDouble(int i) |
|
boolean |
isEmpty() |
|
boolean |
isMissing(int rowNumber) |
|
default DoubleColumn |
log10() |
Returns the base 10 log of the values in this column as a NumberColumn.
|
default DoubleColumn |
log1p() |
Returns the natural log of the values in this column, after adding 1 to each so that zero
values don't return -Infinity
|
default DoubleColumn |
logN() |
Returns the natural log of the values in this column as a NumberColumn.
|
default double |
multiply(double val1,
double val2) |
|
default DoubleColumn |
multiply(Number value) |
|
default DoubleColumn |
multiply(NumericColumn<?> column2) |
|
String |
name() |
|
default DoubleColumn |
neg() |
For each item in the column, returns the same number with the sign changed.
|
default DoubleColumn |
normalize() |
Returns a transformation of the data in this column such that the result has a mean of 0, and a
standard deviation of 1
|
default DoubleColumn |
pctChange() |
Returns a new column with a percent change calculated
|
default DoubleColumn |
power(double power) |
Returns a NumberColumn with the exponential power of each value in this column
|
default DoubleColumn |
power(NumericColumn<?> powerColumn) |
|
default DoubleColumn |
reciprocal() |
Returns a NumberColumn with the reciprocal (1/n) for each value n in this column
|
default DoubleColumn |
remainder(double val2) |
|
default DoubleColumn |
remainder(DoubleColumn column2) |
|
default DoubleColumn |
round() |
|
default DoubleColumn |
roundInt() |
Returns the rounded values as a NumberColumn.
|
int |
size() |
|
default DoubleColumn |
sqrt() |
|
default DoubleColumn |
square() |
Returns a NumberColumn with the square of each value in this column
|
default double |
subtract(double val1,
double val2) |
Returns the result of subtracting val2 from val1, after handling missing values
|
default DoubleColumn |
subtract(Number value) |
|
default DoubleColumn |
subtract(NumericColumn<?> column2) |
|
double |
sum() |
default DoubleColumn normalize()
String name()
int size()
boolean isEmpty()
double[] asDoubleArray()
default DoubleColumn asRatio()
double sum()
default DoubleColumn asPercent()
default DoubleColumn subtract(NumericColumn<?> column2)
default DoubleColumn add(NumericColumn<?> column2)
default DoubleColumn multiply(NumericColumn<?> column2)
default DoubleColumn divide(NumericColumn<?> column2)
default DoubleColumn add(Number value)
default DoubleColumn subtract(Number value)
default DoubleColumn divide(Number value)
default DoubleColumn multiply(Number value)
default double add(double val1, double val2)
default double multiply(double val1, double val2)
default double divide(double val1, double val2)
default double subtract(double val1, double val2)
default DoubleColumn power(double power)
default DoubleColumn power(NumericColumn<?> powerColumn)
default DoubleColumn reciprocal()
default DoubleColumn square()
default DoubleColumn sqrt()
default DoubleColumn cubeRoot()
default DoubleColumn cube()
default DoubleColumn remainder(DoubleColumn column2)
default DoubleColumn remainder(double val2)
default DoubleColumn logN()
default DoubleColumn log10()
default DoubleColumn log1p()
default DoubleColumn round()
default DoubleColumn roundInt()
ClassCastException
- if the returned value will not fit in an intdefault DoubleColumn abs()
default DoubleColumn neg()
default DoubleColumn difference()
default DoubleColumn cumSum()
default DoubleColumn cumProd()
default DoubleColumn cumMax()
default DoubleColumn cumMin()
default DoubleColumn pctChange()
default DoubleColumn bin(int binCount)
double getDouble(int i)
boolean isMissing(int rowNumber)
Copyright © 2022. All rights reserved.