コード例 #1
0
  @Override
  public MatlabDouble getElementAtIndices(int row, int column) {
    int sparseIndex = _array.getSparseIndexForIndices(row, column);

    return new MatlabDouble(
        this.getRealElementAtSparseIndex(sparseIndex),
        this.getImaginaryElementAtSparseIndex(sparseIndex));
  }
コード例 #2
0
 @Override
 public double getRealElementAtIndices(int row, int column) {
   return this.getRealElementAtSparseIndex(_array.getSparseIndexForIndices(row, column));
 }