Collapse All

Anypia Programmer's Documentation |  |

AnnualArrays::multiply Method (DoubleAnnual&, double, int, int)
AnnualArrays Class AnnualArrays Members multiply Method Send Feedback

Multiplies the DoubleAnnual by a scalar.

C++

    static void multiply(
        DoubleAnnual& data1,
        double factor,
        int firstYear,
        int lastYear
    );

Parameters

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.

Group

multiply Method

Links
AnnualArrays Class, AnnualArrays Members, multiply Method

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!