commenting insert

release/4.3a0
Frank Dellaert 2011-10-28 19:05:45 +00:00
parent 980ed4d590
commit 0bf987f866
1 changed files with 6 additions and 1 deletions

View File

@ -124,7 +124,12 @@ namespace gtsam {
/** Reference a variable by index. */
const SubVector& operator[](Index j) const { checkExists(j); return maps_[j]; } //
/** Insert a new variable (causes reallocation). */
/** Insert a vector \c value with index \c j.
* Causes reallocation. Can be used to insert values in any order, but
* throws an invalid_argument exception if the index \j is already used.
* @param value The vector to be inserted.
* @param j The index with which the value will be associated.
*/
void insert(Index j, const Vector& value); //
/** Assignment */