stan-dev/stan — pull request #1075 by bob-carpenter (2014-10-10 06:54:51+00:00)
Title: Feature/issue 1065 index traits

#### Summary:

Replace Eigen code insertion in EigenDenseBaseAddons with trait metaprograms in math/meta and math/matrix/meta. These calculate the size/index type and value type for standard vector and Eigen matrix containers.

#### Intended Effect:

Removes order dependency previously requiring the addons to be included before any other Eigen header file.

#### How to Verify:

New unit tests for the traits program. All the old unit tests still run.

#### Side Effects:

None.

#### Documentation:

New code is all documented. Nothing user facing.

#### Reviewer Suggestions:

@syclik