ComplexDoubleRTable Class - Maple Help

Online Help

All Products    Maple    MapleSim


ComplexDoubleRTable

OpenMaple representation of an RTable of type complex[8]

 

Description

Method Summary

Description

• 

The com.maplesoft.openmaple.ComplexDoubleRTable class represents a Maple rtable of type complex[8].  ComplexDoubleRTable publicly inherits from RTable; therefore, it provides all the member functions from the RTable and Algebraic classes in addition to those listed here.

Method Summary

DoubleRTable copyReal( ) throws MapleException

• 

copyReal returns a DoubleRTable representing the real values from each of the elements from the RTable.

DoubleRTable copyImaginary( ) throws MapleException

• 

copyImaginary returns a DoubleRTable representing the imaginary values from each of the elements from the RTable.

void assign( int index[], double re, double im ) throws MapleException

• 

assign puts the complex double with real part re and complex part im into the position indexed by index.

void assign( int index[], double val[] ) throws MapleException

• 

assign puts the complex double with real part val[0] and complex part val[1] into the position indexed by index.

double[] select( int index[] ) throws MapleException

• 

select returns the complex double indexed by index.  The array returned will be of length 2 with the real part stored at index 0 and the imaginary part stored at index 1.

double selectReal( int index[] ) throws MapleException

• 

selectReal returns the real part of the complex double indexed by index.

double selectImaginary( int index[] ) throws MapleException

• 

selectImaginary returns the imaginary part of the complex double indexed by index.

See Also

OpenMaple

OpenMaple/Java/Algebraic

OpenMaple/Java/API

OpenMaple/Java/DoubleRTable

OpenMaple/Java/Examples

OpenMaple/Java/RTable