public abstract class Vector.Weighted extends Vector
weighted
, somehow.Vector.Derived, Vector.Doubles, Vector.GP, Vector.Ints, 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
Constructor and Description |
---|
Weighted() |
Modifier and Type | Method and Description |
---|---|
double |
constAoM()
As per
parent Vector. |
double |
constWt()
Default -1, indicating elts' weights may vary from elt to elt.
|
Value |
elt(int i)
Element 'i' of 'this' Vector.
|
Type |
eltType()
The type of all(!) elements of 'this' Vector.
|
int |
nElts()
The number of elements (rows) in 'this' Vector.
|
Type |
type()
??? The following are copied from 'class Derived' to
??? work around Apple Java 1.6 (Feb 2013).
|
abstract double |
wt(int i)
The weight of elt(i) in this Vector (data-set).
|
addMore, addMore, append, append, as_1xn, as_nx1, asDiagonal, asMatrix, asQ, asQrotn, bOp, closes, col, cols, combine, compareTo, constNlAoM, csv, csv, delete, delete, dot, doubles, doubles, doubles, drop, drop, dropLast, elt, elts, foldl, foldl, foldr, foldr, fromScannable, ints, ints, isRectangular, isSquare, main, map, match, merge, nCols, nearlySymmetric, nearlySymmetric, nElts, nlAoM, nlAoM, norm_Cts, norm, normalised, normalised1, normalised2, opens, repeat, rotate, rotate, rowLength, scaled, shape, singleton, slice, sorted, sorted, sorted, strings, sumSq, take, takeLast, times, toSeries, uniqueElts, unzip, unzip, uOp, values, weight, weight, weight, weightLike, weightLike, wtMedian, wtNlAoM, wtNlAoM, wts, wts, zip, zip
AoM, elts, frth, fst, print, separator, snd, thrd, toString
public abstract double wt(int i)
public double constWt()
public Type type()
public Type eltType()
Vector
public int nElts()
Vector
wts()
.public Value elt(int i)
Vector
Vector.wt(int)