Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/C-Plus-Plus
/ functions
Functions
2,100 in github.com/TheAlgorithms/C-Plus-Plus
⨍
Functions
2,100
◇
Types & classes
164
Function
numberOfCiphersInFactorialN
* @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
Method
offset
* @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
Method
on_segment
* This method determines whether a point known to be colinear * with a segment lies on that segment. */
geometry/line_segment_intersection.cpp:75
Method
operator!
* @brief operator ! for uint128_t * @returns true if this has zero value, else false */
ciphers/uint128_t.hpp:628
Method
operator!
* @brief operator ! for uint256_t * @returns true if this has zero value, else false */
ciphers/uint256_t.hpp:596
Function
operator!=
ciphers/uint128_t.hpp:1079
Function
operator!=
ciphers/uint256_t.hpp:1046
Method
operator!=
math/large_number.h:168
Method
operator!=
* @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
Method
operator!=
* @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
Function
operator%
ciphers/uint128_t.hpp:1034
Function
operator%
ciphers/uint256_t.hpp:1001
Method
operator%
* @brief operator % for uint128_t * @param p 128-bit unsigned integer * @returns unsigned 128-bit remainder. */
ciphers/uint128_t.hpp:533
Method
operator%
* @brief operator % for uint256_t * @param p 256-bit unsigned integer * @returns unsigned 256-bit remainder. */
ciphers/uint256_t.hpp:499
Function
operator&
ciphers/uint128_t.hpp:1041
Function
operator&
ciphers/uint256_t.hpp:1008
Method
operator&
* @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
Method
operator&
ciphers/uint256_t.hpp:811
Function
operator&&
ciphers/uint128_t.hpp:1060
Function
operator&&
ciphers/uint256_t.hpp:1027
Method
operator&&
* @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
Method
operator&&
* @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
Method
operator()
machine_learning/a_star_search.cpp:373
Method
operator()
greedy_algorithms/huffman.cpp:37
Method
operator()
* @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
Method
operator()
* @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
Method
operator()
* @note This function was intentionally written as recursive * and it does not handle overflows. * @returns factorial of n */
math/factorial_memoization.cpp:36
Method
operator()
* @brief operator () for uint128_t * @returns true if this value is non-zero, else false */
ciphers/uint128_t.hpp:652
Method
operator()
* @brief operator () for uint256_t * @returns true if this value is non-zero, else false */
ciphers/uint256_t.hpp:620
Function
operator*
machine_learning/vector_ops.hpp:347
Function
operator*
machine_learning/ordinary_least_squares_regressor.cpp:78
Function
operator*
ciphers/uint128_t.hpp:1022
Function
operator*
ciphers/uint256_t.hpp:989
Method
operator*
divide_and_conquer/strassen_matrix_multiplication.cpp:255
Method
operator*
Overloading method*/
data_structures/cll/cll.cpp:94
Method
operator*
* \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
Method
operator*
ciphers/uint128_t.hpp:393
Method
operator*
ciphers/uint256_t.hpp:362
Function
operator+
machine_learning/vector_ops.hpp:406
Function
operator+
machine_learning/ordinary_least_squares_regressor.cpp:204
Function
operator+
ciphers/uint128_t.hpp:1010
Function
operator+
ciphers/uint256_t.hpp:977
Method
operator+
divide_and_conquer/strassen_matrix_multiplication.cpp:173
Method
operator+
* \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
Method
operator+
ciphers/uint128_t.hpp:253
Method
operator+
ciphers/uint256_t.hpp:220
Method
operator++
Overload the pre-increment operator. The iterator is advanced to the next node. */
data_structures/cll/cll.cpp:98
Method
operator++
* @brief post-increment operator * @returns incremented value of this. */
ciphers/uint128_t.hpp:306
Method
operator++
* @brief post-increment operator * @returns incremented value of this. */
ciphers/uint256_t.hpp:275
Function
operator-
machine_learning/vector_ops.hpp:433
Function
operator-
machine_learning/ordinary_least_squares_regressor.cpp:183
Function
operator-
ciphers/uint128_t.hpp:1016
Function
operator-
ciphers/uint256_t.hpp:983
Method
operator-
divide_and_conquer/strassen_matrix_multiplication.cpp:214
Method
operator-
* \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
Method
operator-
ciphers/uint128_t.hpp:319
Method
operator-
ciphers/uint256_t.hpp:288
Method
operator--
* @brief operator -- (post-decrement) * @returns decremented value of this */
ciphers/uint128_t.hpp:353
Method
operator--
* @brief operator -- (post-decrement) * @returns decremented value of this */
ciphers/uint256_t.hpp:322
Method
operator-=
ciphers/uint256_t.hpp:335
Function
operator/
machine_learning/vector_ops.hpp:365
Function
operator/
machine_learning/ordinary_least_squares_regressor.cpp:174
Function
operator/
ciphers/uint128_t.hpp:1028
Function
operator/
ciphers/uint256_t.hpp:995
Method
operator/
* \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
Method
operator/
* @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
Method
operator/
ciphers/uint256_t.hpp:458
Function
operator<
ciphers/uint128_t.hpp:1085
Function
operator<
ciphers/uint256_t.hpp:1052
Method
operator<
* @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
Method
operator<
* @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
Method
operator<
* @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
Method
operator<<
ciphers/uint128_t.hpp:765
Method
operator<<
ciphers/uint256_t.hpp:733
Function
operator<=
ciphers/uint128_t.hpp:1091
Function
operator<=
ciphers/uint256_t.hpp:1058
Method
operator<=
* @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
Method
operator<=
* @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
Method
operator<=
* @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
Function
operator==
* \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
Function
operator==
ciphers/uint128_t.hpp:1073
Function
operator==
ciphers/uint256_t.hpp:1040
Method
operator==
* @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
Method
operator==
* @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
Method
operator==
math/large_number.h:155
Method
operator==
* @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
Method
operator==
* @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
Method
operator==
* @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
Function
operator>
ciphers/uint128_t.hpp:1097
Function
operator>
ciphers/uint256_t.hpp:1064
Method
operator>
* @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
Method
operator>
* @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
Function
operator>=
ciphers/uint128_t.hpp:1103
Function
operator>=
ciphers/uint256_t.hpp:1070
Method
operator>=
* @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
Method
operator>=
* @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
Method
operator>>
ciphers/uint128_t.hpp:806
Method
operator>>
ciphers/uint256_t.hpp:772
Function
operator^
ciphers/uint128_t.hpp:1053
Function
operator^
ciphers/uint256_t.hpp:1020
← previous
next →
1,901–2,000 of 2,100, ranked by callers