Lines Matching refs:row
28 * Immutable class for describing a 3x3 matrix of {@link Rational} values in row-major order.
62 * <p>The elements must be stored in a row-major order.</p>
90 * <p>The elements must be stored in a row-major order. Each rational is stored
102 * where {@code Nij} and {@code Dij} is the numerator and denominator for row {@code i} and
126 * Get an element of this matrix by its row and column.
133 * @throws IllegalArgumentException if column or row was out of range
135 public Rational getElement(int column, int row) {
138 } else if (row < 0 || row >= ROWS) {
139 throw new IllegalArgumentException("row out of range");
142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR];
143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR];
149 * Copy the {@link Rational} elements in row-major order from this matrix into the destination.
178 * Copy the {@link Rational} elements in row-major order from this matrix into the destination.
257 * identity transform. Elements are printed in row major order. </p>
271 * Elements are printed in row major order. </p>
277 for (int row = 0, i = 0; row < ROWS; row++) {
290 if (row < ROWS - 1) {