protected class AbstractMatrix.TransposeViewVector extends AbstractVector
AbstractVector.LocalElement
Vector.Element
lengthSquared
Modifier | Constructor and Description |
---|---|
protected |
TransposeViewVector(Matrix m,
int offset) |
protected |
TransposeViewVector(Matrix m,
int offset,
boolean rowToColumn) |
Modifier and Type | Method and Description |
---|---|
Vector |
clone() |
Vector.Element |
getElement(int i) |
int |
getNumNondefaultElements() |
double |
getQuick(int index) |
boolean |
isDense() |
boolean |
isSequentialAccess() |
Iterator<Vector.Element> |
iterateNonZero() |
Iterator<Vector.Element> |
iterator() |
Vector |
like() |
Vector |
like(int cardinality) |
protected Vector |
newVector(int cardinality) |
void |
setQuick(int index,
double value) |
aggregate, aggregate, asFormatString, assign, assign, assign, assign, assign, assign, cross, divide, dot, dotSelf, equals, get, getDistanceSquared, getLengthSquared, hashCode, logNormalize, logNormalize, logNormalize, maxValue, maxValueIndex, minus, minValue, minValueIndex, norm, normalize, normalize, plus, plus, set, size, times, times, toString, toString, viewPart, zSum
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected TransposeViewVector(Matrix m, int offset)
protected TransposeViewVector(Matrix m, int offset, boolean rowToColumn)
public Vector clone()
clone
in interface Vector
clone
in class AbstractVector
public boolean isDense()
public boolean isSequentialAccess()
public Iterator<Vector.Element> iterator()
public Iterator<Vector.Element> iterateNonZero()
public Vector.Element getElement(int i)
getElement
in interface Vector
getElement
in class AbstractVector
public double getQuick(int index)
public void setQuick(int index, double value)
protected Vector newVector(int cardinality)
public Vector like()
public Vector like(int cardinality)
public int getNumNondefaultElements()