org.ojalgo.access
Class ArrayAccess.Rational
java.lang.Object
org.ojalgo.access.ArrayAccess<RationalNumber>
org.ojalgo.access.ArrayAccess.Rational
- All Implemented Interfaces:
- Access1D<RationalNumber>
- Enclosing class:
- ArrayAccess<N extends Number>
Deprecated. v32 Use SimpleArray
instead
@Deprecated
public static final class ArrayAccess.Rational
- extends ArrayAccess<RationalNumber>
The purpose of (use case for) this class is to provide a minimal class
that implements the Access1D
interface and is mutable. Further
the user can assume that an ArrayAccess instance really
is an ArrayAccess.Big instance (and correspondingly for Double,
ComplexNumber and RationalNumber). Therefore it is safe to type cast and
reference the data attribute. Further this class allows you to,
with generics, mix primitive value arrays and object reference arrays.
- Author:
- apete
data
public final RationalNumber[] data
- Deprecated.
doubleValue
public double doubleValue(int anInd)
- Deprecated.
get
public RationalNumber get(int anInd)
- Deprecated.
set
public void set(int anInd,
double aValue)
- Deprecated.
- Specified by:
set
in class ArrayAccess<RationalNumber>
set
public void set(int anInd,
RationalNumber aValue)
- Deprecated.
- Specified by:
set
in class ArrayAccess<RationalNumber>