From 08bdc61024461e46c94bdadf200d7f7c5aa7d9e7 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Tue, 20 Jun 2023 22:07:36 +0000 Subject: [PATCH] Documentation for 2fd530cba1a798fe2f9bdfe835c8179072de2394 --- d4/d5d/math_2armstrong__number_8cpp.html | 295 ----------------- d4/d5d/math_2armstrong__number_8cpp.js | 7 - ...cebd92bc70890c3cfa261d68a5016e7_cgraph.map | 7 - ...cebd92bc70890c3cfa261d68a5016e7_cgraph.md5 | 1 - ...cebd92bc70890c3cfa261d68a5016e7_cgraph.svg | 82 ----- ...92bc70890c3cfa261d68a5016e7_cgraph_org.svg | 57 ---- ...1a3968e7947464bee7714f6d43b7002_cgraph.map | 9 - ...1a3968e7947464bee7714f6d43b7002_cgraph.md5 | 1 - ...1a3968e7947464bee7714f6d43b7002_cgraph.svg | 100 ------ ...68e7947464bee7714f6d43b7002_cgraph_org.svg | 75 ----- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 11 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 1 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 118 ------- ...b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg | 93 ------ d6/d74/math_2armstrong__number_8cpp__incl.map | 9 - d6/d74/math_2armstrong__number_8cpp__incl.md5 | 1 - d6/d74/math_2armstrong__number_8cpp__incl.svg | 100 ------ ...math_2armstrong__number_8cpp__incl_org.svg | 75 ----- dd/d47/namespacemath.html | 35 ++- de/d99/aliquot__sum_8cpp.html | 47 +-- ...8dca7b867074164d5f45b0f3851269d_cgraph.map | 2 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.md5 | 2 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.svg | 2 +- ...7b867074164d5f45b0f3851269d_cgraph_org.svg | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 2 +- ...b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg | 2 +- dir_296d53ceaeaa7e099814a6def439fe8a.html | 3 - dir_296d53ceaeaa7e099814a6def439fe8a.js | 1 - files.html | 109 ++++--- globals_func_i.html | 3 +- globals_func_m.html | 2 +- globals_func_n.html | 1 - globals_func_t.html | 2 +- globals_i.html | 5 +- globals_m.html | 2 +- globals_n.html | 1 - globals_t.html | 2 +- navtreedata.js | 20 +- navtreeindex0.js | 56 ++-- navtreeindex1.js | 44 +-- navtreeindex10.js | 56 ++-- navtreeindex11.js | 18 +- navtreeindex12.js | 68 ++-- navtreeindex13.js | 48 +-- navtreeindex14.js | 5 - navtreeindex2.js | 60 ++-- navtreeindex3.js | 26 +- navtreeindex4.js | 84 ++--- navtreeindex5.js | 80 ++--- navtreeindex6.js | 84 ++--- navtreeindex7.js | 70 ++--- navtreeindex8.js | 84 ++--- navtreeindex9.js | 74 ++--- search/all_14.js | 4 +- search/all_15.js | 6 +- search/all_2.js | 139 ++++---- search/all_7.js | 4 +- search/all_8.js | 4 +- search/all_a.js | 297 +++++++++--------- search/all_e.js | 267 ++++++++-------- search/all_f.js | 29 +- search/files_1.js | 9 +- search/functions_13.js | 4 +- search/functions_14.js | 2 +- search/functions_6.js | 147 ++++----- search/functions_7.js | 4 +- search/functions_9.js | 199 ++++++------ search/functions_d.js | 4 +- search/functions_e.js | 17 +- 71 files changed, 1117 insertions(+), 2167 deletions(-) delete mode 100644 d4/d5d/math_2armstrong__number_8cpp.html delete mode 100644 d4/d5d/math_2armstrong__number_8cpp.js delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_a9cebd92bc70890c3cfa261d68a5016e7_cgraph.map delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_a9cebd92bc70890c3cfa261d68a5016e7_cgraph.md5 delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_a9cebd92bc70890c3cfa261d68a5016e7_cgraph.svg delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_a9cebd92bc70890c3cfa261d68a5016e7_cgraph_org.svg delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae1a3968e7947464bee7714f6d43b7002_cgraph.map delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae1a3968e7947464bee7714f6d43b7002_cgraph.md5 delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae1a3968e7947464bee7714f6d43b7002_cgraph.svg delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae1a3968e7947464bee7714f6d43b7002_cgraph_org.svg delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg delete mode 100644 d4/d5d/math_2armstrong__number_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg delete mode 100644 d6/d74/math_2armstrong__number_8cpp__incl.map delete mode 100644 d6/d74/math_2armstrong__number_8cpp__incl.md5 delete mode 100644 d6/d74/math_2armstrong__number_8cpp__incl.svg delete mode 100644 d6/d74/math_2armstrong__number_8cpp__incl_org.svg diff --git a/d4/d5d/math_2armstrong__number_8cpp.html b/d4/d5d/math_2armstrong__number_8cpp.html deleted file mode 100644 index 56353e7b8..000000000 --- a/d4/d5d/math_2armstrong__number_8cpp.html +++ /dev/null @@ -1,295 +0,0 @@ - - -
- - - - -|
- Algorithms_in_C++ 1.0.0
-
- Set of algorithms implemented in C++.
- |
-
Program to check if a number is an Armstrong/Narcissistic number in decimal system. -More...
-#include <cassert>#include <cmath>#include <iostream>-Functions | |
| int | number_of_digits (int num) |
| bool | is_armstrong (int number) |
| void | test () |
| int | main () |
Program to check if a number is an Armstrong/Narcissistic number in decimal system.
-Armstrong number or Narcissistic number is a number that is the sum of its own digits raised to the power of the number of digits.
-| bool is_armstrong | -( | -int | -number | ) | -- |
Function to check whether the number is armstrong number or not.
| num | Number |
true if the number is armstrong. false if the number is not armstrong. | int main | -( | -void | -) | -- |
| int number_of_digits | -( | -int | -num | ) | -- |
Function to calculate the total number of digits in the number.
| num | Number |
| void test | -( | -) | -- |
Function for testing the is_armstrong() function with all the test cases.
-Function to return the aliquot sum of a number
to return the aliquot sum of a number
+| num | The input number |
Program to return the Aliquot Sum of a number.
-The Aliquot sum s(n) of a non-negative integer n is the sum of all proper divisors of n, that is, all the divisors of n, other than itself. For example, the Aliquot sum of 18 = 1 + 2 + 3 + 6 + 9 = 21
+The Aliquot sum \(s(n)\) of a non-negative integer n is the sum of all proper divisors of n, that is, all the divisors of n, other than itself.
+Formula:
++\[ + s(n) = \sum_{d|n, d\neq n}d. +\] +
+For example; \(s(18) = 1 + 2 + 3 + 6 + 9 = 21 \)
Main function.
Self-test implementations.