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
    Modifier and Type
    Method
    Description
    void
    ImageRenderer.setData(Vector... data)
    Sets the data as vectors.
  • Uses of Vector in org.apache.sis.internal.feature

    Modifier and Type
    Field
    Description
    private final Vector
    InstantList.times
    The times in milliseconds since the epoch.
    Fields in org.apache.sis.internal.feature with type parameters of type Vector
    Modifier and Type
    Field
    Description
    private final Map<Vector,InstantList>
    MovingFeatures.cache
    Caches of list of times or instants, used for sharing existing instances.
    Modifier and Type
    Method
    Description
    (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 Vector
    Modifier and Type
    Method
    Description
    abstract 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 Vector
    Modifier
    Constructor
    Description
    (package private)
    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 Vector
    Modifier and Type
    Method
    Description
    com.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 Vector
    Modifier and Type
    Method
    Description
    Factory.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 Vector
    Modifier and Type
    Method
    Description
    org.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 Vector
    Modifier and Type
    Method
    Description
    static 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
    Modifier and Type
    Method
    Description
    private static boolean
    MovingFeatureBuilder.equals(Vector previous, Vector next, int dimension)
    Returns true if the last coordinate of the previous vector is equal to the first coordinate of the next vector.
  • Uses of Vector in org.apache.sis.internal.storage.io

    Methods in org.apache.sis.internal.storage.io with parameters of type Vector
    Modifier and Type
    Method
    Description
    static ByteWriter
    ByteWriter.create(Vector source, byte[] target)
    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
    Modifier and Type
    Method
    Description
    void
    Formatter.append(Vector[] rows, int... fractionDigits)
    Appends rows of numbers.
  • Uses of Vector in org.apache.sis.math

    Subclasses of Vector in org.apache.sis.math
    Modifier and Type
    Class
    Description
    (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 type String[].
    private static class 
    A vector backed by an array of type byte[].
    (package private) static final class 
    A vector backed by an array of type float[] to be converted to double in a way that minimizes the errors when represented in base 10.
    (package private) static final class 
    A vector backed by an array of type double[].
    private static class 
    A vector backed by an array of type float[].
    private static class 
    A vector backed by an array of type int[].
    private static class 
    A vector backed by an array of type long[].
    private static final class 
    A vector backed by an array of type Number[].
    private static class 
    A vector backed by an array of type short[].
    private static final class 
    A vector backed by an array of type byte[] to be interpreted as unsigned values.
    private static final class 
    A vector backed by an array of type int[] to be interpreted as unsigned values.
    private static final class 
    A vector backed by an array of type long[] to be interpreted as unsigned values.
    private static final class 
    A vector backed by an array of type short[] 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 an IntegerList.
    (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 decreasing double values.
    (package private) static final class 
    A vector which is a sequence of increasing or decreasing float values.
    (package private) static final class 
    A vector which is a sequence of increasing or decreasing long 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 Vector
    Modifier and Type
    Field
    Description
    private 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 Vector
    Modifier and Type
    Method
    Description
    (package private) final Vector
    RepeatedVector.backingVector()
    Informs pick(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
    ArrayVector.compress(Vector source, double tolerance)
    Returns a vector with the same data than the given vector but encoded in a more compact way, or null if this method cannot do better than the given Vector instance.
    (package private) static Vector
    ArrayVector.compress(Vector source, long min, long max)
    Returns a vector with the same data than the given vector but encoded in a more compact way, or null if this method cannot do better than the given Vector instance.
    RepeatedVector.compress(double tolerance)
    Returns this since this vector is considered already compressed.
    final Vector
    SequenceVector.compress(double tolerance)
    Returns this since Apache SIS cannot create a more compact vector than this SequenceVector.
    Vector.compress(double tolerance)
    Returns a vector with the same data than this vector but encoded in a more compact way, or this if this method cannot do better than current Vector 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
    Vector.create(Object array, boolean isUnsigned)
    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 their concatenate 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 of concatenate(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 given float[] 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 of subSampling(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 of subSampling(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 their transform 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 of createTransform(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 Vector
    Modifier and Type
    Method
    Description
    (package private) static Vector
    ArrayVector.compress(Vector source, double tolerance)
    Returns a vector with the same data than the given vector but encoded in a more compact way, or null if this method cannot do better than the given Vector instance.
    (package private) static Vector
    ArrayVector.compress(Vector source, long min, long max)
    Returns a vector with the same data than the given vector but encoded in a more compact way, or null if this method cannot do better than the given Vector instance.
    (package private) static PackedVector
    PackedVector.compress(Vector source, long min, long max)
    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 their concatenate 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 of concatenate(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
    ArrayVector.Bytes.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) boolean
    ArrayVector.Doubles.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) final boolean
    ArrayVector.Floats.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) final boolean
    ArrayVector.Integers.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) final boolean
    ArrayVector.Longs.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) final boolean
    ArrayVector.Shorts.equals(int lower, int upper, Vector other, int otherOffset)
    Returns whether this vector in the given range is equal to the specified vector.
    (package private) boolean
    LinearlyDerivedVector.equals(int lower, int upper, Vector other, int otherOffset)
    Optimization of equals method for the case where the other object is another LinearlyDerivedVector using the same linear relationship.
    (package private) boolean
    Vector.equals(int lower, int upper, Vector other, int otherOffset)
    Returns true if this vector in the given range is equal to the specified vector.
    double
    Line.fit(Vector x, Vector y)
    Given a set of data points x[0 … n-1], y[0 … n-1], fits them to a straight line y = slopex + y₀ in a least-squares senses.
    double
    Plane.fit(int nx, int ny, Vector z)
    Computes the plane's coefficients from values distributed on a regular grid.
    double
    Plane.fit(Vector x, Vector y, Vector z)
    Computes the plane's coefficients from the given coordinate values.
    Constructors in org.apache.sis.math with parameters of type Vector
    Modifier
    Constructor
    Description
    (package private)
    Wraps the given array of coordinate values.
     
    Creates a concatenated vector.
    (package private)
    Fit(int nx, int ny, Vector vz)
    Computes the values of all sum_* 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 to repetitions(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

    Modifier and Type
    Method
    Description
    LocalizationGridBuilder.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 length LinearTransformBuilder.numPoints.
    Methods in org.apache.sis.referencing.operation.builder with parameters of type Vector
    Modifier and Type
    Method
    Description
    private 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 Vector
    Modifier
    Constructor
    Description
     
    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

    Modifier and Type
    Field
    Description
    private Vector
    ImageFileDirectory.colorMap
    A color map for palette color images (ImageFileDirectory.photometricInterpretation = 3).
    private Vector
    ImageFileDirectory.extraSamples
    Specifies that each pixel has extraSamples.size() extra components whose interpretation is defined by one of the values listed below.
    GeoKeysLoader.keyDirectory
    References the GeoKeys 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 the GeoKeysLoader.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 Vector
    Modifier and Type
    Method
    Description
    private static Vector
    ImageFileDirectory.extremum(Vector a, Vector b, boolean max)
    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 Vector
    Modifier and Type
    Method
    Description
    (package private) final void
    DataSubset.Tile.copyTileInfo(Vector source, long[] target, int[] includedBanks, int numTiles)
    Copies DataSubset.tileOffsets or DataSubset.tileByteCounts values into the given target array.
    private static Vector
    ImageFileDirectory.extremum(Vector a, Vector b, boolean max)
    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
    Localization.nonLinear(Vector modelTiePoints)
    Creates a new localization grid from the information found by ImageFileDirectory.
    void
    GridGeometryBuilder.setGridToCRS(Vector terms, int size)
    Sets the GridGeometryBuilder.affine transform from a complete matrix.
    void
    GridGeometryBuilder.setScaleFactors(Vector terms)
    Sets only the scale terms of the GridGeometryBuilder.affine transform.
    private static double
    Localization.threshold(Vector values, Set<Double> uniques)
    Finds the value at which the increment in localization grid seems to change.
    Constructors in org.apache.sis.storage.geotiff with parameters of type Vector
    Modifier
    Constructor
    Description
    (package private)
    Tile(TiledGridCoverage.AOI domain, Vector tileOffsets, int[] includedBanks, int numTiles)
    Stores information about a tile to be loaded.