GOffice Reference Manual: GOAccumulator

## GOAccumulator GOAccumulator |

## Functions

void | go_accumulator_add ()
void | go_accumulator_add_quad ()
void | go_accumulator_add_quadl ()
void | go_accumulator_addl ()
void | go_accumulator_clear ()
void | go_accumulator_clearl ()
void | go_accumulator_end ()
void | go_accumulator_endl ()
void | go_accumulator_free ()
void | go_accumulator_freel ()
gboolean | go_accumulator_functional ()
gboolean | go_accumulator_functionall ()
GOAccumulator * | go_accumulator_new ()
GOAccumulatorl * | go_accumulator_newl ()
void * | go_accumulator_start ()
void * | go_accumulator_startl ()
double | go_accumulator_value ()
long double | go_accumulator_valuel ()

## Types and Values

typedef | GOAccumulator
typedef | GOAccumulatorl

## Object Hierarchy

## Description

## Functions

### go_accumulator_add ()

    void
    go_accumulator_add (GOAccumulator *acc,
                        double x);

### go_accumulator_add_quad ()

    void
    go_accumulator_add_quad (GOAccumulator *acc,
                             const GOQuad *x);

### go_accumulator_add_quadl ()

    void
    go_accumulator_add_quadl (GOAccumulatorl *acc,
                              const GOQuadl *x);

### go_accumulator_addl ()

    void
    go_accumulator_addl (GOAccumulatorl *acc,
                         long double x);

### go_accumulator_clear ()

    void
    go_accumulator_clear (GOAccumulator *acc);

### go_accumulator_clearl ()

    void
    go_accumulator_clearl (GOAccumulatorl *acc);

### go_accumulator_end ()

    void
    go_accumulator_end (void *state);

### go_accumulator_endl ()

    void
    go_accumulator_endl (void *state);

### go_accumulator_free ()

    void
    go_accumulator_free (GOAccumulator *acc);

### go_accumulator_freel ()

    void
    go_accumulator_freel (GOAccumulatorl *acc);

### go_accumulator_functional ()

    gboolean
    go_accumulator_functional (void);

#### Returns

### go_accumulator_functionall ()

    gboolean
    go_accumulator_functionall (void);

#### Returns

### go_accumulator_new ()

    GOAccumulator *
    go_accumulator_new (void);

#### Returns

### go_accumulator_newl ()

    GOAccumulatorl *
    go_accumulator_newl (void);

#### Returns

### go_accumulator_start ()

    void *
    go_accumulator_start (void);

#### Returns

### go_accumulator_startl ()

    void *
    go_accumulator_startl (void);

#### Returns

### go_accumulator_value ()

    double
    go_accumulator_value (GOAccumulator *acc);

#### Returns

### go_accumulator_valuel ()

    long double
    go_accumulator_valuel (GOAccumulatorl *acc);

#### Returns

## Types and Values

### GOAccumulator

    typedef struct GOAccumulator_ GOAccumulator;

### GOAccumulatorl

    typedef struct GOAccumulatorl_ GOAccumulatorl;