public static class Matrix.GP2 extends Matrix
Matrix.Doubles, Matrix.GP2, Matrix.Ints, Matrix.Jacobi
Vector.Derived, Vector.GP, Vector.Slice, Vector.Strings, Vector.Weighted
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
protected Value[][] |
elts
The [][] of Values held in 'this' GP2.
|
Constructor and Description |
---|
GP2(Value[][] elts)
Given a 2D Java array, [] [], of Values,
construct a GP2, a
Matrix . |
Modifier and Type | Method and Description |
---|---|
Vector |
elt(int r)
Row 'r' (top-level element r) of 'this' Matrix; a sub-class of
Matrix might be able to provide a more efficient version than
this default.
|
Value |
elt(int r,
int c)
|
int |
nElts()
The number of rows (top-level elements) in 'this' Matrix.
|
protected int |
nEltsRaw(int r)
Called in the rectangularity-check within
Matrix.setNcols(int)
if the constructor Matrix() was used; it need not be implemented
(overridden) if Matrix(nC) was used. |
asMatrix, doubles, doubles, eigen, eigenValues, eigenVectors, elts, eltType, fromLexical, GJ_fp, id, ints_UR, ints, inverse, isRectangular, isSquare, logDeterminant, main, nCols, nElts, rowLength, setNcols, slowDeterminant, times, times, transpose, values
addMore, addMore, append, append, as_1xn, as_nx1, asDiagonal, asQ, asQrotn, bOp, closes, col, cols, combine, compareTo, constAoM, constNlAoM, constWt, csv, csv, delete, delete, dot, doubles, doubles, doubles, drop, drop, dropLast, elts, foldl, foldl, foldr, foldr, fromScannable, ints, ints, map, match, merge, nearlySymmetric, nearlySymmetric, nlAoM, nlAoM, norm_Cts, norm, normalised, normalised1, normalised2, opens, repeat, rotate, rotate, scaled, shape, singleton, slice, sorted, sorted, sorted, strings, sumSq, take, takeLast, toSeries, type, uniqueElts, unzip, unzip, uOp, values, weight, weight, weight, weightLike, weightLike, wt, wtMedian, wtNlAoM, wtNlAoM, wts, wts, zip, zip
AoM, elts, frth, fst, print, separator, snd, thrd, toString
protected final Value[][] elts
protected int nEltsRaw(int r)
Matrix
Matrix.setNcols(int)
if the constructor Matrix() was used; it need not be implemented
(overridden) if Matrix(nC) was used. See Matrix.nElts(int)
.public int nElts()
Matrix
nCols()
.public Vector elt(int r)
Matrix
elt(r,c)
.