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

# sc\_AccResultInfo(3)

This is like ResultInfo but the accuracy with which a result was computed as well as the desired accuracy are stored.

## NAME

sc::AccResultInfo - This is like **ResultInfo** but the accuracy with which a result was computed as well as the desired accuracy are stored.

## SYNOPSIS

`#include <compute.h>`

Inherits **sc::ResultInfo**.

Inherited by **sc::AccResult\< RefSymmSCMatrix \>**, **sc::AccResult\< RefSCVector \>**, **sc::AccResult\< RefSCMatrix \>**, **sc::AccResult\< RefDiagSCMatrix \>**, **sc::NCAccResult\< double \>**, **sc::AccResult\< T \>**, **sc::NCAccResult\< T \>**, and **sc::SSAccResult\< T \>**.

### Public Member Functions

**AccResultInfo** (**Compute** \*c)\
 double **actual\_accuracy** () const\
 double **desired\_accuracy** () const\
 void **set\_desired\_accuracy** (double)\
 void **set\_actual\_accuracy** (double)\
 int **computed\_to\_desired\_accuracy** () const\
 int **needed** () const\

### Protected Member Functions

**AccResultInfo** (**StateIn** &, **Compute** \*)\
 **AccResultInfo** (const **AccResultInfo** &, **Compute** \*)\
 virtual void **save\_data\_state** (**StateOut** &)\
 virtual void **restore\_state** (**StateIn** &)\
 **AccResultInfo** & **operator=** (const **AccResultInfo** &)\
 void **update** ()\

### Additional Inherited Members

## Detailed Description

This is like **ResultInfo** but the accuracy with which a result was computed as well as the desired accuracy are stored.

## Member Function Documentation

### int sc::AccResultInfo::needed () const` [virtual]`

Reimplemented from **sc::ResultInfo**.

### virtual void sc::AccResultInfo::restore\_state (StateIn &)` [protected]`, ` [virtual]`

Reimplemented from **sc::ResultInfo**.

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

Reimplemented from **sc::ResultInfo**.

### void sc::AccResultInfo::update ()` [protected]`, ` [virtual]`

Reimplemented from **sc::ResultInfo**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
