Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
AnnualArrays::multiply Method (DoubleAnnual&, double, int, int)

Multiplies the DoubleAnnual by a scalar.

C++
static void multiply(
    DoubleAnnual& data1, 
    double factor, 
    int firstYear, 
    int lastYear
);
Parameters 
Description 
DoubleAnnual& data1 
Array of doubles to be multiplied into. 
double factor 
The scalar multiplier. It is applied to all specified years of data. 
int firstYear 
First year of data to multiply. 
int lastYear 
Last year of data to multiply. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!