| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Method and Description |
|---|---|
IntArray |
IntArray.applyFilter(IntArray filter)
apply filter.
|
IntArray |
RealArray.createIntArray()
converts RealArray into IntArray.
|
IntArray |
IntArray.cumulativeSum()
cumulative sum of array.
|
IntArray |
IntMatrix.extractColumnData(int col)
get column data from matrix.
|
IntArray |
IntMatrix.extractRowData(int row)
get row data from matrix.
|
IntArray |
Univariate.getIndexOfBinsSortedByDescendingFrequency()
gets pointers to bins sorted by descending frequency.
|
IntArray |
IntSet.getIntArray()
gets the ints as an IntArray.
|
IntArray |
IntArray.getReorderedArray(IntSet idx)
get reordered Array.
|
IntArray |
IntArray.getSubArray(int start,
int end)
get array slice.
|
IntArray |
IntSquareMatrix.lowerTriangle()
copy lower triangle into linear array; order: 0,0; 1,0; 1,1; 2,0
|
IntArray |
IntMatrix.multiply(IntArray f)
matrix multiplication of a COLUMN vector.
|
IntArray |
IntArray.multiplyBy(int f)
array multiplication by a scalar.
|
IntArray |
IntArray.plus(IntArray f)
adds arrays.
|
IntArray |
IntArray.subtract(IntArray f)
subtracts arrays.
|
IntArray |
IntArray.trim(ArrayBase.Trim flag,
int limit)
trims array to lie within limit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IntArray.addArray(IntArray f)
append elements.
|
void |
IntMatrix.appendColumnData(IntArray f)
append data to matrix columnwise.
|
void |
IntMatrix.appendRowData(IntArray f)
append data to matrix rowwise.
|
IntArray |
IntArray.applyFilter(IntArray filter)
apply filter.
|
void |
IntMatrix.columnwiseDivide(IntArray f)
divide each column of a matrix by a vector of scalars (that is mat[i][j] =
mat[i][j] / vect[i] - MODIFIES matrix
|
static RealArray |
RealArray.createRealArray(IntArray intArray)
casts an integer array to RealArray
|
static IntSquareMatrix |
IntSquareMatrix.diagonal(IntArray f)
create diagonal matrix from real matrix.
|
int |
IntArray.dotProduct(IntArray f)
dot product of two arrays.
|
boolean |
IntArray.equals(IntArray f)
are two arrays equal.
|
void |
IntArray.insertArray(int elem,
IntArray f)
insert an array and expand.
|
void |
IntMatrix.insertColumnData(int after_col,
IntArray f)
add data as column or column block into matrix and expand.
|
void |
IntMatrix.insertRowData(int after_row,
IntArray f)
insert row of data into matrix and expand.
|
boolean |
IntArray.isEqualTo(IntArray f)
are two arrays equal.
|
IntArray |
IntMatrix.multiply(IntArray f)
matrix multiplication of a COLUMN vector.
|
static IntSquareMatrix |
IntSquareMatrix.outerProduct(IntArray f)
Creates square matrix from real matrix.
|
IntArray |
IntArray.plus(IntArray f)
adds arrays.
|
void |
IntMatrix.replaceColumnData(int column,
IntArray f)
replace data in a single column.
|
void |
IntMatrix.replaceRowData(int row,
IntArray f)
overwrite existing row of data.
|
void |
IntArray.shallowCopy(IntArray m)
shallowCopy
|
IntArray |
IntArray.subtract(IntArray f)
subtracts arrays.
|
void |
IntArray.subtractEquals(IntArray f)
array subtraction.
|
| Constructor and Description |
|---|
IntArray(IntArray m)
copy constructor.
|
IntArray(IntArray ref,
IntArray sub)
create mixed sliced array.
|
IntArray(IntArray m,
int low,
int high)
create from subarray of another Array.
|
RealArray(IntArray ia)
create from IntArray.
|
RealArray(RealArray ref,
IntArray sub)
create mixed sliced array.
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.