RTableSelect extracts the element at the index from the rtable rt. RTableAssign sets the element at the index in the rtable rt to val.

•

These functions are especially useful for extracting elements from rtables with indexing functions or unusual storage. For example, assigning directly to the data-block of a dense symmetric Matrix may violate the symmetric property of the Matrix unless you are careful to ensure the element reflected along the diagonal is also updated. This is automatically handled when using RTableSelect and RTableAssign.

•

The value val set by RTableAssign, and returned by RTableSelect is one of the datatypes in the RTableData union. The type must exactly correspond to the rtabledata_type. The following union members match with these rtable_types.