Mathworks++
A C++ port of Python Mathworks
 All Classes Namespaces Files Functions Pages
mathworks::multiples Namespace Reference

Functions

std::vector< int > getMultiples (int number, int numcount)
 Gets the first "numcount" multiples of "number". More...
 

Function Documentation

std::vector<int> mathworks::multiples::getMultiples ( int  number,
int  numcount 
)

Gets the first "numcount" multiples of "number".

Parameters
numberThe number to get the multiples of.
numcountThe number of multiples to get.
Returns
An std::vector of the multiples.