public class Primitive32Vector2 extends TransformableRegion.ReceiverRegion<Double>
TransformableRegion.ColumnsRegion<N extends Number>, TransformableRegion.FillByMultiplying<N extends Number>, TransformableRegion.LimitRegion<N extends Number>, TransformableRegion.OffsetRegion<N extends Number>, TransformableRegion.ReceiverRegion<N extends Number>, TransformableRegion.RowsRegion<N extends Number>, TransformableRegion.TransposedRegion<N extends Number>
Mutate2D.Exchangeable, Mutate2D.Fillable<N extends Number>, Mutate2D.Mixable<N extends Number>, Mutate2D.Modifiable<N extends Number>, Mutate2D.ModifiableReceiver<N extends Number>, Mutate2D.Receiver<N extends Number>
Mutate1D.Sortable
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,?>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Access2D.Aggregatable<N extends Number>, Access2D.Collectable<N extends Number,R extends Mutate2D.Receiver<N>>, Access2D.Elements, Access2D.ElementView<N extends Number>, Access2D.IndexOf, Access2D.Sliceable<N extends Number>, Access2D.Visitable<N extends Number>
Modifier and Type | Field and Description |
---|---|
float |
v0
The vector elements
|
float |
v1
The vector elements
|
Constructor and Description |
---|
Primitive32Vector2() |
Primitive32Vector2(float v0,
float v1) |
Modifier and Type | Method and Description |
---|---|
void |
add(int row,
double addend) |
void |
add(long index,
double addend) |
void |
add(long row,
long col,
double addend) |
void |
add(long row,
long col,
Number addend) |
void |
add(long index,
Number addend) |
long |
count()
count() == countRows() * countColumns()
|
long |
countColumns() |
long |
countRows() |
double |
doubleValue(int index) |
double |
doubleValue(long index) |
double |
doubleValue(long row,
long col)
Extracts one element of this matrix as a double.
|
boolean |
equals(Object obj) |
void |
fillOne(long index,
Access1D<?> values,
long valueIndex) |
void |
fillOne(long index,
Double value) |
void |
fillOne(long row,
long col,
Access1D<?> values,
long valueIndex) |
void |
fillOne(long row,
long col,
Double value) |
void |
fillOne(long row,
long col,
NullaryFunction<Double> supplier) |
void |
fillOne(long index,
NullaryFunction<Double> supplier) |
Double |
get(long index) |
Double |
get(long row,
long col) |
int |
hashCode() |
void |
modifyOne(int row,
UnaryFunction<Double> modifier) |
void |
modifyOne(long row,
long col,
UnaryFunction<Double> modifier) |
void |
modifyOne(long index,
UnaryFunction<Double> modifier) |
void |
set(int row,
double value) |
void |
set(long index,
double addend) |
void |
set(long row,
long col,
double value) |
void |
set(long row,
long col,
Number value) |
void |
set(long index,
Number addend) |
int |
size() |
String |
toString() |
fillByMultiplying, regionByColumns, regionByLimits, regionByOffsets, regionByRows, regionByTransposing
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exchangeColumns, exchangeRows, modifyAny
modifyColumn, modifyColumn, modifyDiagonal, modifyDiagonal, modifyMatchingInColumns, modifyMatchingInColumns, modifyMatchingInRows, modifyMatchingInRows, modifyRow, modifyRow
modifyAll, modifyMatching, modifyMatching, modifyRange
accept, isAcceptable
copyComplexArgument, copyComplexImaginary, copyComplexModulus, copyComplexModulusAndArgument, copyComplexReal, copyComplexRealAndImaginary, reset
fillColumn, fillColumn, fillColumn, fillColumn, fillColumn, fillColumn, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillRow, fillRow, fillRow, fillRow, fillRow, fillRow
column, column, column, column, column, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
fillAll, fillAll, fillMatching, fillMatching, fillMatching, fillRange, fillRange
index, loopAll, loopMatching, loopRange, mapper
asCollectable2D, asPrimitive2D, byteValue, byteValue, columns, elements, equals, floatValue, floatValue, intValue, intValue, longValue, longValue, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, shortValue, shortValue, toRawCopy2D, toString, wrap, wrap
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, nonzeros, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
public Primitive32Vector2()
public Primitive32Vector2(float v0, float v1)
public final void add(int row, double addend)
public final double doubleValue(int index)
public final void modifyOne(int row, UnaryFunction<Double> modifier)
public final void set(int row, double value)
public final void add(long index, double addend)
public final void add(long row, long col, double addend)
public final void add(long row, long col, Number addend)
public final void add(long index, Number addend)
public final long count()
Structure2D
public final long countColumns()
public final long countRows()
public final double doubleValue(long index)
public final double doubleValue(long row, long col)
Access2D
row
- A row index.col
- A column index.public final void fillOne(long index, Access1D<?> values, long valueIndex)
public final void fillOne(long index, Double value)
public final void fillOne(long row, long col, Access1D<?> values, long valueIndex)
public final void fillOne(long row, long col, Double value)
public final void fillOne(long row, long col, NullaryFunction<Double> supplier)
public final void fillOne(long index, NullaryFunction<Double> supplier)
public final Double get(long index)
public final Double get(long row, long col)
public final void modifyOne(long row, long col, UnaryFunction<Double> modifier)
public final void modifyOne(long index, UnaryFunction<Double> modifier)
public final void set(long index, double addend)
public final void set(long row, long col, double value)
public final void set(long row, long col, Number value)
public final void set(long index, Number addend)
public final int size()
public final String toString()
toString
in class TransformableRegion.ReceiverRegion<Double>
Copyright © 2019 Optimatika. All rights reserved.