Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
AnnualArrays::subtract Method

Subtracts the second DoubleAnnual from the first DoubleAnnual.

C++
static void subtract(
    DoubleAnnual& data1, 
    const DoubleAnnual& data2, 
    int firstYear, 
    int lastYear
);
Parameters 
Description 
DoubleAnnual& data1 
Array of doubles to be subtracted from. 
const DoubleAnnual& data2 
Array of doubles to subtract from data1. 
int firstYear 
First year to subtract. 
int lastYear 
Last year to subtract. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!