Skip to content
Property Value
Hex Value $BB3A
Categories
Localizations
  • FR: List►matr(

List►matr(

Overview

Fills matrixname column by column with the elements from each specified listname.

Availability: Token available everywhere.

Syntax

List►matr(listname1,...,listname n,matrixname)

Arguments

NameTypeOptional
listname1listName
...
listname nlist
matrixnamematrix

Location

2nd, list, OPS, 0:List, matr(


Description

The List►matr( builds a matrix by combining several list expressions, and stores it to the specified variable ([A] through [J]). Each list specifies a column of the matrix: the first list will be stored down the first (leftmost) column, the second list down the second column, and so on. For example:

List►matr({1,2,3},{10,20,30},{100,200,300},[A]
        Done
[A]
        [[1 10 100]
         [2 20 200]
         [3 30 300]]

Advanced Uses

The calculator can actually handle lists that are not the same size. It will pad zeroes to the shorter lists, until they have the same length as the longest list.

List►matr({1,2,3},{10},{100,200},[A]
        Done
[A]
        [[1 10 100]
         [2  0 200]
         [3  0   0]]

Error Conditions

  • ERR:ARGUMENT is thrown if there are more than 99 lists (since a matrix can be at most 99x99)
  • ERR:INVALID DIM is thrown if one of the lists is longer than 99 elements (since a matrix can be at most 99x99)

Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, thornahawk, Timothy Foster.

History

Calculator OS Version Description
TI-83 0.01013 Added

Last update: September 30, 2023 15:38:51
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand