Documentation API of the 'cern.colt.matrix.tdcomplex.impl.DenseDComplexMatrix3D' Java class
DenseDComplexMatrix3D
cern.colt.matrix.tdcomplex.impl

Class DenseDComplexMatrix3D

  • All Implemented Interfaces:
    Serializable, Cloneable


    public class DenseDComplexMatrix3Dextends DComplexMatrix3D
    Dense 3-d matrix holding complex elements.

    Internally holds one single contigous one-dimensional array, addressed in (in decreasing order of significance): slice major, row major, column major. Complex data is represented by 2 double values in sequence, i.e. elements[idx] constitute the real part and elements[idx+1] constitute the imaginary part, where idx = index(0,0,0) + slice * sliceStride + row * rowStride + column * columnStride. Note that this implementation is not synchronized.

    Applications demanding utmost speed can exploit knowledge about the internal addressing. Setting/getting values in a loop slice-by-slice, row-by-row, column-by-column is quicker than, for example, column-by-column, row-by-row, slice-by-slice. Thus

     for (int slice = 0; slice < slices; slice++) {     for (int row = 0; row < rows; row++) {         for (int column = 0; column < columns; column++) {             matrix.setQuick(slice, row, column, someValue);         }     } } 
    is quicker than
     for (int column = 0; column < columns; column++) {     for (int row = 0; row < rows; row++) {         for (int slice = 0; slice < slices; slice++) {             matrix.setQuick(slice, row, column, someValue);         }     } } 
    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.