org.ojalgo.access
Class ArrayAccess.Complex

java.lang.Object
  extended by org.ojalgo.access.ArrayAccess<ComplexNumber>
      extended by org.ojalgo.access.ArrayAccess.Complex
All Implemented Interfaces:
Access1D<ComplexNumber>
Enclosing class:
ArrayAccess<N extends Number>

Deprecated. v32 Use SimpleArray instead

@Deprecated
public static final class ArrayAccess.Complex
extends ArrayAccess<ComplexNumber>

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ojalgo.access.ArrayAccess
ArrayAccess.Big, ArrayAccess.Complex, ArrayAccess.Primitive, ArrayAccess.Rational
 
Field Summary
 ComplexNumber[] data
          Deprecated.  
 
Fields inherited from class org.ojalgo.access.ArrayAccess
length
 
Method Summary
 double doubleValue(int anInd)
          Deprecated.  
 ComplexNumber get(int anInd)
          Deprecated.  
 void set(int anInd, ComplexNumber aValue)
          Deprecated.  
 void set(int anInd, double aValue)
          Deprecated.  
 
Methods inherited from class org.ojalgo.access.ArrayAccess
iterator, makeBig, makeComplex, makePrimitive, makeRational, size, wrapBig, wrapComplex, wrapPrimitive, wrapRational
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public final ComplexNumber[] data
Deprecated. 
Method Detail

doubleValue

public double doubleValue(int anInd)
Deprecated. 

get

public ComplexNumber get(int anInd)
Deprecated. 

set

public void set(int anInd,
                ComplexNumber aValue)
Deprecated. 
Specified by:
set in class ArrayAccess<ComplexNumber>

set

public void set(int anInd,
                double aValue)
Deprecated. 
Specified by:
set in class ArrayAccess<ComplexNumber>