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 VectorInstantList.timesThe 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.cacheCaches 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 VectorInstantList.vectorize(long[] millis) Creates a vector for the given times.Methods in org.apache.sis.internal.feature with parameters of type VectorModifier and TypeMethodDescriptionabstract GGeometries.createPolyline(boolean polygon, int dimension, Vector... coordinates) Creates a path, polyline or polygon from the given coordinate values.static voidMovingFeatures.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.GeometryFactory.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.GeometryFactory.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 ByteWriterCreates 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) classArrayVector<E extends Number>A vector backed by an array of a primitive type.private static final classA vector backed by an array of typeString[].private static classA vector backed by an array of typebyte[].(package private) static final classA vector backed by an array of typefloat[]to be converted todoublein a way that minimizes the errors when represented in base 10.(package private) static final classA vector backed by an array of typedouble[].private static classA vector backed by an array of typefloat[].private static classA vector backed by an array of typeint[].private static classA vector backed by an array of typelong[].private static final classA vector backed by an array of typeNumber[].private static classA vector backed by an array of typeshort[].private static final classA vector backed by an array of typebyte[]to be interpreted as unsigned values.private static final classA vector backed by an array of typeint[]to be interpreted as unsigned values.private static final classA vector backed by an array of typelong[]to be interpreted as unsigned values.private static final classA vector backed by an array of typeshort[]to be interpreted as unsigned values.(package private) final classA vector which is the concatenation of two other vectors.(package private) final classA vector derived from another vector by application of a scale factor and an offset.(package private) final classA vector of integer values backed by anIntegerList.(package private) final classA vector whose values are the repetitions of the values given in a base vector.(package private) classA vector which is a sequence of increasing or decreasing values.(package private) static classA vector which is a sequence of increasing or decreasingdoublevalues.(package private) static final classA vector which is a sequence of increasing or decreasingfloatvalues.(package private) static final classA vector which is a sequence of increasing or decreasinglongvalues.private final classA view over another vector at pre-selected indexes.private final classA view over another vector in a range of index.Fields in org.apache.sis.math declared as VectorModifier and TypeFieldDescriptionprivate final VectorLinearlyDerivedVector.baseThe vector on which this vector is derived from.private final VectorRepeatedVector.baseThe vector on which this vector is derived from.private final Vector[]CompoundDirectPositions.coordinatesThe arrays of coordinate values, for example (x[], y[], z[]).private final VectorConcatenatedVector.firstThe vectors to concatenate.private final VectorConcatenatedVector.secondThe vectors to concatenate.Methods in org.apache.sis.math that return VectorModifier and TypeMethodDescription(package private) final VectorRepeatedVector.backingVector()Informspick(int...)that this vector is backed by another vector.(package private) VectorVector.backingVector()If this vector is a view over a subset of another vector, returns the backing vector.(package private) VectorVector.Pick.backingVector()Returns the backing vector.(package private) VectorVector.SubSampling.backingVector()Returns the backing vector.(package private) static VectorReturns a vector with the same data than the given vector but encoded in a more compact way, ornullif this method cannot do better than the givenVectorinstance.(package private) static VectorReturns a vector with the same data than the given vector but encoded in a more compact way, ornullif this method cannot do better than the givenVectorinstance.RepeatedVector.compress(double tolerance) Returnsthissince this vector is considered already compressed.final VectorSequenceVector.compress(double tolerance) Returnsthissince 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, orthisif this method cannot do better than currentVectorinstance.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 VectorVector.copy()Returns a copy of this vector.static VectorVector.create(double[] array) Wraps the given array of floating point values.static VectorWraps the given object in a vector.(package private) VectorConcatenatedVector.createConcatenate(Vector toAppend) Delegates to the backing vectors since there is a chance that they override theirconcatenatemethod with a more efficient implementation.(package private) final VectorLinearlyDerivedVector.createConcatenate(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) VectorVector.createConcatenate(Vector toAppend) Implementation ofconcatenate(Vector)after argument has been validated.(package private) VectorVector.Pick.createConcatenate(Vector toAppend) Concatenates the indexes if possible.(package private) VectorVector.SubSampling.createConcatenate(Vector toAppend) Delegates to the enclosing vector if possible.static VectorVector.createForDecimal(float[] array) Wraps the givenfloat[]array in a vector that preserve the string representations in base 10.(package private) static VectorVector.createSequence(Class<? extends Number> type, Number first, Number increment, int length) Creates a sequence of the given type.static VectorVector.createSequence(Number first, Number increment, int length) Creates a sequence of numbers in a given range of values using the given increment.(package private) VectorConcatenatedVector.createSubSampling(int first, int step, int length) Delegates to the backing vectors if possible.(package private) VectorRepeatedVector.createSubSampling(int first, int step, int length) Implementation ofsubSampling(int,int,int).(package private) VectorSequenceVector.Doubles.createSubSampling(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) VectorSequenceVector.Floats.createSubSampling(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) VectorSequenceVector.Longs.createSubSampling(int offset, int step, int n) Creates a new sequence for a subrange of this vector.(package private) VectorVector.createSubSampling(int first, int step, int length) Implementation ofsubSampling(int,int,int)to be overridden by subclasses.(package private) VectorVector.Pick.createSubSampling(int first, int step, int length) Delegates to the enclosing vector.(package private) VectorVector.SubSampling.createSubSampling(int first, int step, int length) Delegates to the enclosing vector.(package private) VectorConcatenatedVector.createTransform(double scale, double offset) Delegates to the backing vectors since there is a chance that they override theirtransformmethod with a more efficient implementation.(package private) final VectorLinearlyDerivedVector.createTransform(double s, double t) Concatenates the given transformation with the current transform.(package private) final VectorSequenceVector.createTransform(double scale, double offset) Transforms the sequence.(package private) VectorVector.createTransform(double scale, double offset) Implementation ofcreateTransform(double, double)after arguments have been validated.(package private) VectorVector.Pick.createTransform(double scale, double offset) Delegates to the enclosing vector.(package private) VectorVector.SubSampling.createTransform(double scale, double offset) Delegates to the enclosing vector.(package private) static VectorArrayVector.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 VectorVector.reverse()Returns a view which contains the values of this vector in reverse order.final VectorVector.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 VectorReturns a vector with the same data than the given vector but encoded in a more compact way, ornullif this method cannot do better than the givenVectorinstance.(package private) static VectorReturns a vector with the same data than the given vector but encoded in a more compact way, ornullif this method cannot do better than the givenVectorinstance.(package private) static PackedVectorCreates 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) doublePlane.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) VectorConcatenatedVector.createConcatenate(Vector toAppend) Delegates to the backing vectors since there is a chance that they override theirconcatenatemethod with a more efficient implementation.(package private) final VectorLinearlyDerivedVector.createConcatenate(Vector toAppend) Returns the concatenation of this vector with the given one.(package private) VectorVector.createConcatenate(Vector toAppend) Implementation ofconcatenate(Vector)after argument has been validated.(package private) VectorVector.Pick.createConcatenate(Vector toAppend) Concatenates the indexes if possible.(package private) VectorVector.SubSampling.createConcatenate(Vector toAppend) Delegates to the enclosing vector if possible.(package private) final booleanReturns whether this vector in the given range is equal to the specified vector.(package private) booleanReturns whether this vector in the given range is equal to the specified vector.(package private) final booleanReturns whether this vector in the given range is equal to the specified vector.(package private) final booleanReturns whether this vector in the given range is equal to the specified vector.(package private) final booleanReturns whether this vector in the given range is equal to the specified vector.(package private) final booleanReturns whether this vector in the given range is equal to the specified vector.(package private) booleanOptimization ofequalsmethod for the case where the other object is anotherLinearlyDerivedVectorusing the same linear relationship.(package private) booleanReturnstrueif this vector in the given range is equal to the specified vector.doubleGiven 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.doubleComputes the plane's coefficients from values distributed on a regular grid.doubleComputes 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.privatePackedVector(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 VectorLinearTransformBuilder.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 VectorLinearTransformBuilder.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 intLocalizationGridBuilder.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 voidLinearTransformBuilder.setControlPoints(Vector[] coordinates) Sets all control points.voidLocalizationGridBuilder.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 VectorImageFileDirectory.colorMapA color map for palette color images (ImageFileDirectory.photometricInterpretation= 3).private VectorImageFileDirectory.extraSamplesSpecifies that each pixel hasextraSamples.size()extra components whose interpretation is defined by one of the values listed below.GeoKeysLoader.keyDirectoryReferences theGeoKeysneeded for building the Coordinate Reference System.private VectorImageFileDirectory.maxValuesThe minimum or maximum sample value found in the image, with one value per band.private VectorImageFileDirectory.minValuesThe minimum or maximum sample value found in the image, with one value per band.GridGeometryBuilder.modelTiePointsRaster model tie points.GeoKeysLoader.numericParametersThe numeric values referenced by theGeoKeysLoader.keyDirectory.private final VectorDataSubset.tileByteCountsFor each tile, the number of (compressed) bytes in that tile.private VectorImageFileDirectory.tileByteCountsFor each tile, the number of (compressed) bytes in that tile.private final VectorDataSubset.tileOffsetsFor each tile, the byte offset of that tile as compressed and stored on disk.private VectorImageFileDirectory.tileOffsetsFor 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 VectorComputes 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 VectorType.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 voidDataSubset.Tile.copyTileInfo(Vector source, long[] target, int[] includedBanks, int numTiles) CopiesDataSubset.tileOffsetsorDataSubset.tileByteCountsvalues into the given target array.private static VectorComputes the minimal or maximal values of the given vector.private static org.opengis.referencing.operation.MathTransformLocalization.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.MathTransformCreates a new localization grid from the information found byImageFileDirectory.voidGridGeometryBuilder.setGridToCRS(Vector terms, int size) Sets theGridGeometryBuilder.affinetransform from a complete matrix.voidGridGeometryBuilder.setScaleFactors(Vector terms) Sets only the scale terms of theGridGeometryBuilder.affinetransform.private static doubleFinds 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.