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:

First

Function: first (<expr>) Returns the first part of <expr> which may result in the first element of a list, the first row of a matrix, the first term of a sum, etc. Note that first and its related functions, rest and last, work on the form of <expr> which is displayed not the form which is typed on input. If the variable inflag is set to true however, these functions will look at the internal form of <expr>. Note that the simplifier re-orders expressions. Thus first(x+y) will be x if inflag is true and y if inflag is false (first(y+x) gives the same results). The functions second .. tenth yield the second through the tenth part of their input argument.

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

(%o1)                                true
(%i2) 

Related Examples

first-lambda-map-rest

endconstr(L, e) := ma...

Calculate

first-if-lambda-makelist-map-mod-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

first-lambda-let

:lisp (defun next (li...

:lisp (next '(a b c d));

:lisp (next '(a b c d));

Calculate

first-lambda-let

:lisp (defun next (li...

:lisp (next '(a b c d));

:lisp (next '(a b c d));

Calculate

first-matrix

A:matrix([1,2,6],[1,3...

b:matrix([3],[1],[4]);

X:matrix([x],[y],[z]);

Calculate

first-float-second-solve

R1:600;

R2:600;

C1:13.85*10^-9;

Calculate

first-load-matrix-second

load (lsquares);

second(first(first(ls...

Calculate

first-solve

x(t) := a * t + a0;

y(t) := b * t + b0;

z(t) := c * t + c0;

Calculate

first

first([1]);

1;

Calculate

first-floor-log-quad_qag

first(quad_qag(1/(1+f...

Calculate