You are here: Libraries

Libraries

A library is a TI‑Nspire™ document that contains a collection of variables, functions, and/or programs that have been defined as library objects.

Unlike ordinary variables, functions, and programs, which can be used only within a single problem (the problem in which they are defined), library objects are accessible from any document. You can even create public library objects that appear in the TI‑Nspire™ Catalog.

For example, suppose you have created library document matrix containing public library function diagwithtrace() and a private library function errmsg().

Function diagwithtrace() displays the diagonal of a square matrix and calculates the trace of the matrix. If its input is not a square matrix, the function calls errmsg(), which should then return an appropriate error string.

You could then use the following syntax to display the diagonal and calculate the trace of matrix m defined in the current problem:

matrix\diagwithtrace(m)

Topic Links

Creating Libraries and Library Objects

Private and Public Library Objects

Using Library Objects

Creating Shortcuts to Library Objects

Included Libraries

Restoring an Included Library

 

© 2006 - 2016 Texas Instruments Incorporated