| 程序包 | 说明 |
|---|---|
| org.meteoinfo.bak | |
| org.meteoinfo.data.dataframe | |
| org.meteoinfo.data.meteodata | |
| org.meteoinfo.math | |
| org.meteoinfo.ndarray |
Multidimensional arrays of primitives and objects with data stored in memory.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static List<Double> |
ArrayMath.cumsum(Array a,
List<Range> ranges) |
Compute cumulative sum value of an array
|
static double |
ArrayMath.max(Array a,
List<Range> ranges) |
Compute maximum value of an array
|
static double |
ArrayMath.mean(Array a,
List<Range> ranges) |
Compute mean value of an array
|
static double |
ArrayMath.median(Array a,
List<Range> ranges) |
Compute median value of an array
|
static double |
ArrayMath.min(Array a,
List<Range> ranges) |
Compute minimum value of an array
|
static Array |
ArrayMath.section(Array a,
List<Range> ranges) |
Section array
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Number v) |
Set section
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Array v) |
Set section
|
static double |
ArrayMath.std(Array a,
List<Range> ranges) |
Compute standard deviation value of an array
|
static double |
ArrayMath.sum(Array a,
List<Range> ranges) |
Compute sum value of an array
|
static double |
ArrayMath.trapz(Array y,
double dx,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
Array x,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.var(Array a,
List<Range> ranges) |
Compute variance value of an array
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Series |
Series.getValues(Range range) |
Get values
|
Object |
DataFrame.select(int row,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(List<Integer> rowRange,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(List rowKeys,
List<Integer> rowRange,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(Range rowRange,
List<Integer> colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(Range rowRange,
Range colRange) |
Select by row and column ranges
|
void |
DataFrame.setValues(int row,
Range colRange,
Number value) |
Set values by row and column ranges
|
void |
DataFrame.setValues(int row,
Range colRange,
Array value) |
Set values by row and column ranges
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Array |
MeteoDataInfo.read(String varName,
List<Range> ranges) |
Read array data from a variable
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static List<Double> |
ArrayMath.cumsum(Array a,
List<Range> ranges) |
Compute cumulative sum value of an array
|
static double |
ArrayMath.max(Array a,
List<Range> ranges) |
Compute maximum value of an array
|
static double |
ArrayMath.mean(Array a,
List<Range> ranges) |
Compute mean value of an array
|
static double |
ArrayMath.median(Array a,
List<Range> ranges) |
Compute median value of an array
|
static double |
ArrayMath.min(Array a,
List<Range> ranges) |
Compute minimum value of an array
|
static Array |
ArrayMath.section(Array a,
List<Range> ranges) |
Section array
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Number v) |
Set section
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Array v) |
Set section
|
static double |
ArrayMath.std(Array a,
List<Range> ranges) |
Compute standard deviation value of an array
|
static double |
ArrayMath.sum(Array a,
List<Range> ranges) |
Compute sum value of an array
|
static double |
ArrayMath.trapz(Array y,
double dx,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
Array x,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.var(Array a,
List<Range> ranges) |
Compute variance value of an array
|
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Range |
Range.EMPTY |
|
static Range |
Range.ONE |
|
static Range |
Range.VLEN |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Range |
Range.compact() |
Create a new Range by compacting this Range by removing the stride.
|
Range |
Range.compose(Range r) |
Create a new Range by composing a Range that is reletive to this Range.
|
Range |
Section.find(String rangeName) |
Find a Range by its name.
|
Range |
Section.getRange(int i) |
Get the ith Range
|
Range |
Range.intersect(Range r) |
Create a new Range by intersecting with a Range using same interval as this Range.
|
Range |
Range.shiftOrigin(int origin) |
Create a new Range shifting this range by a constant factor.
|
static Range[] |
Range.toArray(List ranges) |
已过时。
use Section.getRanges()
|
Range |
Range.union(Range r) |
Create a new Range by making the union with a Range using same interval as this Range.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
List<Range> |
Section.getRanges() |
Get the list of Ranges.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Section |
Section.appendRange(Range r) |
Append a Range to the Section
|
Range |
Range.compose(Range r) |
Create a new Range by composing a Range that is reletive to this Range.
|
Dimension |
Dimension.extract(Range range) |
Extract dimension
|
Section |
Section.insertRange(int index,
Range r) |
Insert a range at the specified index in the list.
|
Range |
Range.intersect(Range r) |
Create a new Range by intersecting with a Range using same interval as this Range.
|
boolean |
Range.intersects(Range r) |
Determine if a given Range intersects this one.
|
boolean |
Range.past(Range want) |
If this range is completely past the wanted range
|
Section |
Section.replaceRange(int index,
Range r) |
Replace a range at the specified index in the list.
|
Section |
Section.setRange(int index,
Range r) |
Set the range at the specified index in the list, previous Range is discarded
|
static List |
Range.toList(Range[] ranges) |
已过时。
use Section.getRanges()
|
Range |
Range.union(Range r) |
Create a new Range by making the union with a Range using same interval as this Range.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
IndexIterator |
Array.getRangeIterator(List<Range> ranges) |
Get an index iterator for traversing a section of the array in canonical
order.
|
Array |
Array.section(List<Range> ranges) |
Create a new Array as a subsection of this Array, with rank reduction.
|
Array |
Array.sectionNoReduce(List<Range> ranges) |
Create a new Array as a subsection of this Array, without rank reduction.
|
Array |
ArrayStructureBak.sectionNoReduce(List<Range> ranges) |
| 构造器 | 说明 |
|---|---|
Range(String name,
Range r) |
Copy Constructor with name
|
Range(Range r) |
Copy Constructor
|
Section(Range... ranges) |
Create Section from a variable length list of Ranges
|
| 构造器 | 说明 |
|---|---|
Section(List<Range> from) |
Create Section from a List
|
Section(List<Range> from,
int[] shape) |
Create Section from a List
|
Copyright © 2019. All rights reserved.