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

# sc\_SCMatrixRectSubBlockIter(3)

## NAME

sc::SCMatrixRectSubBlockIter

## SYNOPSIS

Inherits **sc::SCMatrixBlockIter**.

### Public Member Functions

**SCMatrixRectSubBlockIter** (**SCMatrixRectSubBlock** \*)\
 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::SCMatrixRectSubBlockIter::get ()` [virtual]`

Return the value of the current element.

Implements **sc::SCMatrixBlockIter**.

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

Returns the row index.

Implements **sc::SCMatrixBlockIter**.

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

Returns the column index.

Implements **sc::SCMatrixBlockIter**.

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

Return nonzero if there are more elements.

Implements **sc::SCMatrixBlockIter**.

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

Move to the next element.

Implements **sc::SCMatrixBlockIter**.

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

Start the iteration over.

Implements **sc::SCMatrixBlockIter**.

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

Set the current element to val.

Implements **sc::SCMatrixBlockIter**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
