StackOverflow Questions for Tag: reduce

Raven A
Raven A

Reputation: 1

Flatten Date Sequence with an attached Value in Google Sheets (Without the use of Macros)

Score: 0

Views: 10

Answers: 0

Read More
Spille
Spille

Reputation: 597

Using a reduce operation on a Java 8 Stream to group adjacent entries with the same key

Score: 6

Views: 217

Answers: 3

Read More
LXYan
LXYan

Reputation: 61

OpenMP reduce on large heap array cause segment fault

Score: 3

Views: 70

Answers: 1

Read More
Ricman R
Ricman R

Reputation: 13

Inject behavior when last element is used before referencing accumulator

Score: 0

Views: 87

Answers: 1

Read More
qcp
qcp

Reputation: 113

Adding BigDecimal in Stream using reduce method

Score: 1

Views: 1223

Answers: 1

Read More
mikolaj-jalocha
mikolaj-jalocha

Reputation: 728

Compiler error "Bad return type in lambda expression" when reducing a list of values to a delimited string

Score: 1

Views: 126

Answers: 2

Read More
Mozarts
Mozarts

Reputation: 61

How can I reduce or flatten an array of arrays using the Array.concat() method inside the callback function for Array.reduce()

Score: 0

Views: 540

Answers: 2

Read More
mbac32768
mbac32768

Reputation: 11623

Does OCaml have general map()/reduce() functions?

Score: 20

Views: 3700

Answers: 5

Read More
saswata
saswata

Reputation: 25

Why does this use of Stream.reduce give this particular result?

Score: -1

Views: 138

Answers: 1

Read More
amy
amy

Reputation: 83

2d array - group by first item and calculate average of corresponding number

Score: -1

Views: 70

Answers: 2

Read More
cywh
cywh

Reputation: 9

Label the row according to the source

Score: 1

Views: 72

Answers: 2

Read More
bowmore
bowmore

Reputation: 11308

How to short-circuit a reduce() operation on a Stream?

Score: 31

Views: 3893

Answers: 6

Read More
phizzy
phizzy

Reputation: 956

Why does the callback function for reduce take four parameters?

Score: 2

Views: 2209

Answers: 3

Read More
WestCoastProjects
WestCoastProjects

Reputation: 63201

"Error: no suitable method found for reduce" when reducing an int[] array using streams

Score: 0

Views: 1211

Answers: 2

Read More
tbd_
tbd_

Reputation: 1268

Implementing reduce() from scratch, not sure how JS knows what "array" is

Score: 5

Views: 5544

Answers: 2

Read More
MaxBr
MaxBr

Reputation: 43

React createContext argument required

Score: 2

Views: 1435

Answers: 1

Read More
Jake
Jake

Reputation: 49

Why has my array element been changed by this declaration?

Score: 4

Views: 95

Answers: 3

Read More
Aljosha Novakovic
Aljosha Novakovic

Reputation: 350

How would you use .reduce() on arguments instead of a specific array or object?

Score: 4

Views: 8801

Answers: 5

Read More
Mulan
Mulan

Reputation: 135396

How to map/reduce/filter a Set in JavaScript?

Score: 288

Views: 175852

Answers: 5

Read More
user5536315
user5536315

Reputation:

How to avoid intermediate results when performing array iterations?

Score: 2

Views: 350

Answers: 2

Read More
PreviousPage 1Next