public class Primitive32Vector2 extends ElementsConsumer.ConsumerRegion<Double>
Access1D.Aggregatable<N extends Number>, Access1D.Collectable<N extends Number,R extends Mutate1D.Receiver<N>>, Access1D.Elements, Access1D.ElementView<N extends Number>, Access1D.IndexOf, Access1D.Sliceable<N extends Number>, Access1D.Visitable<N extends Number>
ElementsConsumer.ColumnsRegion<N extends Number>, ElementsConsumer.ConsumerRegion<N extends Number>, ElementsConsumer.FillByMultiplying<N extends Number>, ElementsConsumer.LimitRegion<N extends Number>, ElementsConsumer.OffsetRegion<N extends Number>, ElementsConsumer.RowsRegion<N extends Number>, ElementsConsumer.TransposedRegion<N extends Number>
Mutate2D.BiModifiable<N extends Number>, Mutate2D.Exchangeable, Mutate2D.Fillable<N extends Number>, Mutate2D.Mixable<N extends Number>, Mutate2D.Modifiable<N extends Number>, Mutate2D.Receiver<N extends Number>
Mutate1D.Sortable
Structure2D.IntRowColumn, 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
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 row,
long col,
double addend) |
void |
add(long row,
long col,
Number addend) |
long |
count()
count() == countRows() * countColumns()
|
long |
countColumns() |
long |
countRows() |
double |
doubleValue(int index) |
double |
doubleValue(long index) |
boolean |
equals(Object obj) |
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) |
Double |
get(long index) |
int |
hashCode() |
void |
modifyOne(int row,
UnaryFunction<Double> modifier) |
void |
modifyOne(long row,
long col,
UnaryFunction<Double> modifier) |
void |
set(int row,
double value) |
void |
set(long row,
long col,
double value) |
void |
set(long row,
long col,
Number value) |
fillByMultiplying, modifyMatching, modifyMatching, regionByColumns, regionByLimits, regionByOffsets, regionByRows, regionByTransposing, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
transform
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
forEach, spliterator
fillByMultiplying, regionByColumns, regionByLimits, regionByOffsets, regionByRows, regionByTransposing
accept, isAcceptable
fillColumn, fillColumn, fillColumn, fillColumn, fillColumn, fillColumn, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillOne, fillOne, fillOne, fillRow, fillRow, fillRow, fillRow, fillRow, fillRow
column, column, column, column, column, 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
loopAll, loopMatching, loopRange, mapper
modifyMatching, modifyMatching
modifyColumn, modifyColumn, modifyDiagonal, modifyDiagonal, modifyOne, modifyRow, modifyRow
modifyAll, modifyRange
public Primitive32Vector2()
public Primitive32Vector2(float v0, float v1)
public final void add(int row, double addend)
public final long count()
Structure2D
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 row, long col, double addend)
public final void add(long row, long col, Number addend)
public final long countColumns()
countColumns
in interface Structure2D
public final long countRows()
countRows
in interface Structure2D
public final double doubleValue(long index)
doubleValue
in interface Access1D<Double>
public final void fillOne(long row, long col, Access1D<?> values, long valueIndex)
fillOne
in interface Mutate2D.Fillable<Double>
public final void fillOne(long row, long col, Double value)
fillOne
in interface Mutate2D.Fillable<Double>
public final void fillOne(long row, long col, NullaryFunction<Double> supplier)
fillOne
in interface Mutate2D.Fillable<Double>
public final void modifyOne(long row, long col, UnaryFunction<Double> modifier)
modifyOne
in interface Mutate2D.Modifiable<Double>
Copyright © 2018 Optimatika. All rights reserved.