EMath++
Classes for mathematical concepts
Loading...
Searching...
No Matches
emth::Arithmetic Class Reference

Class with some functions for arithmetic math. More...

#include <emath.h>

Static Public Member Functions

static void get_divisors (int n, std::vector< int > &v) noexcept
 Gets the all the positive divisors for an integer.
 

Detailed Description

Class with some functions for arithmetic math.

The class consists of the functions that operate with real numbers.

Definition at line 173 of file emath.h.

Member Function Documentation

◆ get_divisors()

void emth::Arithmetic::get_divisors ( int  n,
std::vector< int > &  v 
)
staticnoexcept

Gets the all the positive divisors for an integer.

Parameters
nThe integer to get the divisors for.
vThe vector reference where to store the divisors.

Definition at line 15 of file emath.cpp.


The documentation for this class was generated from the following files: