Top "Flatten" questions

Flattening refers to either reducing a multi-dimensional array to a single dimension or to reducing a class and class methods to handle based function calls.

Flatten FDF / XFDF forms to PDF in PHP with utf-8 characters

My scenario: A PDF template with formfields: template.pdf An XFDF file that contains the data to be filled in: …

pdf utf-8 flatten pdftk xfdf
AutoMapper and flattening nested arrays

I'm trying to use AutoMapper to flatten multiple levels of arrays. Consider the following source classes: class X { public string …

c# flatten automapper-2
Flatten tuple like a bag

My dataset looks like the following: ( A, (1,2) ) ( B, (2,9) ) I would like to "flatten" the tuples in Pig, basically repeating each …

hadoop apache-pig flatten
how to do a "flat push" in javascript?

I want to push all individual elements of a source array onto a target array, target.push(source); puts just …

javascript arrays push flatten
Scala: Remove none elements from map and flatten

I have a map: Map("key1" -> Some("value1"), "key2" -> None, "key3" -> Some("value3")) I …

scala dictionary flatten
Flatten a tree (list of lists) with one statement?

Thanks to nHibernate, some of the data structures I work with are lists within lists within lists. So for example …

.net tree flatten
Flatten Adjacency List Hierarchy To A List Of All Paths

I have a Table that stores Hierarchical information using the Adjacency List model. (uses a self referential key - example …

sql hierarchy adjacency-list flatten
How to flatten (reshape to 1D) an array of arbitrary dimension in Labview

Let A be an array of arbitrary dimension (2 or 3 in my case). How can I flatten (reshape to 1D) this …

arrays labview flatten
Python 3: Flattening nested dictionaries and lists within dictionaries

I am dealing with a complex nested dictionary and list data structure. I need to flatten the data and bring …

python list dictionary nested flatten