Uses of Class
org.apache.sis.math.Vector
Packages that use Vector
Package
Description
A coverage backed by a regular grid.
A set of helper classes for the SIS implementation.
Centralizes usages ERSI geometry API by Apache SIS.
Centralizes usages of some (not all) Java2D geometry API by Apache SIS.
Methods specific to the Java Topology Suite (JTS).
A set of helper classes for the SIS implementation.
DataStore
implementation for Coma Separated Values (CSV) files.Utility classes for the implementation of SIS storage classes.
Well Known Text (WKT) parsing and formatting.
A set of mathematical objects and algebraic utilities.
Helper classes for creating Math Transforms from a set of points.
Maps GeoTIFF tags to ISO metadata and read raster data as coverages.
-
Uses of Vector in org.apache.sis.coverage.grid
Methods in org.apache.sis.coverage.grid with parameters of type Vector -
Uses of Vector in org.apache.sis.internal.feature
Fields in org.apache.sis.internal.feature declared as VectorModifier and TypeFieldDescriptionprivate final Vector
InstantList.times
The times in milliseconds since the epoch.Fields in org.apache.sis.internal.feature with type parameters of type VectorModifier and TypeFieldDescriptionprivate final Map<Vector,
InstantList> MovingFeatures.cache
Caches of list of times or instants, used for sharing existing instances.Methods in org.apache.sis.internal.feature that return VectorModifier and TypeMethodDescription(package private) static Vector
InstantList.vectorize
(long[] millis) Creates a vector for the given times.Methods in org.apache.sis.internal.feature with parameters of type VectorModifier and TypeMethodDescriptionabstract G
Geometries.createPolyline
(boolean polygon, int dimension, Vector... coordinates) Creates a path, polyline or polygon from the given coordinate values.static void
MovingFeatures.setTimes
(AbstractAttribute<?> dest, Vector values, DefaultTemporalCRS converter) Sets the "datetimes" characteristic on the given attribute.Constructors in org.apache.sis.internal.feature with parameters of type VectorModifierConstructorDescription(package private)
InstantList
(Vector times) Creates a new list for the given times. -
Uses of Vector in org.apache.sis.internal.feature.esri
Methods in org.apache.sis.internal.feature.esri with parameters of type VectorModifier and TypeMethodDescriptioncom.esri.core.geometry.Geometry
Factory.createPolyline
(boolean polygon, int dimension, Vector... coordinates) Creates a polyline from the given coordinate values. -
Uses of Vector in org.apache.sis.internal.feature.j2d
Methods in org.apache.sis.internal.feature.j2d with parameters of type VectorModifier and TypeMethodDescriptionFactory.createPolyline
(boolean polygon, int dimension, Vector... coordinates) Creates a path from the given coordinate values. -
Uses of Vector in org.apache.sis.internal.feature.jts
Methods in org.apache.sis.internal.feature.jts with parameters of type VectorModifier and TypeMethodDescriptionorg.locationtech.jts.geom.Geometry
Factory.createPolyline
(boolean polygon, int dimension, Vector... coordinates) Creates a polyline from the given coordinate values. -
Uses of Vector in org.apache.sis.internal.referencing
Methods in org.apache.sis.internal.referencing with parameters of type VectorModifier and TypeMethodDescriptionstatic int[]
WKTUtilities.suggestFractionDigits
(Vector[] rows) Suggests an amount of fraction digits to use for formatting numbers in each column of the given matrix.static int[]
WKTUtilities.suggestFractionDigits
(org.opengis.referencing.crs.CoordinateReferenceSystem crs, Vector[] points) Suggests an amount of fraction digits to use for formatting numbers in each column of the given sequence of points. -
Uses of Vector in org.apache.sis.internal.storage.csv
Methods in org.apache.sis.internal.storage.csv with parameters of type Vector -
Uses of Vector in org.apache.sis.internal.storage.io
Methods in org.apache.sis.internal.storage.io with parameters of type VectorModifier and TypeMethodDescriptionstatic ByteWriter
Creates a new writer for copying bytes from the given source vector to the given target array. -
Uses of Vector in org.apache.sis.io.wkt
Methods in org.apache.sis.io.wkt with parameters of type Vector -
Uses of Vector in org.apache.sis.math
Subclasses of Vector in org.apache.sis.mathModifier and TypeClassDescription(package private) class
ArrayVector<E extends Number>
A vector backed by an array of a primitive type.private static final class
A vector backed by an array of typeString[]
.private static class
A vector backed by an array of typebyte[]
.(package private) static final class
A vector backed by an array of typefloat[]
to be converted todouble
in a way that minimizes the errors when represented in base 10.(package private) static final class
A vector backed by an array of typedouble[]
.private static class
A vector backed by an array of typefloat[]
.private static class
A vector backed by an array of typeint[]
.private static class
A vector backed by an array of typelong[]
.private static final class
A vector backed by an array of typeNumber[]
.private static class
A vector backed by an array of typeshort[]
.private static final class
A vector backed by an array of typebyte[]
to be interpreted as unsigned values.private static final class
A vector backed by an array of typeint[]
to be interpreted as unsigned values.private static final class
A vector backed by an array of typelong[]
to be interpreted as unsigned values.private static final class
A vector backed by an array of typeshort[]
to be interpreted as unsigned values.(package private) final class
A vector which is the concatenation of two other vectors.(package private) final class
A vector derived from another vector by application of a scale factor and an offset.(package private) final class
A vector of integer values backed by anIntegerList
.(package private) final class
A vector whose values are the repetitions of the values given in a base vector.(package private) class
A vector which is a sequence of increasing or decreasing values.(package private) static class
A vector which is a sequence of increasing or decreasingdouble
values.(package private) static final class
A vector which is a sequence of increasing or decreasingfloat
values.(package private) static final class
A vector which is a sequence of increasing or decreasinglong
values.private final class
A view over another vector at pre-selected indexes.private final class
A view over another vector in a range of index.Fields in org.apache.sis.math declared as VectorModifier and TypeFieldDescriptionprivate final Vector
LinearlyDerivedVector.base
The vector on which this vector is derived from.private final Vector
RepeatedVector.base
The vector on which this vector is derived from.private final Vector[]
CompoundDirectPositions.coordinates
The arrays of coordinate values, for example (x[], y[], z[]).private final Vector
ConcatenatedVector.first
The vectors to concatenate.private final Vector
ConcatenatedVector.second
The vectors to concatenate.Methods in org.apache.sis.math that return VectorModifier and TypeMethodDescription(package private) final Vector
RepeatedVector.backingVector()
Informspick(int...)
that this vector is backed by another vector.(package private) Vector
Vector.backingVector()
If this vector is a view over a subset of another vector, returns the backing vector.(package private) Vector
Vector.Pick.backingVector()
Returns the backing vector.(package private) Vector
Vector.SubSampling.backingVector()
Returns the backing vector.(package private) static Vector
Returns a vector with the same data than the given vector but encoded in a more compact way, ornull
if this method cannot do better than the givenVector
instance.(package private) static Vector
Returns a vector with the same data than the given vector but encoded in a more compact way, ornull
if this method cannot do better than the givenVector
instance.RepeatedVector.compress
(double tolerance) Returnsthis
since this vector is considered already compressed.final Vector
SequenceVector.compress
(double tolerance) Returnsthis
since Apache SIS cannot create a more compact vector than thisSequenceVector
.Vector.compress
(double tolerance) Returns a vector with the same data than this vector but encoded in a more compact way, orthis
if this method cannot do better than currentVector
instance.Vector.Pick.compress
(double tolerance) If the vector cannot be compressed, copies data in a new vector in order to have a smaller vector than the one backing this view.Vector.SubSampling.compress
(double tolerance) If the vector cannot be compressed, copies data in a new vector in order to have a smaller vector than the one backing this view.Vector.concatenate
(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) final Vector
Vector.copy()
Returns a copy of this vector.static Vector
Vector.create
(double[] array) Wraps the given array of floating point values.static Vector
Wraps the given object in a vector.(package private) Vector
ConcatenatedVector.createConcatenate
(Vector toAppend) Delegates to the backing vectors since there is a chance that they override theirconcatenate
method with a more efficient implementation.(package private) final Vector
LinearlyDerivedVector.createConcatenate
(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) Vector
Vector.createConcatenate
(Vector toAppend) Implementation ofconcatenate(Vector)
after argument has been validated.(package private) Vector
Vector.Pick.createConcatenate
(Vector toAppend) Concatenates the indexes if possible.(package private) Vector
Vector.SubSampling.createConcatenate
(Vector toAppend) Delegates to the enclosing vector if possible.static Vector
Vector.createForDecimal
(float[] array) Wraps the givenfloat[]
array in a vector that preserve the string representations in base 10.(package private) static Vector
Vector.createSequence
(Class<? extends Number> type, Number first, Number increment, int length) Creates a sequence of the given type.static Vector
Vector.createSequence
(Number first, Number increment, int length) Creates a sequence of numbers in a given range of values using the given increment.(package private) Vector
ConcatenatedVector.createSubSampling
(int first, int step, int length) Delegates to the backing vectors if possible.(package private) Vector
RepeatedVector.createSubSampling
(int first, int step, int length) Implementation ofsubSampling(int,int,int)
.(package private) Vector
SequenceVector.Doubles.createSubSampling
(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) Vector
SequenceVector.Floats.createSubSampling
(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) Vector
SequenceVector.Longs.createSubSampling
(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) Vector
Vector.createSubSampling
(int first, int step, int length) Implementation ofsubSampling(int,int,int)
to be overridden by subclasses.(package private) Vector
Vector.Pick.createSubSampling
(int first, int step, int length) Delegates to the enclosing vector.(package private) Vector
Vector.SubSampling.createSubSampling
(int first, int step, int length) Delegates to the enclosing vector.(package private) Vector
ConcatenatedVector.createTransform
(double scale, double offset) Delegates to the backing vectors since there is a chance that they override theirtransform
method with a more efficient implementation.(package private) final Vector
LinearlyDerivedVector.createTransform
(double s, double t) Concatenates the given transformation with the current transform.(package private) final Vector
SequenceVector.createTransform
(double scale, double offset) Transforms the sequence.(package private) Vector
Vector.createTransform
(double scale, double offset) Implementation ofcreateTransform(double, double)
after arguments have been validated.(package private) Vector
Vector.Pick.createTransform
(double scale, double offset) Delegates to the enclosing vector.(package private) Vector
Vector.SubSampling.createTransform
(double scale, double offset) Delegates to the enclosing vector.(package private) static Vector
ArrayVector.newInstance
(Object array, boolean isUnsigned) Creates a new instance.LinearlyDerivedVector.pick
(int... indices) Returns a view which contains the values of this vector at the given indexes.Vector.pick
(int... indices) Returns a view which contains the values of this vector at the given indexes.RepeatedVector.repeat
(boolean eachValue, int count) Returns a vector whose value is the content of this vector repeated count times.Vector.repeat
(boolean eachValue, int count) Returns a vector whose value is the content of this vector repeated count times.final Vector
Vector.reverse()
Returns a view which contains the values of this vector in reverse order.final Vector
Vector.subList
(int lower, int upper) Returns a view which contain the values of this vector in the given index range.LinearlyDerivedVector.subSampling
(int first, int step, int length) Returns a view which contain the values of this vector in a given index range.Vector.subSampling
(int first, int step, int length) Returns a view which contain the values of this vector in a given index range.Vector.transform
(double scale, double offset) Returns a view of this vector with all values transformed by the given linear equation.Methods in org.apache.sis.math with parameters of type VectorModifier and TypeMethodDescription(package private) static Vector
Returns a vector with the same data than the given vector but encoded in a more compact way, ornull
if this method cannot do better than the givenVector
instance.(package private) static Vector
Returns a vector with the same data than the given vector but encoded in a more compact way, ornull
if this method cannot do better than the givenVector
instance.(package private) static PackedVector
Creates a new compressed vector initialized to a copy of the data provided by the given vector.Vector.concatenate
(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) double
Plane.Fit.correlation
(int nx, int length, Vector vz, Iterator<? extends org.opengis.geometry.DirectPosition> points) Computes an estimation of the Pearson correlation coefficient.(package private) Vector
ConcatenatedVector.createConcatenate
(Vector toAppend) Delegates to the backing vectors since there is a chance that they override theirconcatenate
method with a more efficient implementation.(package private) final Vector
LinearlyDerivedVector.createConcatenate
(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) Vector
Vector.createConcatenate
(Vector toAppend) Implementation ofconcatenate(Vector)
after argument has been validated.(package private) Vector
Vector.Pick.createConcatenate
(Vector toAppend) Concatenates the indexes if possible.(package private) Vector
Vector.SubSampling.createConcatenate
(Vector toAppend) Delegates to the enclosing vector if possible.(package private) final boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) final boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) final boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) final boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) final boolean
Returns whether this vector in the given range is equal to the specified vector.(package private) boolean
Optimization ofequals
method for the case where the other object is anotherLinearlyDerivedVector
using the same linear relationship.(package private) boolean
Returnstrue
if this vector in the given range is equal to the specified vector.double
Given a set of data points x[0 … n-1], y[0 … n-1], fits them to a straight line y = slope⋅x + y₀ in a least-squares senses.double
Computes the plane's coefficients from values distributed on a regular grid.double
Computes the plane's coefficients from the given coordinate values.Constructors in org.apache.sis.math with parameters of type VectorModifierConstructorDescription(package private)
CompoundDirectPositions
(Vector... coordinates) Wraps the given array of coordinate values.ConcatenatedVector
(Vector first, Vector second) Creates a concatenated vector.(package private)
Computes the values of allsum_*
fields from the z values on a regular grid.(package private)
LinearlyDerivedVector
(Vector base, double scale, double offset) Creates a new vector of derived data.private
PackedVector
(Vector source, long increment, long offset, int delta) Creates a new compressed vector initialized to a copy of the data provided by the given vector.(package private)
RepeatedVector
(Vector base, int[] repetitions, double tolerance) Creates a vector of repeated data from the result of a call torepetitions(int...)
.(package private)
RepeatedVector
(Vector base, int occurrences, int cycleLength, int size) Creates a new vector of repeated data. -
Uses of Vector in org.apache.sis.referencing.operation.builder
Methods in org.apache.sis.referencing.operation.builder that return VectorModifier and TypeMethodDescriptionLocalizationGridBuilder.getColumn
(int dimension, int column) Returns a column of coordinate values in the given dimension.LocalizationGridBuilder.getRow
(int dimension, int row) Returns a row of coordinate values in the given dimension.(package private) final Vector
LinearTransformBuilder.getTransect
(int dimension, int[] start, int direction) Returns the coordinates of a single row or column in the given dimension.(package private) final Vector[]
LinearTransformBuilder.sources()
Returns the vector of source coordinates.private Vector
LinearTransformBuilder.vector
(double[] data) Wraps the given array in a vector of lengthLinearTransformBuilder.numPoints
.Methods in org.apache.sis.referencing.operation.builder with parameters of type VectorModifier and TypeMethodDescriptionprivate static int
LocalizationGridBuilder.infer
(Vector source, org.opengis.referencing.operation.Matrix fromGrid, int dim) Infers a grid size by searching for the greatest common divisor (GCD) for values in the given vector.(package private) final void
LinearTransformBuilder.setControlPoints
(Vector[] coordinates) Sets all control points.void
LocalizationGridBuilder.setControlPoints
(Vector... coordinates) Sets all control points.Constructors in org.apache.sis.referencing.operation.builder with parameters of type VectorModifierConstructorDescriptionLocalizationGridBuilder
(Vector sourceX, Vector sourceY) Creates a new, initially empty, builder for a localization grid of a size inferred from the given points. -
Uses of Vector in org.apache.sis.storage.geotiff
Fields in org.apache.sis.storage.geotiff declared as VectorModifier and TypeFieldDescriptionprivate Vector
ImageFileDirectory.colorMap
A color map for palette color images (ImageFileDirectory.photometricInterpretation
= 3).private Vector
ImageFileDirectory.extraSamples
Specifies that each pixel hasextraSamples.size()
extra components whose interpretation is defined by one of the values listed below.GeoKeysLoader.keyDirectory
References theGeoKeys
needed for building the Coordinate Reference System.private Vector
ImageFileDirectory.maxValues
The minimum or maximum sample value found in the image, with one value per band.private Vector
ImageFileDirectory.minValues
The minimum or maximum sample value found in the image, with one value per band.GridGeometryBuilder.modelTiePoints
Raster model tie points.GeoKeysLoader.numericParameters
The numeric values referenced by theGeoKeysLoader.keyDirectory
.private final Vector
DataSubset.tileByteCounts
For each tile, the number of (compressed) bytes in that tile.private Vector
ImageFileDirectory.tileByteCounts
For each tile, the number of (compressed) bytes in that tile.private final Vector
DataSubset.tileOffsets
For each tile, the byte offset of that tile as compressed and stored on disk.private Vector
ImageFileDirectory.tileOffsets
For each tile, the byte offset of that tile, as compressed and stored on disk.Methods in org.apache.sis.storage.geotiff that return VectorModifier and TypeMethodDescriptionprivate static Vector
Computes the minimal or maximal values of the given vector.(package private) abstract Vector[]
DataCube.getTileArrayInfo()
Gets the stream position and the length in bytes of compressed tile arrays in the GeoTIFF file.(package private) Vector[]
ImageFileDirectory.getTileArrayInfo()
Gets the stream position or the length in bytes of compressed tile arrays in the GeoTIFF file.final Vector
Type.readVector
(ChannelDataInput input, long count) Reads an arbitrary number of values as a wrapper around a Java array of primitive type.Methods in org.apache.sis.storage.geotiff with parameters of type VectorModifier and TypeMethodDescription(package private) final void
DataSubset.Tile.copyTileInfo
(Vector source, long[] target, int[] includedBanks, int numTiles) CopiesDataSubset.tileOffsets
orDataSubset.tileByteCounts
values into the given target array.private static Vector
Computes the minimal or maximal values of the given vector.private static org.opengis.referencing.operation.MathTransform
Localization.localizationGrid
(Vector modelTiePoints, Map<org.opengis.geometry.Envelope, org.opengis.referencing.operation.MathTransform> addTo) Builds a localization grid from the given GeoTIFF tie points.(package private) static org.opengis.referencing.operation.MathTransform
Creates a new localization grid from the information found byImageFileDirectory
.void
GridGeometryBuilder.setGridToCRS
(Vector terms, int size) Sets theGridGeometryBuilder.affine
transform from a complete matrix.void
GridGeometryBuilder.setScaleFactors
(Vector terms) Sets only the scale terms of theGridGeometryBuilder.affine
transform.private static double
Finds the value at which the increment in localization grid seems to change.Constructors in org.apache.sis.storage.geotiff with parameters of type VectorModifierConstructorDescription(package private)
Tile
(TiledGridCoverage.AOI domain, Vector tileOffsets, int[] includedBanks, int numTiles) Stores information about a tile to be loaded.