Libraries; What Is A Library - Texas Instruments TINSPIRE Manual Book

Teacher software guidebook
Hide thumbs Also See for TINSPIRE:
Table of Contents

Advertisement

Libraries

What is a library?

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
and a private library
diagwithtrace()
function
.
errmsg()
Function
displays the diagonal of a square matrix and
diagwithtrace()
calculates the trace of the matrix. If its input is not a square matrix, the
function calls
, which should then return an appropriate error
errmsg()
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)
Libraries
665

Advertisement

Table of Contents
loading

Table of Contents