Objects—Other Data Structures

Although RLaB  is primarily a linear-algebra programming tool, other data structures are necessary to allow the user some flexibility, and a little extensibility. The two remaining data structures do just that. Strings allow users/programmers to write intelligible error messages, and properly annotate program inputs and outputs, as well as label quantities during program execution. The list object is a very flexible data structure that can hold numeric, string, function and other list objects. Since lists are indexed in an associative fashion, they are a very powerful tool.



Subsections