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:

Cons

Function: cons (<expr>, <list>) Returns a new list constructed of the element <expr> as its first element, followed by the elements of <list>. cons also works on other expressions, e.g. cons(x, f(a,b,c)); -> f(x,a,b,c).

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

(%o1)                                true
(%i2) 

Related Examples

cons-kill-makelist

a:[makelist(n, n, 1, ...

b:makelist(n, n, 1, 10);

c:makelist(makelist(n...

Calculate

cons-let

:lisp (defun pairs (i...

:lisp (pairs '(1 2 3 ...

pairs([1, 2, 3, 4, 5]);

Calculate

cons-let-subst

:lisp (defun pairs (i...

:lisp (defun separate...

:lisp (setf a (pairs ...

Calculate

cons-let

:lisp (defun pairs (i...

:lisp (pairs '(1 2 3 ...

Calculate

cons-do-mod

n : 12;

b : 2;

L : [];

Calculate

cons-if-labels-let

:lisp (defun r (n) (l...

Calculate

cons-eliminate-ev-fpprintprec-map-plot2d-solve
plot2d(map(rhs,ev([e1,e2],[c,c1])),[Vgs,-3,0]);

fpprintprec: 2;

e1: id = idss*(1-Vgs/...

e2: id = (Vg-Vgs)/Rs;

Calculate

cons-first-rest

_reverse_(A, B) := if...

Calculate

cons

cons(X, [[1],[2],[3]]);

Calculate

cons-endcons-plot2d
plot2d( [discrete, xy], [style, points], [color, red]);

xy: [[1,2],[3,4]];

cons([10, .6],xy);

cons([20, .9],xy);

Calculate