| 1774 | } |
| 1775 | |
| 1776 | void Encode::efficient_sparse(const QVec &q, const std::vector<double>& data) |
| 1777 | { |
| 1778 | |
| 1779 | map<string, double>state = _build_state_dict(data); |
| 1780 | |
| 1781 | efficient_sparse(q, state); |
| 1782 | |
| 1783 | } |
| 1784 | |
| 1785 | void Encode::efficient_sparse(const QVec &q, const std::map<string, double>&data) |
| 1786 | { |