public class DenseVectorSub extends AbstractVector
Vector.Normsize| Constructor and Description |
|---|
DenseVectorSub(DenseVector wrapped,
int offset,
int size) |
| Modifier and Type | Method and Description |
|---|---|
DenseVector |
copy()
Creates a deep copy of the vector
|
double |
get(int index)
Returns
x(index) |
void |
set(int index,
double value)
x(index) = value |
add, add, add, check, checkSize, dot, iterator, norm, norm1, norm2_robust, norm2, normInf, scale, set, set, size, toString, zeroclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DenseVectorSub(DenseVector wrapped, int offset, int size)
public double get(int index)
Vectorx(index)get in interface Vectorget in class AbstractVectorpublic void set(int index,
double value)
Vectorx(index) = valueset in interface Vectorset in class AbstractVectorpublic DenseVector copy()
Vectorcopy in interface Vectorcopy in class AbstractVectorCopyright © 2015. All Rights Reserved.