Add reverse map entries to categoricals.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 18 Oct 2009 19:46:46 +0000 (21:46 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 18 Oct 2009 19:46:46 +0000 (21:46 +0200)
commitfc4133a6cd4b508fd61571a71cb19ccaea65a7f8
treedc8506bae56ff5fd08b6ec6b82cbdf2093af4635
parent194d01aaac43a41a174037357f89bc164b5c5213
Add reverse map entries to categoricals.

Allow categorical values and variables to be efficiently
indexed by the non-zero binary vector entry to which they
map.
src/math/categoricals.c
src/math/categoricals.h