File: primeNumber.h

package info (click to toggle)
stopt 5.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,772 kB
  • sloc: cpp: 70,373; python: 5,942; makefile: 67; sh: 57
file content (19 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 EDF
// All Rights Reserved
// This code is published under the GNU Lesser General Public License (GNU LGPL)
#ifndef PRIMENUMBER_H
#define PRIMENUMBER_H
#include <vector>
/** \file primeNumber.h
 *  \brief Decompose a number in prime numbers
 */
namespace StOpt
{

///\fn std::vector<int> primeNumber(int  n)
/// \param n  number to recompose
/// \return vector of prime terms
std::vector<int> primeNumber(int  n);

}
#endif /* PRIMENUMBER_H */