MCPcopy Create free account

hub / github.com/TheAlgorithms/C-Plus-Plus / functions

Functions2,100 in github.com/TheAlgorithms/C-Plus-Plus

FunctionnumberOfCiphersInFactorialN
* @brief Function to count the number of the trailing ciphers * @param n number for which `n!` ciphers are returned * @return count, Number of ciphe
bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp:41
Methodoffset
* @brief Returns the highest power of two which is not more than `x`. * @param x Index of element in original array. * @return Offset of ind
range_queries/fenwick_tree.cpp:41
Methodon_segment
* This method determines whether a point known to be colinear * with a segment lies on that segment. */
geometry/line_segment_intersection.cpp:75
Methodoperator!
* @brief operator ! for uint128_t * @returns true if this has zero value, else false */
ciphers/uint128_t.hpp:628
Methodoperator!
* @brief operator ! for uint256_t * @returns true if this has zero value, else false */
ciphers/uint256_t.hpp:596
Functionoperator!=
ciphers/uint128_t.hpp:1079
Functionoperator!=
ciphers/uint256_t.hpp:1046
Methodoperator!=
math/large_number.h:168
Methodoperator!=
* @brief operator != for uint128_t * @param other number to be compared with this * @returns true if this is not equal than other, else fals
ciphers/uint128_t.hpp:620
Methodoperator!=
* @brief operator != for uint256_t * @param other number to be compared with this * @returns true if this is not equal than other, else fals
ciphers/uint256_t.hpp:588
Functionoperator%
ciphers/uint128_t.hpp:1034
Functionoperator%
ciphers/uint256_t.hpp:1001
Methodoperator%
* @brief operator % for uint128_t * @param p 128-bit unsigned integer * @returns unsigned 128-bit remainder. */
ciphers/uint128_t.hpp:533
Methodoperator%
* @brief operator % for uint256_t * @param p 256-bit unsigned integer * @returns unsigned 256-bit remainder. */
ciphers/uint256_t.hpp:499
Functionoperator&
ciphers/uint128_t.hpp:1041
Functionoperator&
ciphers/uint256_t.hpp:1008
Methodoperator&
* @brief operator & for uint128_t (bitwise operator) * @param p number to be operated * @returns value of this & p (& is bit-wise operator)
ciphers/uint128_t.hpp:844
Methodoperator&
ciphers/uint256_t.hpp:811
Functionoperator&&
ciphers/uint128_t.hpp:1060
Functionoperator&&
ciphers/uint256_t.hpp:1027
Methodoperator&&
* @brief operator && for uint128_t * @param b number to be compared with this * @returns true if both of the values are not zero, else false
ciphers/uint128_t.hpp:635
Methodoperator&&
* @brief operator && for uint256_t * @param b number to be compared with this * @returns true if both of the values are not zero, else false
ciphers/uint256_t.hpp:603
Methodoperator()
machine_learning/a_star_search.cpp:373
Methodoperator()
greedy_algorithms/huffman.cpp:37
Methodoperator()
* @param t1 First tuple * @param t2 Second tuple * @brief A comparator function that checks whether to swap the two tuples * or not.
cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp:74
Methodoperator()
* @param t1 First tuple * @param t2 Second tuple * @brief A comparator function that checks whether to swap the two tuples * or not.
cpu_scheduling_algorithms/fcfs_scheduling.cpp:76
Methodoperator()
* @note This function was intentionally written as recursive * and it does not handle overflows. * @returns factorial of n */
math/factorial_memoization.cpp:36
Methodoperator()
* @brief operator () for uint128_t * @returns true if this value is non-zero, else false */
ciphers/uint128_t.hpp:652
Methodoperator()
* @brief operator () for uint256_t * @returns true if this value is non-zero, else false */
ciphers/uint256_t.hpp:620
Functionoperator*
machine_learning/vector_ops.hpp:347
Functionoperator*
machine_learning/ordinary_least_squares_regressor.cpp:78
Functionoperator*
ciphers/uint128_t.hpp:1022
Functionoperator*
ciphers/uint256_t.hpp:989
Methodoperator*
divide_and_conquer/strassen_matrix_multiplication.cpp:255
Methodoperator*
Overloading method*/
data_structures/cll/cll.cpp:94
Methodoperator*
* \brief Operator overload of '*' on Complex class. * Operator overload to be able to multiple two complex numbers. * @param other The other
math/complex_numbers.cpp:117
Methodoperator*
ciphers/uint128_t.hpp:393
Methodoperator*
ciphers/uint256_t.hpp:362
Functionoperator+
machine_learning/vector_ops.hpp:406
Functionoperator+
machine_learning/ordinary_least_squares_regressor.cpp:204
Functionoperator+
ciphers/uint128_t.hpp:1010
Functionoperator+
ciphers/uint256_t.hpp:977
Methodoperator+
divide_and_conquer/strassen_matrix_multiplication.cpp:173
Methodoperator+
* \brief Operator overload of '+' on Complex class. * Operator overload to be able to add two complex numbers. * @param other The other numb
math/complex_numbers.cpp:95
Methodoperator+
ciphers/uint128_t.hpp:253
Methodoperator+
ciphers/uint256_t.hpp:220
Methodoperator++
Overload the pre-increment operator. The iterator is advanced to the next node. */
data_structures/cll/cll.cpp:98
Methodoperator++
* @brief post-increment operator * @returns incremented value of this. */
ciphers/uint128_t.hpp:306
Methodoperator++
* @brief post-increment operator * @returns incremented value of this. */
ciphers/uint256_t.hpp:275
Functionoperator-
machine_learning/vector_ops.hpp:433
Functionoperator-
machine_learning/ordinary_least_squares_regressor.cpp:183
Functionoperator-
ciphers/uint128_t.hpp:1016
Functionoperator-
ciphers/uint256_t.hpp:983
Methodoperator-
divide_and_conquer/strassen_matrix_multiplication.cpp:214
Methodoperator-
* \brief Operator overload of '-' on Complex class. * Operator overload to be able to subtract two complex numbers. * @param other The other
math/complex_numbers.cpp:106
Methodoperator-
ciphers/uint128_t.hpp:319
Methodoperator-
ciphers/uint256_t.hpp:288
Methodoperator--
* @brief operator -- (post-decrement) * @returns decremented value of this */
ciphers/uint128_t.hpp:353
Methodoperator--
* @brief operator -- (post-decrement) * @returns decremented value of this */
ciphers/uint256_t.hpp:322
Methodoperator-=
ciphers/uint256_t.hpp:335
Functionoperator/
machine_learning/vector_ops.hpp:365
Functionoperator/
machine_learning/ordinary_least_squares_regressor.cpp:174
Functionoperator/
ciphers/uint128_t.hpp:1028
Functionoperator/
ciphers/uint256_t.hpp:995
Methodoperator/
* \brief Operator overload of '/' on Complex class. * Operator overload to be able to divide two complex numbers. This function * would thro
math/complex_numbers.cpp:142
Methodoperator/
* @brief operator / for uint128_t and other integer types. * @param p 128-bit unsigned integer * @returns unsigned 128-bit quotient. */
ciphers/uint128_t.hpp:489
Methodoperator/
ciphers/uint256_t.hpp:458
Functionoperator<
ciphers/uint128_t.hpp:1085
Functionoperator<
ciphers/uint256_t.hpp:1052
Methodoperator<
* @brief check whether one board is lexicographically smaller * @returns `true` if this->state is lexicographically smaller than * `check.st
machine_learning/a_star_search.cpp:220
Methodoperator<
* @brief operator < for uint128_t * @param other number to be compared with this * @returns true if this is less than other, else false
ciphers/uint128_t.hpp:575
Methodoperator<
* @brief operator < for uint256_t * @param other number to be compared with this * @returns true if this is less than other, else false
ciphers/uint256_t.hpp:543
Methodoperator<<
ciphers/uint128_t.hpp:765
Methodoperator<<
ciphers/uint256_t.hpp:733
Functionoperator<=
ciphers/uint128_t.hpp:1091
Functionoperator<=
ciphers/uint256_t.hpp:1058
Methodoperator<=
* @brief check whether one board is lexicographically smaller or equal * @returns `true` if this->state is lexicographically smaller than *
machine_learning/a_star_search.cpp:235
Methodoperator<=
* @brief operator <= for uint128_t * @param other number to be compared with this * @returns true if this is less than or equal to other, el
ciphers/uint128_t.hpp:584
Methodoperator<=
* @brief operator <= for uint256_t * @param other number to be compared with this * @returns true if this is less than or equal to other, el
ciphers/uint256_t.hpp:552
Functionoperator==
* \brief Operator overload of '==' on Complex class. * Logical Equal overload for our Complex class. * @param a Left hand side of our expression *
math/complex_numbers.cpp:175
Functionoperator==
ciphers/uint128_t.hpp:1073
Functionoperator==
ciphers/uint256_t.hpp:1040
Methodoperator==
* @brief check whether two boards are equal * @returns `true` if check.state is equal to `this->state`, else * `false` */
machine_learning/a_star_search.cpp:202
Methodoperator==
* @brief Compares two matrices if each of them are equal or not * @param other other matrix to compare * @returns whether they are equal or
divide_and_conquer/strassen_matrix_multiplication.cpp:393
Methodoperator==
math/large_number.h:155
Methodoperator==
* @brief operator == for uint128_t * @param other number to be compared with this * @returns true if this is equal than other, else false
ciphers/uint128_t.hpp:611
Methodoperator==
* @brief operator == for uint256_t * @param other number to be compared with this * @returns true if this is equal than other, else false
ciphers/uint256_t.hpp:579
Methodoperator==
* @brief operator == for Point * @details check whether co-ordinates are equal to the given point * @param p given point to be checked with
ciphers/elliptic_curve_key_exchange.cpp:55
Functionoperator>
ciphers/uint128_t.hpp:1097
Functionoperator>
ciphers/uint256_t.hpp:1064
Methodoperator>
* @brief operator > for uint128_t * @param other number to be compared with this * @returns true if this is greater than other, else false
ciphers/uint128_t.hpp:593
Methodoperator>
* @brief operator > for uint256_t * @param other number to be compared with this * @returns true if this is greater than other, else false
ciphers/uint256_t.hpp:561
Functionoperator>=
ciphers/uint128_t.hpp:1103
Functionoperator>=
ciphers/uint256_t.hpp:1070
Methodoperator>=
* @brief operator >= for uint128_t * @param other number to be compared with this * @returns true if this is greater than or equal than othe
ciphers/uint128_t.hpp:602
Methodoperator>=
* @brief operator >= for uint256_t * @param other number to be compared with this * @returns true if this is greater than or equal than othe
ciphers/uint256_t.hpp:570
Methodoperator>>
ciphers/uint128_t.hpp:806
Methodoperator>>
ciphers/uint256_t.hpp:772
Functionoperator^
ciphers/uint128_t.hpp:1053
Functionoperator^
ciphers/uint256_t.hpp:1020
← previousnext →1,901–2,000 of 2,100, ranked by callers