Tabnine Logo
Matrix2.getElements
Code IndexAdd Tabnine to your IDE (free)

How to use
getElements
method
in
org.apache.sis.referencing.operation.matrix.Matrix2

Best Java code snippets using org.apache.sis.referencing.operation.matrix.Matrix2.getElements (Showing top 3 results out of 315)

origin: org.apache.sis.core/sis-referencing

/**
 * Returns all matrix elements in a flat, row-major (column indices vary fastest) array.
 * The array length is 4.
 *
 * @return {@inheritDoc}
 */
@Override
public final double[] getElements() {
  final double[] elements = new double[SIZE*SIZE];
  getElements(elements);
  return elements;
}
origin: apache/sis

/**
 * Returns all matrix elements in a flat, row-major (column indices vary fastest) array.
 * The array length is 4.
 *
 * @return {@inheritDoc}
 */
@Override
public final double[] getElements() {
  final double[] elements = new double[SIZE*SIZE];
  getElements(elements);
  return elements;
}
origin: apache/sis

/**
 * Tests the {@link Matrix2#Matrix2(double, double, double, double)} constructor.
 * This constructor is specific to the implementation class.
 */
@Test
public void testConstructor() {
  initialize(-8453835559080304420L);
  final double[] elements = createRandomPositiveValues(SIZE * SIZE);
  final Matrix2 matrix = new Matrix2(
      elements[0],
      elements[1],
      elements[2],
      elements[3]);
  validate(matrix);
  assertArrayEquals(elements, matrix.getElements(), STRICT);
}
org.apache.sis.referencing.operation.matrixMatrix2getElements

Javadoc

Returns all matrix elements in a flat, row-major (column indices vary fastest) array. The array length is 4.

Popular methods of Matrix2

  • <init>
    Creates a new matrix initialized to the specified values. The length of the given array must be 4 an
  • ensureLengthMatch
  • ensureSizeMatch
  • indexOutOfBounds
  • setElements
    Sets all matrix elements from a flat, row-major (column indices vary fastest) array. The array lengt

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JList (javax.swing)
  • JPanel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now