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

# sc\_SCExtrapError(3)

SCExtrapError holds the error data needed by SelfConsistentExtrapolation.

## NAME

sc::SCExtrapError - **SCExtrapError** holds the error data needed by **SelfConsistentExtrapolation**.

## SYNOPSIS

`#include <scextrap.h>`

Inherits **sc::SavableState**.

Inherited by **sc::SymmSCMatrixSCExtrapError**.

### Public Member Functions

**SCExtrapError** ()\
 Construct a new **SCExtrapError**.  **SCExtrapError** (**StateIn** &)\
 Constructor to restore **SCExtrapError** from a **StateIn** object.  void **save\_data\_state** (**StateOut** &)\
 Save the base classes (with save\_data\_state) and the members in the same order that the **StateIn** CTOR initializes them.  virtual double **error** ()=0\
 Returns some measure of the total error.  virtual double **scalar\_product** (const **Ref**\< **SCExtrapError** \> &)=0\
 Performs a scalar product between this and the given **SCExtrapError**.

### Additional Inherited Members

## Detailed Description

**SCExtrapError** holds the error data needed by **SelfConsistentExtrapolation**.

## Member Function Documentation

### virtual double sc::SCExtrapError::error ()` [pure virtual]`

Returns some measure of the total error.

Implemented in **sc::SymmSCMatrixSCExtrapError**.

### void sc::SCExtrapError::save\_data\_state (StateOut &)` [virtual]`

Save the base classes (with save\_data\_state) and the members in the same order that the **StateIn** CTOR initializes them. This must be implemented by the derived class if the class has data.

Reimplemented from **sc::SavableState**.

Reimplemented in **sc::SymmSCMatrixSCExtrapError**.

### virtual double sc::SCExtrapError::scalar\_product (const Ref\< SCExtrapError \> &)` [pure virtual]`

Performs a scalar product between this and the given **SCExtrapError**.

Implemented in **sc::SymmSCMatrixSCExtrapError**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
