类的使用
org.meteoinfo.ndarray.Range
-
使用Range的程序包 程序包 说明 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. -
-
org.meteoinfo.bak中Range的使用
类型变量类型为Range的org.meteoinfo.bak中的方法参数 修饰符和类型 方法 说明 static java.util.List<java.lang.Double>ArrayMath. cumsum(Array a, java.util.List<Range> ranges)Compute cumulative sum value of an arraystatic doubleArrayMath. max(Array a, java.util.List<Range> ranges)Compute maximum value of an arraystatic doubleArrayMath. mean(Array a, java.util.List<Range> ranges)Compute mean value of an arraystatic doubleArrayMath. median(Array a, java.util.List<Range> ranges)Compute median value of an arraystatic doubleArrayMath. min(Array a, java.util.List<Range> ranges)Compute minimum value of an arraystatic ArrayArrayMath. section(Array a, java.util.List<Range> ranges)Section arraystatic ArrayArrayMath. setSection(Array a, java.util.List<Range> ranges, java.lang.Number v)Set sectionstatic ArrayArrayMath. setSection(Array a, java.util.List<Range> ranges, Array v)Set sectionstatic doubleArrayMath. std(Array a, java.util.List<Range> ranges)Compute standard deviation value of an arraystatic doubleArrayMath. sum(Array a, java.util.List<Range> ranges)Compute sum value of an arraystatic doubleArrayMath. trapz(Array y, double dx, java.util.List<Range> ranges)Integrate vector array using the composite trapezoidal rule.static doubleArrayMath. trapz(Array y, Array x, java.util.List<Range> ranges)Integrate vector array using the composite trapezoidal rule.static doubleArrayMath. var(Array a, java.util.List<Range> ranges)Compute variance value of an array -
org.meteoinfo.data.dataframe中Range的使用
参数类型为Range的org.meteoinfo.data.dataframe中的方法 修饰符和类型 方法 说明 SeriesSeries. getValues(Range range)Get valuesjava.lang.ObjectDataFrame. select(int row, Range colRange)Select by row and column rangesjava.lang.ObjectDataFrame. select(java.util.List<java.lang.Integer> rowRange, Range colRange)Select by row and column rangesjava.lang.ObjectDataFrame. select(java.util.List rowKeys, java.util.List<java.lang.Integer> rowRange, Range colRange)Select by row and column rangesjava.lang.ObjectDataFrame. select(Range rowRange, java.util.List<java.lang.Integer> colRange)Select by row and column rangesjava.lang.ObjectDataFrame. select(Range rowRange, Range colRange)Select by row and column rangesvoidDataFrame. setValues(int row, Range colRange, java.lang.Number value)Set values by row and column rangesvoidDataFrame. setValues(int row, Range colRange, Array value)Set values by row and column ranges -
org.meteoinfo.data.meteodata中Range的使用
类型变量类型为Range的org.meteoinfo.data.meteodata中的方法参数 修饰符和类型 方法 说明 ArrayMeteoDataInfo. read(java.lang.String varName, java.util.List<Range> ranges)Read array data from a variable -
org.meteoinfo.math中Range的使用
类型变量类型为Range的org.meteoinfo.math中的方法参数 修饰符和类型 方法 说明 static java.util.List<java.lang.Double>ArrayMath. cumsum(Array a, java.util.List<Range> ranges)Compute cumulative sum value of an arraystatic doubleArrayMath. max(Array a, java.util.List<Range> ranges)Compute maximum value of an arraystatic doubleArrayMath. mean(Array a, java.util.List<Range> ranges)Compute mean value of an arraystatic doubleArrayMath. median(Array a, java.util.List<Range> ranges)Compute median value of an arraystatic doubleArrayMath. min(Array a, java.util.List<Range> ranges)Compute minimum value of an arraystatic ArrayArrayMath. section(Array a, java.util.List<Range> ranges)Section arraystatic ArrayArrayMath. setSection(Array a, java.util.List<Range> ranges, java.lang.Number v)Set sectionstatic ArrayArrayMath. setSection(Array a, java.util.List<Range> ranges, java.lang.Object v)Set sectionstatic ArrayArrayMath. setSection(Array a, java.util.List<Range> ranges, Array v)Set sectionstatic doubleArrayMath. std(Array a, java.util.List<Range> ranges)Compute standard deviation value of an arraystatic doubleArrayMath. sum(Array a, java.util.List<Range> ranges)Compute sum value of an arraystatic doubleArrayMath. trapz(Array y, double dx, java.util.List<Range> ranges)Integrate vector array using the composite trapezoidal rule.static doubleArrayMath. trapz(Array y, Array x, java.util.List<Range> ranges)Integrate vector array using the composite trapezoidal rule.static doubleArrayMath. var(Array a, java.util.List<Range> ranges)Compute variance value of an array -
org.meteoinfo.ndarray中Range的使用
声明为Range的org.meteoinfo.ndarray中的字段 修饰符和类型 字段 说明 static RangeRange. EMPTYstatic RangeRange. ONEstatic RangeRange. VLEN返回Range的org.meteoinfo.ndarray中的方法 修饰符和类型 方法 说明 RangeRange. compact()Create a new Range by compacting this Range by removing the stride.RangeRange. compose(Range r)Create a new Range by composing a Range that is reletive to this Range.RangeSection. find(java.lang.String rangeName)Find a Range by its name.RangeSection. getRange(int i)Get the ith RangeRangeRange. intersect(Range r)Create a new Range by intersecting with a Range using same interval as this Range.RangeRange. shiftOrigin(int origin)Create a new Range shifting this range by a constant factor.static Range[]Range. toArray(java.util.List ranges)已过时。use Section.getRanges()RangeRange. union(Range r)Create a new Range by making the union with a Range using same interval as this Range.返回变量类型为Range的类型的org.meteoinfo.ndarray中的方法 修饰符和类型 方法 说明 java.util.List<Range>Section. getRanges()Get the list of Ranges.参数类型为Range的org.meteoinfo.ndarray中的方法 修饰符和类型 方法 说明 SectionSection. appendRange(Range r)Append a Range to the SectionRangeRange. compose(Range r)Create a new Range by composing a Range that is reletive to this Range.DimensionDimension. extract(Range range)Extract dimensionSectionSection. insertRange(int index, Range r)Insert a range at the specified index in the list.RangeRange. intersect(Range r)Create a new Range by intersecting with a Range using same interval as this Range.booleanRange. intersects(Range r)Determine if a given Range intersects this one.booleanRange. past(Range want)If this range is completely past the wanted rangeSectionSection. replaceRange(int index, Range r)Replace a range at the specified index in the list.SectionSection. setRange(int index, Range r)Set the range at the specified index in the list, previous Range is discardedstatic java.util.ListRange. toList(Range[] ranges)已过时。use Section.getRanges()RangeRange. union(Range r)Create a new Range by making the union with a Range using same interval as this Range.类型变量类型为Range的org.meteoinfo.ndarray中的方法参数 修饰符和类型 方法 说明 IndexIteratorArray. getRangeIterator(java.util.List<Range> ranges)Get an index iterator for traversing a section of the array in canonical order.ArrayArray. section(java.util.List<Range> ranges)Create a new Array as a subsection of this Array, with rank reduction.ArrayArray. sectionNoReduce(java.util.List<Range> ranges)Create a new Array as a subsection of this Array, without rank reduction.ArrayArrayStructureBak. sectionNoReduce(java.util.List<Range> ranges)参数类型为Range的org.meteoinfo.ndarray中的构造器 构造器 说明 Range(java.lang.String name, Range r)Copy Constructor with nameRange(Range r)Copy ConstructorSection(Range... ranges)Create Section from a variable length list of Ranges类型变量类型为Range的org.meteoinfo.ndarray中的构造器参数 构造器 说明 Section(java.util.List<Range> from)Create Section from a List. Section(java.util.List<Range> from, int[] shape)Create Section from a List.
-