public class BigArray extends ReferenceTypeArray<BigDecimal>
DenseArray.Factory<N extends Comparable<N>>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends Comparable<N>>
Mutate1D.Fillable<N extends Comparable<N>>, Mutate1D.Mixable<N extends Comparable<N>>, Mutate1D.Modifiable<N extends Comparable<N>>, Mutate1D.ModifiableReceiver<N extends Comparable<N>>, Mutate1D.Receiver<N extends Comparable<N>>, Mutate1D.Sortable
Modifier and Type | Field and Description |
---|---|
static DenseArray.Factory<BigDecimal> |
FACTORY |
data
MAX_ARRAY_SIZE
Modifier | Constructor and Description |
---|---|
protected |
BigArray(BigDecimal[] data) |
protected |
BigArray(int size) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(int index,
Comparable<?> addend) |
protected void |
add(int index,
double addend) |
protected void |
add(int index,
float addend) |
void |
axpy(double a,
Mutate1D.Modifiable<?> y)
Will calculate y = y + a x, will add "a" times "this" to "y"
|
protected double |
doubleValue(int index) |
protected void |
fillOne(int index,
Access1D<?> values,
long valueIndex) |
protected float |
floatValue(int index) |
protected int |
indexOfLargest(int first,
int limit,
int step) |
protected boolean |
isAbsolute(int index) |
protected boolean |
isSmall(int index,
double comparedTo) |
static BigArray |
make(int size) |
void |
sortAscending() |
void |
sortDescending() |
static BigArray |
wrap(BigDecimal... data) |
copyOfData, equals, exchange, fill, fill, fill, fill, fill, fillMatching, fillMatching, fillMatching, fillOne, fillOne, get, hashCode, modify, modify, modify, modify, modify, modify, modifyOne, reset, searchAscending, set, set, set, size, spliterator, visit, visitOne
add, add, add, count, doubleValue, exchange, fill, fill, fillAll, fillAll, fillOne, fillOne, fillOne, fillRange, fillRange, floatValue, get, indexOfLargest, modify, modify, modify, modifyOne, set, set, set, visit, visitOne
aggregateRange, indexOfLargest, makeDecreasingRange, makeDecreasingRange, makeIncreasingRange, makeIncreasingRange, modifyAll, modifyMatching, modifyMatching, modifyRange, supplyTo, toString, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyD
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
count, index, loopAll, loopMatching, loopRange, mapper, toIntIndexes
asCollectable1D, asPrimitive1D, byteValue, dot, elements, equals, hashCode, intValue, longValue, nonzeros, shortValue, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
aggregateAll
copyComplexArgument, copyComplexImaginary, copyComplexModulus, copyComplexModulusAndArgument, copyComplexReal, copyComplexRealAndImaginary
collect
public static final DenseArray.Factory<BigDecimal> FACTORY
protected BigArray(BigDecimal[] data)
protected BigArray(int size)
public static final BigArray make(int size)
public static final BigArray wrap(BigDecimal... data)
public final void axpy(double a, Mutate1D.Modifiable<?> y)
Access1D
a
- The scaley
- The "vector" to updatepublic final void sortAscending()
sortAscending
in interface Mutate1D.Sortable
sortAscending
in class PlainArray<BigDecimal>
public void sortDescending()
sortDescending
in interface Mutate1D.Sortable
sortDescending
in class PlainArray<BigDecimal>
protected final void add(int index, Comparable<?> addend)
add
in class PlainArray<BigDecimal>
protected final void add(int index, double addend)
add
in class PlainArray<BigDecimal>
protected final void add(int index, float addend)
add
in class PlainArray<BigDecimal>
protected final double doubleValue(int index)
doubleValue
in class PlainArray<BigDecimal>
protected final void fillOne(int index, Access1D<?> values, long valueIndex)
fillOne
in class PlainArray<BigDecimal>
protected final float floatValue(int index)
floatValue
in class PlainArray<BigDecimal>
protected final int indexOfLargest(int first, int limit, int step)
indexOfLargest
in class PlainArray<BigDecimal>
protected boolean isAbsolute(int index)
isAbsolute
in class PlainArray<BigDecimal>
Scalar.isAbsolute()
protected boolean isSmall(int index, double comparedTo)
isSmall
in class PlainArray<BigDecimal>
NormedVectorSpace.isSmall(double)
Copyright © 2022 Optimatika. All rights reserved.