Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Assoc

Function: assoc (<key>, <list>, <default>)

Function: assoc (<key>, <list>) This function searches for the <key> in the left hand side of the input <list> of the form [x,y,z,...] where each of the <list> elements is an expression of a binary operand and 2 elements. For example x=1, 2^3, [a,b] etc. The <key> is checked againts the first operand. assoc returns the second operand if the key is found. If the key is not found it either returns the <default> value. <default> is optional and defaults to false.

There are also some inexact matches for assoc. Try ?? assoc to see them.

(%o1)                                true
(%i2) 

Related Examples

assoc

assoc(1,[[1, 10], [2,...

Calculate

assoc-solve

L:a1+b1-3*c1-1;

T:-a1-1;

M:c1+1;

Calculate

assoc-makelist

makelist(assoc(is(i=1...

Calculate

assoc-makelist

makelist(assoc(is(i=1...

Calculate

assoc

assoc(true,[[true, 2]...

Calculate

assoc-solve

L:a1+b1-3*c1-1;

T:-a1-1;

M:c1+1;

Calculate

assoc

assoc(3,[[1, 0001], [...

Calculate

assoc

assoc(A,[[0, 0],[1,1]...

Calculate

assoc-makelist-mod

makelist(assoc(mod(i,...

Calculate

assoc

assoc(3,[[1,0001],[2,...

Calculate