Top "Counting" questions

Counting is the action of finding the number of elements of a finite set of objects.

Reference Counting in C++

I'm implementing a math library in C++. The library will be compiled to a DLL so those who use it …

c++ reference counting
Counting the number of words in a string, C++

Possible Duplicate: C++ function to count all the words in a string So I have a line of words which …

c++ string counting
Pyspark dataframe: Count elements in array or list

Let us assume dataframe df as: df.show() Output: +------+----------------+ |letter| list_of_numbers| +------+----------------+ | A| [3, 1, 2, 3]| | B| [1, 2, 1, 1]| +------+…

arrays list dataframe pyspark counting
Understanding how to count FLOPs

I am having a hard time grasping how to count FLOPs. One moment I think I get it, and the …

matlab floating-point counting flops
How can I find and count number of files matching a given string?

I want to find and count all the files on my system that begin with some string, say "foo", using …

bash counting
Check if specific characters are in a string

I need to find and count how many characters can be found in a string. I have divided the characters …

python string counting
What is the Julia function to count combinations (n choose k)?

I'm looking for the (hopefully built-in) function in Julia that calculates the number of combinations I could obviously implement my …

julia combinatorics counting
How do you calculate the total number of all possible unique subsets from a set with repeats?

Given a set** S containing duplicate elements, how can one determine the total number all the possible subsets of S, …

language-agnostic math set combinatorics counting