---
name: "sc_SCMatrixRectBlockIter"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_SCMatrixRectBlockIter"
---

# sc\_SCMatrixRectBlockIter(3)

## NAME

sc::SCMatrixRectBlockIter

## SYNOPSIS

Inherits **sc::SCMatrixBlockIter**.

### Public Member Functions

**SCMatrixRectBlockIter** (**SCMatrixRectBlock** \*)\
 int **i** ()\
 Returns the row index.  int **j** ()\
 Returns the column index.  double **get** ()\
 Return the value of the current element.  void **set** (double)\
 Set the current element to val.  **operator int** ()\
 Return nonzero if there are more elements.  void **operator++** ()\
 Move to the next element.  void **reset** ()\
 Start the iteration over.

## Member Function Documentation

### double sc::SCMatrixRectBlockIter::get ()` [virtual]`

Return the value of the current element.

Implements **sc::SCMatrixBlockIter**.

### int sc::SCMatrixRectBlockIter::i ()` [virtual]`

Returns the row index.

Implements **sc::SCMatrixBlockIter**.

### int sc::SCMatrixRectBlockIter::j ()` [virtual]`

Returns the column index.

Implements **sc::SCMatrixBlockIter**.

### sc::SCMatrixRectBlockIter::operator int ()` [virtual]`

Return nonzero if there are more elements.

Implements **sc::SCMatrixBlockIter**.

### void sc::SCMatrixRectBlockIter::operator++ ()` [virtual]`

Move to the next element.

Implements **sc::SCMatrixBlockIter**.

### void sc::SCMatrixRectBlockIter::reset ()` [virtual]`

Start the iteration over.

Implements **sc::SCMatrixBlockIter**.

### void sc::SCMatrixRectBlockIter::set (double val)` [virtual]`

Set the current element to val.

Implements **sc::SCMatrixBlockIter**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
