Close
Close window
Table Class - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Table

Python representation of a Maple table

Description

The Table class represents Maple objects of type table .

Method Summary

maplesoft.maple.Table inherits all the methods defined on Indexable objects.

It implements the collections.abc.MutableMapping base abstract class from the collections.abc module .

The following methods are defined on any Table object and invoke the specified implementation in Maple.

Method name

Usage

Maple implementation

__delitem__

del x[y]

Delete the key y and its associated value from table x

__getitem__

x[y]

Retrieve the value from table x associated with key x

__setitem__

x[y] = z

Assign the value z to key y in the table x

__len__

len(x)

Returns the number of elements in the container x

keys

x.keys()

Return a list of keys of the table

values

x.values()

Return a list of values of the table

items

x.items()

Return a list of 2-tuples corresponding to keys and values of the table x

Superclass

Indexable

Examples


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /