You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<trclass="memdesc:a0e166197ba3335fb4bbaa69cc9c81999"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the values given in <code>vec</code> into <code>output</code>. <ahref="#a0e166197ba3335fb4bbaa69cc9c81999">More...</a><br/></td></tr>
<trclass="memdesc:a27885b488d600db02c271a5a778c8ca7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">If we have q_selected = dof_mask.GetFromArray(q_full), then this function returns a mapping from q_selected index to q_full index, such that q_selected[i] is the same as q_full[dof_mask.GetSelectedToFullIndex()[i]]. <ahref="#a27885b488d600db02c271a5a778c8ca7">More...</a><br/></td></tr>
<trclass="memdesc:a4a968b6e61a6112f935a4e5a2166be56"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The inverse mapping of <aclass="el" href="classdrake_1_1planning_1_1_dof_mask.html#a27885b488d600db02c271a5a778c8ca7" title="If we have q_selected = dof_mask.GetFromArray(q_full), then this function returns a mapping from q_se...">GetSelectedToFullIndex()</a>. <ahref="#a4a968b6e61a6112f935a4e5a2166be56">More...</a><br/></td></tr>
<p>Overload for <aclass="el" href="classdrake_1_1planning_1_1_dof_mask.html#ac14bc418a0258c2c663cdabf41f344a5" title="@group Scattering and gathering">GetFromArray()</a> which returns the read values in a new vector instead of writing to an output argument. </p>
<p>The inverse mapping of <aclass="el" href="classdrake_1_1planning_1_1_dof_mask.html#a27885b488d600db02c271a5a778c8ca7" title="If we have q_selected = dof_mask.GetFromArray(q_full), then this function returns a mapping from q_se...">GetSelectedToFullIndex()</a>. </p>
580
+
<p>If we have q_selected = dof_mask.GetFromArray(q_full), the this function returns the mapping from q_full index to q_selected index. Namely if dof_mask[i] is true, namely q_full[i] is selected, then q_selected[*dof_mask.<aclass="el" href="classdrake_1_1planning_1_1_dof_mask.html#a4a968b6e61a6112f935a4e5a2166be56" title="The inverse mapping of GetSelectedToFullIndex().">GetFullToSelectedIndex()</a>[i]] is the same as q_full[i]; if dof_mask[i] is false, then dof_mask.GetFullToSelectedIndex()[i] is nullopt. </p>
<p>If we have q_selected = dof_mask.GetFromArray(q_full), then this function returns a mapping from q_selected index to q_full index, such that q_selected[i] is the same as q_full[dof_mask.GetSelectedToFullIndex()[i]]. </p>
0 commit comments