The math Reference Manual

This is the math Reference Manual, version 0.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:15:43 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 math

Math is a math library, implementing some algorithms: @begin(list)
@item(linear algebra;)
@item(operations with matrices;)
@item(statistical functions;)
@item(linear and bilinear interpolation;)
@item(finding approximating polynomials, implemented in Common Lisp.)
@end(list)

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Version

0.0.2

Dependencies
Source

math.asd.

Child Component

src/math (module).


2.2 math/core

Содержит некоторые функции и обобщенные функции, используемые в проекте повсеместно

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/core (module).


2.3 math/coord

Содержит функции преобразования
- угловой меры;
- координат точки между декартовой, полярной, сферической системами координат.

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependency

math/core (system).

Source

math.asd.

Child Component

src/coord (module).


2.4 math/matr

@b(Описание:) система @b(math/matr) содержит некоторых операций над матрицами

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
Source

math.asd.

Child Component

src/matr (module).


2.5 math/stat

Describe math here

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependency

math/core (system).

Source

math.asd.

Child Component

src/stat (module).


2.6 math/geom

Функции вычисления площадей и объемов геометрических фигур и тел.

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/geom (module).


2.7 math/equation

@b(Описание:) система @b(math/equation) содержит
функции для нахождения корней линейных, квадратных, кубических и уравнений 4-ой степени (последнее не реализовано).

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/equation (module).


2.8 math/smooth

Весовые функции для методов сглаживания

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/smooth (module).


2.9 math/rnd

Содержит функции для генерирования случайных списков и 2d-списков.

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependency

math/matr (system).

Source

math.asd.

Child Component

src/rnd (module).


2.10 math/ls-gauss

Решение систем линейных уравнений методом Гаусса

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependency

math/matr (system).

Source

math.asd.

Child Component

src/ls-gauss (module).


2.11 math/ls-gsll

Решение систем линейных уравнений при помощи библиотеки gsll

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
Source

math.asd.

Child Component

src/ls-gsll (module).


2.12 math/ls-rotation

Реализация решение системы линейных уравнений методом вращения

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/ls-rotation (module).


2.13 math/gnuplot

Интерфейс к программе построения графиков gnuplot

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
  • math/core (system).
  • font-discovery (system).
  • vgplot (system).
Source

math.asd.

Child Component

src/gnuplot (module).


2.14 math/appr

Describe math here

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
Source

math.asd.

Child Component

src/appr (module).


2.15 math/series

@b(Описание:) система @b(math/series) определяет некоторые операции с прогрессиями.

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Dependencies
Source

math.asd.

Child Component

src/series (module).


2.16 math/half-div

Describe half-div here

Author

Mykola Matvyeyev <>

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 or later

Source

math.asd.

Child Component

src/half-div (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 math/src/math

Source

math.asd.

Parent Component

math (system).

Child Component

math.lisp (file).


3.2 math/core/src/core

Source

math.asd.

Parent Component

math/core (system).

Child Components

3.3 math/coord/src/coord

Source

math.asd.

Parent Component

math/coord (system).

Child Components

3.4 math/matr/src/matr

Source

math.asd.

Parent Component

math/matr (system).

Child Components

3.5 math/stat/src/stat

Source

math.asd.

Parent Component

math/stat (system).

Child Components

3.6 math/geom/src/geom

Source

math.asd.

Parent Component

math/geom (system).

Child Components

3.7 math/equation/src/equation

Source

math.asd.

Parent Component

math/equation (system).

Child Components

3.8 math/smooth/src/smooth

Source

math.asd.

Parent Component

math/smooth (system).

Child Components

3.9 math/rnd/src/rnd

Source

math.asd.

Parent Component

math/rnd (system).

Child Components

3.10 math/ls-gauss/src/ls-gauss

Source

math.asd.

Parent Component

math/ls-gauss (system).

Child Components

3.11 math/ls-gsll/src/ls-gsll

Source

math.asd.

Parent Component

math/ls-gsll (system).

Child Components

3.12 math/ls-rotation/src/ls-rotation

Source

math.asd.

Parent Component

math/ls-rotation (system).

Child Components

3.13 math/gnuplot/src/gnuplot

Source

math.asd.

Parent Component

math/gnuplot (system).

Child Components

3.14 math/appr/src/appr

Source

math.asd.

Parent Component

math/appr (system).

Child Components

3.15 math/series/src/series

Source

math.asd.

Parent Component

math/series (system).

Child Components

3.16 math/half-div/src/half-div

Source

math.asd.

Parent Component

math/half-div (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.2 math/src/math/math.lisp

Source

math.asd.

Parent Component

src/math (module).

Packages

math.

Public Interface

mult-matr-vect (function).


4.1.3 math/core/src/core/core.lisp

Source

math.asd.

Parent Component

src/core (module).

Packages

math/core.

Public Interface
Internals

e-value (function).


4.1.4 math/core/src/core/core-doc.lisp

Dependency

core.lisp (file).

Source

math.asd.

Parent Component

src/core (module).


4.1.5 math/coord/src/coord/coord.lisp

Source

math.asd.

Parent Component

src/coord (module).

Packages

math/coord.

Public Interface

4.1.6 math/coord/src/coord/coord-doc.lisp

Dependency

coord.lisp (file).

Source

math.asd.

Parent Component

src/coord (module).


4.1.7 math/matr/src/matr/matr.lisp

Source

math.asd.

Parent Component

src/matr (module).

Packages

math/matr.

Public Interface
Internals

4.1.8 math/matr/src/matr/defmethod.lisp

Dependency

matr.lisp (file).

Source

math.asd.

Parent Component

src/matr (module).

Public Interface

4.1.9 math/matr/src/matr/matr-doc.lisp

Dependency

defmethod.lisp (file).

Source

math.asd.

Parent Component

src/matr (module).

Internals

4.1.10 math/stat/src/stat/stat.lisp

Source

math.asd.

Parent Component

src/stat (module).

Packages

math/stat.

Public Interface
Internals

4.1.11 math/stat/src/stat/stat-doc.lisp

Dependency

stat.lisp (file).

Source

math.asd.

Parent Component

src/stat (module).


4.1.12 math/geom/src/geom/geom.lisp

Source

math.asd.

Parent Component

src/geom (module).

Packages

math/geom.

Public Interface

4.1.13 math/geom/src/geom/geom-doc.lisp

Dependency

geom.lisp (file).

Source

math.asd.

Parent Component

src/geom (module).


4.1.14 math/equation/src/equation/equation.lisp

Source

math.asd.

Parent Component

src/equation (module).

Packages

math/equation.

Public Interface

4.1.15 math/equation/src/equation/equation-doc.lisp

Dependency

equation.lisp (file).

Source

math.asd.

Parent Component

src/equation (module).


4.1.16 math/smooth/src/smooth/smooth.lisp

Source

math.asd.

Parent Component

src/smooth (module).

Packages

math/smooth.

Public Interface

4.1.17 math/smooth/src/smooth/smooth-doc.lisp

Dependency

smooth.lisp (file).

Source

math.asd.

Parent Component

src/smooth (module).


4.1.18 math/rnd/src/rnd/rnd.lisp

Source

math.asd.

Parent Component

src/rnd (module).

Packages

math/rnd.

Public Interface

4.1.19 math/rnd/src/rnd/rnd-doc.lisp

Dependency

rnd.lisp (file).

Source

math.asd.

Parent Component

src/rnd (module).


4.1.20 math/ls-gauss/src/ls-gauss/ls-gauss.lisp

Source

math.asd.

Parent Component

src/ls-gauss (module).

Packages

math/ls-gauss.

Public Interface

4.1.21 math/ls-gauss/src/ls-gauss/ls-gauss-doc.lisp

Dependency

ls-gauss.lisp (file).

Source

math.asd.

Parent Component

src/ls-gauss (module).


4.1.22 math/ls-gsll/src/ls-gsll/ls-gsll.lisp

Source

math.asd.

Parent Component

src/ls-gsll (module).

Packages

math/ls-gsll.

Public Interface

4.1.23 math/ls-gsll/src/ls-gsll/ls-gsll-doc.lisp

Dependency

ls-gsll.lisp (file).

Source

math.asd.

Parent Component

src/ls-gsll (module).


4.1.24 math/ls-rotation/src/ls-rotation/ls-rotation.lisp

Source

math.asd.

Parent Component

src/ls-rotation (module).

Packages

math/ls-rotation.

Public Interface

solve-x (generic function).


4.1.25 math/ls-rotation/src/ls-rotation/ls-rotation-doc.lisp

Dependency

ls-rotation.lisp (file).

Source

math.asd.

Parent Component

src/ls-rotation (module).


4.1.26 math/gnuplot/src/gnuplot/gnuplot.lisp

Source

math.asd.

Parent Component

src/gnuplot (module).

Packages

math/gnuplot.

Public Interface
Internals

4.1.27 math/gnuplot/src/gnuplot/gnuplot-doc.lisp

Dependency

gnuplot.lisp (file).

Source

math.asd.

Parent Component

src/gnuplot (module).


4.1.28 math/appr/src/appr/appr.lisp

Source

math.asd.

Parent Component

src/appr (module).

Packages

math/appr.

Public Interface
Internals

4.1.29 math/appr/src/appr/appr-doc.lisp

Dependency

appr.lisp (file).

Source

math.asd.

Parent Component

src/appr (module).


4.1.30 math/series/src/series/series.lisp

Source

math.asd.

Parent Component

src/series (module).

Packages

math/series.

Public Interface
Internals

4.1.31 math/series/src/series/series-doc.lisp

Dependency

series.lisp (file).

Source

math.asd.

Parent Component

src/series (module).


4.1.32 math/half-div/src/half-div/half-div.lisp

Source

math.asd.

Parent Component

src/half-div (module).

Packages

math/half-div.

Public Interface
Internals

4.1.33 math/half-div/src/half-div/half-div-doc.lisp

Dependency

half-div.lisp (file).

Source

math.asd.

Parent Component

src/half-div (module).


5 Packages

Packages are listed by definition order.


5.1 math/rnd

@b(Описание:) пакет @b(math/rnd) содержит функции, предназначенные для создания случайных одномерных (1d-list) и двумерных (2d-list) списков, а также систем линейных уравнений со сручайным наперед заданным решением.

Source

rnd.lisp.

Use List

common-lisp.

Public Interface

5.2 math

Source

math.lisp.

Use List

common-lisp.

Public Interface

mult-matr-vect (function).


5.3 math/core

Source

core.lisp.

Use List

common-lisp.

Used By List
Public Interface
Internals

e-value (function).


5.4 math/gnuplot

Source

gnuplot.lisp.

Use List
Public Interface
Internals

5.5 math/appr

Source

appr.lisp.

Use List

common-lisp.

Public Interface
Internals

5.6 math/ls-gauss

Source

ls-gauss.lisp.

Use List

common-lisp.

Public Interface

5.7 math/coord

coord

Source

coord.lisp.

Use List
Used By List

math/matr.

Public Interface

5.8 math/half-div

@b(Описание:) пакет @b( half-div) реализует алгоритм половинного деления для выполнения поиска корня функции на отрезке.

Source

half-div.lisp.

Use List

common-lisp.

Public Interface
Internals

5.9 math/smooth

Source

smooth.lisp.

Use List

common-lisp.

Public Interface

5.10 math/equation

Source

equation.lisp.

Use List

common-lisp.

Public Interface

5.11 math/ls-rotation

Source

ls-rotation.lisp.

Use List

common-lisp.

Public Interface

solve-x (generic function).


5.12 math/ls-gsll

@b(Описание:) пакет @b(math/ls-gsll) пределяет функции для решения СЛАУ методом LU-разложения при помощи системσ GSLL.

Source

ls-gsll.lisp.

Use List

common-lisp.

Public Interface

5.13 math/series

@b(Описание:) пакет @b(math/series) определяет некоторые операции с прогрессиями.

Source

series.lisp.

Use List

common-lisp.

Public Interface
Internals

5.14 math/stat

Source

stat.lisp.

Use List
Public Interface
Internals

5.15 math/geom

Source

geom.lisp.

Use List

common-lisp.

Public Interface

5.16 math/matr

@b(Описание:) пакет @b(math/matr) определяет некоторые операции над матрицами, представленными 2d-list, (списком состоящим из списков)

Source

matr.lisp.

Use List
Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Special variables

Special Variable: *apr-args-1*

Аргументы для функции одного параметра. @begin[lang=lisp](code) ’(x1 yy) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-args-2*

Аргументы для функции двух параметров. @begin[lang=lisp](code) ’(x1 x2 yy) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-1-2*

Шаблон для построения линейной функции одного параметра: x1 с двумя коэффициентами.

@begin[lang=lisp](code) ’((x1) (1.0) (yy)) @end(code) @begin[lang=scribe](code) yy(x@sub(1))=a·x@sub(1)+b @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-1-3*

Шаблон для построения квадратичной функции одного параметра: x1 c тремя коэффициентами. @begin[lang=lisp](code) ’((x1 x1) (x1) (1.0) (yy)) @end(code) @begin[lang=scribe](code) yy(x@sub(1))=a·x@sub(1)@sup(2)+b·x@sub(1)+c @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-1-4*

Шаблон для построения квадратичной функции одного параметра: x1 c
четырьмя коэффициентами.

@begin[lang=lisp](code) ’((x1 x1 x1) (x1 x1) (x1) (1.0) (yy)) @end(code)

@begin[lang=scribe](code) yy(x@sub(1))=a·x@sub(1)@sup(3)+b·x@sub(1)@sup(2)+c·x@sub(1)+d @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-1-5*

Шаблон для построения квадратичной функции одного параметра: x1 c пятью коэффициентами.
@begin[lang=lisp](code) ’((x1 x1 x1 x1) (x1 x1 x1) (x1 x1) (x1) (1.0) (yy)) @end(code)
@begin[lang=scribe](code) yy(x@sub(1))=a·x@sub(1)@sup(4)+b·x@sub(1)@sup(3)+c·x@sub(1)@sup(2)+d·x@sub(1)+e @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-4*

@b(Описание:) *apr-func-2-4* шаблон для построения функции двух параметров:
x1 и x2 c четырьмя коэффициентами.
@begin[lang=lisp](code) ’((x1 x2) (x1) (x2) (1.0) (yy)) @end(code) @begin[lang=scribe](code) yy(x@sub(1))=a@sub(1)·x@sub(1)·x@sub(2)+a@sub(2)·x@sub(1)+a@sub(3)·x@sub(2)+a@sub(4) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-5*

@b(Описание:) *apr-func-2-5* шаблон для построения функции двух параметров:
x1 и x2 c пятью коэффициентами.
@begin[lang=lisp](code) ’((x1 x1) (x2 x2) (x1) (x2) (1.0) (yy)) @end(code)
@begin[lang=scribe](code) yy(x@sub(1))=a@sub(1)·x@sub(1)@sup(2)+a@sub(2)·x@sub(2)@sup(2)+a@sub(3)·x@sub(1)+a@sub(4)·x@sub(2)+a@sub(5) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-6*

@b(Описание:) *apr-func-2-6* шаблон для построения функции двух
параметров: x1 и x2 c шестью коэффициентами.

@begin[lang=lisp](code) ’((x1 x1) (x2 x2) (x1 x2) (x1) (x2) (1.0) (yy)) @end(code)
@begin[lang=scribe](code) yy(x@sub(1))=a@sub(1)·x@sub(1)@sup(2)+a@sub(2)·x@sub(2)@sup(2)+a@sub(3)·x@sub(1)·x@sub(2)+a@sub(5)·x@sub(1)+a@sub(6)·x@sub(2)+a@sub(7) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-7*

@b(Описание:) *apr-func-2-7* шаблон для построения функции двух
параметров: x1 и x2 c семью коэффициентами.

@begin[lang=lisp](code) ’((x1 x1 x2) (x1 x2 x2) (x1 x1) (x2 x2) (x1) (x2) (1.0) (yy)) @end(code)
@begin[lang=scribe](code) yy(x@sub(1))=a@sub(1)·x@sub(1)@sup(2)·x@sub(2)+a@sub(2)·x@sub(1)·x@sub(2)@sup(2)+a@sub(3)·x@sub(1)@sup(2)+a@sub(4)·x@sub(2)@sup(2)+a@sub(5)·x@sub(1)+a@sub(6)·x@sub(2)+a@sub(7)@end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-8*

@b(Описание:) *apr-func-2-8* шаблон для построения функции двух параметров: x1 и x2 c восемью коэффициентами.
@begin[lang=lisp](code) ’((x1 x1 x2) (x1 x2 x2) (x1 x1) (x2 x2) (x1 x2) (x1) (x2) (1.0) (yy)) @end(code)
@begin[lang=scribe](code) yy(x@sub(1))=a@sub(1)·x@sub(1)@sup(2)·x@sub(2)+a@sub(2)·x@sub(1)·x@sub(2)@sup(2)+a@sub(3)·x@sub(1)@sup(2)+a@sub(4)·x@sub(2)@sup(2)+a@sub(5)·x@sub(1)·x@sub(2)+a@sub(6)·x@sub(1)+a@sub(7)·x@sub(2)+a@sub(8)@end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *apr-func-2-9*

Шаблон для построения функции двух параметров: x1 и x2 c девятью коэффициентами.
@begin[lang=lisp](code) ’((x1 x1 x2 x2) (x1 x1 x2) (x1 x2 x2) (x1 x1) (x2 x2) (x1 x2) (x1) (x2) (1.0) (yy)) @end(code)
@begin[lang=scribe](code)
yy(x@sub(1))=a@sub(1)·x@sub(1)@sup(2)·x@sub(2)@sup(2)+ a@sub(2)·x@sub(1)@sup(2)·x@sub(2)+ a@sub(3)·x@sub(1)·x@sub(2)@sup(2)+ a@sub(4)·x@sub(1)@sup(2)+ a@sub(5)·x@sub(2)@sup(2)+ a@sub(6)·x@sub(1)·x@sub(2)+ a@sub(7)·x@sub(1)+ a@sub(8)·x@sub(2)+ a@sub(9) @end(code)

Package

math/appr.

Source

appr.lisp.

Special Variable: *default-gnuplot-direcroty*

Каталог для вывода по умолчанию.

Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: *palette-defined*

STUB

Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: *palette-defined-01*

STUB

Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: *pm3d-map*

STUB

Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: *semi-equal-relativ*

@b(Описание:) переменная @b(*semi-equal-relativ*) определяет относительную величину, на которую могут отличаться значения считающиеся равными при срвнении из с помощью функции @b(semi-equal).

Package

math/core.

Source

core.lisp.

Special Variable: *semi-equal-zero*

@b(Описание:) переменная @b(*semi-equal-zero*) определяет абсолютную величину, на которую могут отличаться значения считающиеся равными при срвнении из с помощью функции @b(semi-equal).

Package

math/core.

Source

core.lisp.

Special Variable: *term-pdfcairo*
Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: *term-pngcairo*
Package

math/gnuplot.

Source

gnuplot.lisp.

Special Variable: +significant-digits+

Определяет количество значащих цифр при округлении по умолчанию.

Package

math/core.

Source

core.lisp.


6.1.2 Macros

Macro: make-approximation-defun (args-fuc-names func-view args-results func-name)

@b(Описание:) макрос @b(make-approximation-defun) определяет
аппроксимиующую функцию с именем @b(func-name), построенной на
основании списка, каждый элемент которого является списком, содержащим значения аргументов функции и значение функции, соответствующее этим аргументам.

@b(Пример использования:)
@begin[lang=lisp](code)
(make-approximation-defun (xx yy)
((xx xx) (xx) (1.0) (yy))
((0.0 0.0) (1.0 1.0) (2.0 4.0) (3.0 9.0))
square-func)
(square-func 1.0) => 1.0d0
(square-func 3.0) => 9.0d0
(square-func 5.0) => 25.0d0
@end(code)

Package

math/appr.

Source

appr.lisp.

Macro: make-approximation-lambda (args-fuc-names func-view args-results)

@b(Описание:) макрос @b(make-approximation-lambda) определяет аппроксимиующую lambda-функцию, построенную на основании списка, каждый элемент которого является списком, содержащим значения аргументов функции и значение функции, соответствующее этим аргументам.

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((func
(make-approximation-lambda (xx yy)
((xx xx) (xx) (1.0) (yy))
((0.0 0.0) (1.0 1.0) (2.0 4.0) (3.0 9.0)))))
(funcall func 1.0) ;=> 1.0d0
(funcall func 3.0) ;=> 9.0d0
(funcall func 5.0)) ;=> 25.0d0
@end(code)

Package

math/appr.

Source

appr.lisp.


6.1.3 Ordinary functions

Function: append-col (c-lst 2d-list)

@b(Описание:) функция @b(append-col) добавляет к матрице, представленной списком 2d-list, столбец (список) c-lst.

@b(Пример использования:) @begin[lang=lisp](code) (math:append-col ’(10 11 12)
’((1 2 3)
(4 5 6)
(7 8 9))) => ((1 2 3 10)
(4 5 6 11)
(7 8 9 12)) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: append-row (c-lst 2d-list)

@b(Описание:) функция @b(append-row) добавляет вектор (список) r-lst к матрице 2d-list.

@b(Пример использования:) @begin[lang=lisp](code) (math:append-row ’(10 11 12)
’((1 2 3)
(4 5 6)
(7 8 9))) =>((1 2 3)
(4 5 6)
(7 8 9)
(10 11 12))

(math:append-row ’(10 11 )
’((1 2 3)
(4 5 6)
(7 8 9)))
=>((1 2 3)
(4 5 6)
(7 8 9)
(10 11 NIL))

(math:append-row ’(10 11 12 13)
’((1 2 3)
(4 5 6)
(7 8 9))) =>(( 1 2 3)
( 4 5 6)
( 7 8 9)
(10 11 12))
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: appr-table (x table)

@b(Описание:) функция @b(appr-table) возвращает результат линейной интерполяции (или экстраполяции) для значения @b(x) на таблице @b(table).

@b(Пример использования:)
@begin[lang=lisp](code)
(appr-table 0.5 ’((0.0 0.0) (1.0 1.0) (2.0 4.0) (4.0 0.0))) => 0.5 (appr-table 1.5 ’((0.0 0.0) (1.0 1.0) (2.0 4.0) (4.0 0.0))) => 2.5 (appr-table 3.0 ’((0.0 0.0) (1.0 1.0) (2.0 4.0) (4.0 0.0))) => 2.0 Тест: (test-approximation-appr-table)
@end(code)

Package

math/appr.

Source

appr.lisp.

Function: aver-dmax-dmin (seq &optional significant-digits)

@b(Описание:) функция @b(aver-max-min) возвращает список, состоящий из: @begin(list)
@item(из среднего значения величины;)
@item(отклонения максимального занчения в выборке от среднего;) @item(отклонения минимального занчения в выборке от среднего.)
@end(list)

Входящие в список величины округляются до количества значащих цифр равных @b(significant-digits).

@b(Пример использования:)
@begin[lang=lisp](code)
(aver-dmax-dmin ’(17.3869333 19.938901 12.41331 11.828626 10.348187 12.323172)) => (14.04 5.9 -3.69)
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: aver-max-min (seq)

@b(Описание:) функция @b(aver-max-min) возвращает список, состоящий из: @begin(list)
@item(среднего значения величины;)
@item(максимального значения величины;)
@item( минимального значения величины.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(aver-max-min ’(7.3869333 9.938901 8.541331 10.828626 9.348187 11.323172)) => (9.561192 11.323172 7.3869333)
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: average (&rest x)

@b(Описание:) функция @b(average) возврвщает среднее значение для перечня величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(average 1.1 1.0 0.9 1.2 0.8) => 1.0
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: average-col-not-nil-value (lst)

@b(Описание:) функция @b(average-col-not-nil-value) вычисляет среднее значение по элементам матрицы (списка списков).

@b(Пример использования:)
@begin[lang=lisp](code)
(average-col-not-nil-value ’((nil 2.1 4.5)
(2.0 nil 3.2))) => (2.0 2.1 3.85)

@end(code)

Package

math/matr.

Source

matr.lisp.

Function: average-col-value (lst)

@b(Описание:) функция @b(average-col-value) вычисляет среднее значение по столбцам матрицы (списка списков).

@b(Пример использования:)
@begin[lang=lisp](code)
(average-col-value ’((3.0 2.1 4.5)
(2.0 2.5 3.2))) => (2.5 2.3 3.85) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: average-not-nil-value (x)

@b(Описание:) функция @b(average-not-nil-value) возвращает среднее значение для списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числа или nil.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(average-not-nil-value ’(1.1 1.0 nil 0.9 nil 1.2 nil 0.8)) => 1.0 @end(code)

Package

math/stat.

Source

stat.lisp.

Function: average-not-nil-value (2d-list)

@b(Описание:) функция @b(average-not-nil-value) вычисляет среднее значение по элементам матрицы (списка списков) с исключением nil-элементов.

Package

math/matr.

Source

matr.lisp.

Function: average-row-not-nil-value (lst)

@b(Описание:) функция @b(average-row-not-nil-value) вычисляет среднее значение по элементам матрицы (списка списков).

Package

math/matr.

Source

matr.lisp.

Function: average-row-value (lst)

@b(Описание:) функция @b(average-row-value) вычисляет средние значения в строках матрицы (списка списков).

@b(Пример использования:)
@begin[lang=lisp](code)
(average-row-value ’((1.0 1.5 2.0)
(2.0 2.5 3.0))) => (1.5 2.5) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: average-value (x)

@b(Описание:) функция @b(average-value) возвращает среднее значение для списка величин.

@b(Пример использования:) @begin[lang=lisp](code) (average-value ’(1.1 1.0 0.9 1.2 0.8)) => 1.0
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: average-value (2d-list)

@b(Описание:) функция @b(average-value) вычисляет среднее значение по элементам матрицы (списка списков).

@b(Пример использования:)
@begin[lang=lisp](code)
(average-value ’((1.0 1.5 2.0)
(2.0 2.5 3.0))) => 2.0
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: averaging-function-defun (args-fuc-names func-view args-results func-name)

@b(Описание:) функция @b(averaging-function-defun) возвращает исходный код
именований аппроксимиующей функции, построенной на основании списка,
каждый элемент которого является списком, содержащим значения
аргументов функции и значение функции, соответствующее этим аргументам.

@b(Переменые:)
@begin(list)
@item(args-fuc-names - список, содержащий имена аргументов и функции ;)
@item(func-view - вид функциональной зависимости. Функциональная
зависимость должна использовать имена из args-fuc-names ;)
@item(args-results - списка, каждый элемент которого является списком,
содержащим значения аргументов функции и значение функции
(соответствующее этим аргументам).)
@item(func-name - имя функции.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(averaging-function-defun ’(xx yy)
’((xx xx) (xx) (1.0) (yy))
’((0.0 0.0) (1.0 1.0) (2.0 4.0) (3.0 9.0))
’square-func)
=> (DEFUN SQUARE-FUNC (XX) (+ (* 1.0d0 XX XX) (* 0.0d0 XX) (* 0.0d0 1.0))) (averaging-function-defun ’(xx yy)
’((xx xx xx) (xx xx) (xx) (1.0) (yy))
’((-2.0 -8.0) (-1.0 -1.0) (0.0 0.0) (1.0 1.0) (2.0 8.0))
’cubic-func)
=> (DEFUN CUBIC-FUNC (XX) (+ (* 1.0d0 XX XX XX) (* 0.0d0 XX XX) (* 0.0d0 XX) (* 0.0d0 1.0))) @end(code)

Package

math/appr.

Source

appr.lisp.

Function: averaging-function-lambda (args-fuc-names func-view args-results)

@b(Описание:) функция @b(averaging-function-lambda) возвращает исходный код аппроксимиующей lambda-функции, построенной на основании списка,
каждый элемент которого является списком, содержащим значения
аргументов функции и значение функции, соответствующее этим аргументам.

@b(Переменые:)
@begin(list)
@item(args-fuc-names - список, содержащий имена аргументов и функции ;) @item(func-view - вид функциональной зависимости. Функциональная
зависимость должна использовать имена из args-fuc-names ;) @item(args-results - списка, каждый элемент которого является списком, содержащим значения аргументов функции и значение функции (соответствующее этим аргументам).)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(averaging-function-lambda ’(xx yy)
’((xx xx) (xx) (1.0) (yy))
’((0.0 0.0) (1.0 1.0) (2.0 4.0) (3.0 9.0)))
=> (LAMBDA (XX) (+ (* 1.0d0 XX XX) (* 0.0d0 XX) (* 0.0d0 1.0))) (averaging-function-lambda ’(xx yy)
’((xx xx xx) (xx xx) (xx) (1.0) (yy))
’((-2.0 -8.0) (-1.0 -1.0) (0.0 0.0) (1.0 1.0) (2.0 8.0)))
=> (LAMBDA (XX) (+ (* 1.0d0 XX XX XX) (* 0.0d0 XX XX) (* 0.0d0 XX) (* 0.0d0 1.0))) @end(code)

Package

math/appr.

Source

appr.lisp.

Function: cartesian->polar (x-y)

@b(Описание:) функция @b(cartesian->polar) переводит декартовы координаты в полярные.

@b(Переменые:)
@begin(list)
@item(radius-angle - список, состоящий из двух элементов: радиус-вектора
и угла, заданного в радианах.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(cartesian->polar (list 10.0 10)) (14.142136 0.7853982)
@end(code)

Package

math/coord.

Source

coord.lisp.

Function: cartesian->spherical (x-y-z)

@b(Описание:) функция @b(cartesian->spherical) выполняет преобразование координат из декартовых в сферические.

@b(Переменые:)
@begin(list)
@item(x-y-z - список, содержащий соответствующие координаты.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(cartesian->spherical ’(61.237243569579455d0 35.35533905932737d0 70.71067811865476d0)) =>(100.0d0 0.5235987755982988d0 0.7853981633974483d0)
@end(code)

Package

math/coord.

Source

coord.lisp.

Function: cauchy-smoothing (d)

@b(Описание:) функция @b(cauchy-smoothing)

@b(Пример использования:) @begin[lang=lisp](code)
(loop :for d :from 0 :to 4 :by 1/10 :collect (list d (cauchy-smoothing d))) @end(code)

Package

math/smooth.

Source

smooth.lisp.

Function: circle-area-by-diameter (diameter)
Package

math/geom.

Source

geom.lisp.

Function: circle-area-by-radius (radius)

@b(Описание:) функция @b(circle-area-by-radius)

Package

math/geom.

Source

geom.lisp.

Function: clean-flagrant-error (x)

@b(Описание:) функция @b(clean-flagrant-error) удаляет из статистики грубые промахи.

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((lst ’(10.0 10.1 10.15 10.2 12.0 9.9 5.0 9.9 10.1))) (clean-flagrant-error lst)) (9.9 9.9 10.0 10.1 10.1 10.15 10.2)
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: clean-max-flagrant-error (x)

@b(Описание:) функция @b(clean-max-flagrant-error) удаляет из статистики грубые промахи.

Package

math/stat.

Source

stat.lisp.

Function: clean-min-flagrant-error (x)

@b(Описание:) функция @b(clean-min-flagrant-error) удаляет из статистики грубые промахи.

Package

math/stat.

Source

stat.lisp.

Function: delta-max-value (x)

Возвращает отклонение максимальной величины от среднего значения для списка величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(delta-max-value ’(1.1 1.0 0.9 1.2 0.8)) => 0.20000005 @end(code)

Package

math/stat.

Source

stat.lisp.

Function: delta-min-value (x)

@b(Описание:) функция @b(delta-min-value)
возвращает отклонение минимальной величины от среднего значения для списка величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(delta-min-value ’(1.1 1.0 0.9 1.2 0.8)) -0.19999999 @end(code)

Package

math/stat.

Source

stat.lisp.

Function: depth-sphere-along-cone (r alpha)

@b(Описание:) функция @b(depth-sphere-along-cone) возвращает заглубление сферы с радиусом R в конуc с углом при вершине равным alpha от линии пересечения конуса с цилиндром.

Package

math/core.

Source

core.lisp.

Function: detach-last-col (2d-list)

@b(Описание:) функция @b(detach-last-col) возвращает матрицу, представленную в виде списка, образованную удалением последнего столбца (последнего элемента каждой строки).

@b(Пример использования:)
@begin[lang=lisp](code)
(detach-last-col
’((1 2 3 6)
(2 3 4 9)
(3 4 5 12))) => ((1 2 3)
(2 3 4)
(3 4 5))
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: diameter-by-radius (radius)
Package

math/geom.

Source

geom.lisp.

Function: dispersion (x)

@b(Описание:) функция dispersion возвращает дисперсию для списка величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(dispersion ’(1.1 1.0 0.9 1.2 0.8)) => 0.025000006 @end(code)

Package

math/stat.

Source

stat.lisp.

Function: dispersion-not-nil (x)
Package

math/stat.

Source

stat.lisp.

Function: double-float-list (list)
Package

math/coord.

Source

coord.lisp.

Function: dtr (degree)

@b(Описание:) функция @b(dtr) переводит значение, заданное в градусах, в радианы.

@b(Пример использования:)

@begin[lang=lisp](code)
(dtr (rtd 1/2)) => 0.5d0
@end(code)

Package

math/coord.

Source

coord.lisp.

Function: equivalent-diameter (area perimeter)

@link[uri="https://ru.wikipedia.org/wiki/Гидравлический_диаметр/"](Гидравлический_диаметр) @link[uri="https://en.wikipedia.org/wiki/Hydraulic_diameter/"](Hydraulic_diameter)

Package

math/geom.

Source

geom.lisp.

Function: exclude-nil-from-list (lst)

@b(Описание:) функция @b(exclude-nil-from-list) возвращает список в котором нет nil-элементов (они исключаются).

@b(Пример использования:) @begin[lang=lisp](code) (exclude-nil-from-list ’(1.1 1.0 nil 0.9 nil 1.2 nil 0.8))
=> (1.1 1.0 0.9 1.2 0.8)
@end(code)

Package

math/core.

Source

core.lisp.

Function: exp-smoothing (d)

@b(Описание:) функция @b(exp-smoothing)

@b(Пример использования:) @begin[lang=lisp](code)
(loop :for d :from 0 :to 4 :by 1/10 :collect (list d (exp-smoothing d))) @end(code)

Package

math/smooth.

Source

smooth.lisp.

Function: gauss-smoothing (d)

@b(Описание:) функция @b(gauss-smoothing)

@b(Пример использования:) @begin[lang=lisp](code)
(loop :for d :from 0 :to 4 :by 1/10 :collect (list d (gauss-smoothing d))) @end(code)

Package

math/smooth.

Source

smooth.lisp.

Function: get-last-col (2d-list)

@b(Описание:) функция @b(get-last-col) возвращает последний столбец матрицы, представленной в виде списка.

@b(Пример использования:)
@begin[lang=lisp](code)
(get-last-col
’((1 2 3 6)
(2 3 4 9)
(3 4 5 12))) =>(6 9 12)
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: gnuplot-data-plot (f-name data &key terminal output preamble plot)

@b(Описание:) функция @b(gnuplot-data-plot)

@b(Пример использования:)
@begin[lang=lisp](code)
;;;; Пример 1
(math:gnuplot-data-plot
"plot2"
(mapcar #’(lambda (x) (list x (sin x)(sqrt x)) )
(math:split-range 0.0 10 1000) )
:plot "plot ’plot2.data’ u 1:2 with lines lt 1, ’plot2.data’ u 1:3 with lines lt 2 ") @end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: gnuplot-data-splot (f-name data &key terminal output preamble palette pm3d splot)

STUB

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: gnuplot-plot (f-name &key terminal preamble output plot)

STUB

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: gnuplot-splot (f-name &key terminal output preamble palette pm3d splot)

Осуществляет подготовку данных, содержащихся в файле f-name с расширением data. Данные в файле должны иметь формат gp-list.

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: grubbs (n &optional q)

@b(Описание:) функция grubbs вычисляет значение критерия Граббса (см. п. 6.1 см. ГОСТ Р 8.736-2011).

@b(Переменые:)
@begin(list)
@item(n - количество повторяющихся измерений величины.) @item(q - уровень значимости в доях.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((lst ’(10.0 10.1 10.15 10.2 10.8 9.9 9.85 9.9 10.1))) (grubbs (length lst))) => 2.215
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: grubbs-max (x)

@b(Описание:) функция grubbs-max возврвщает значения критерия Граббса для максимального значения списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числовые значения.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((lst ’(10.0 10.1 10.15 10.2 10.8 9.9 9.85 9.9 10.1))) (grubbs-max lst)) => 2.4095862
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: grubbs-min (x)

@b(Описание:) функция grubbs-min возврвщает значения критерия Граббса для минимального значения списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числовые значения.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((lst ’(10.0 10.1 10.15 10.2 10.8 9.9 9.7 9.9 10.1))) (grubbs-min lst)) => 1.2863455
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: h-div (a b func &key eps iters)

@b(Описание:) функция @b(h-div) возвращает результат решения
уравнения func(x)=0 методом половинного деления.

Поиск решения выполняется на отрезке [a,b].

@b(Переменые:)
@begin(list)
@item(a - левая граница отрезка;)
@item(b - правая граница отрезка;)
@item(func - вид функциональной зависимости;)
@item(eps - комплексная точность поиска решения;)
@item(iters - максимальное количество итераций для достижения заданной точности.) @end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(defun x2(x) (- (* x (log x)) 10000.))
(h-div 2.0 100000.0 #’x2 :iters 50)
@end(code)

Package

math/half-div.

Source

half-div.lisp.

Function: h-div-lst (a b func n p_lst &key eps iters)

@b(Описание:) функция @b(h-div-lst) возвращает результат решения уравнения func(X[0],X[1],...,X[n],...,X[m])=0 методом половинного деления.

Поиск решения выполняется на отрезке [a,b] для аргумента с номером n (первый аргумет имеет номер 0).

@b(Переменые:)
@begin(list)
@item(a - левая граница отрезка;)
@item(b - правая граница отрезка;)
@item(func - вид функциональной зависимости;)
@item(n - номер аргумента в списке аргументов функции при изменении которого на отрезке [a,b] выполняется поиск решения;) @item(p_lst - список аргуметов функции;)
@item(eps - комплексная точность поиска решения;)
@item(iters - максимальное количество итераций для достижения заданной точности.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(defun xy2(x y) (- (* x (log x)) y))
(h-div-lst 2.0 100000.0 #’xy2 0 ’(t 10000.) :iters 50) @end(code)

Package

math/half-div.

Source

half-div.lisp.

Function: hann-smoothing (d)

@b(Описание:) функция @b(hann-smoothing)

@b(Пример использования:) @begin[lang=lisp](code)
(loop :for d :from 0 :to 4 :by 0.1 :do (format t "~{~5F~^ ~}~%"
(list d (gauss-smoothing d) (exp-smoothing d) (cauchy-smoothing d) (hann-smoothing d)))) @end(code)

Package

math/smooth.

Source

smooth.lisp.

Function: lm-print (2d-list &key fmt stream)

@b(Описание:) функция @b(lm-print) красивый вывод матрицы (списка списков).

Package

math/matr.

Source

matr.lisp.

Function: lv-print (lst &key fmt stream)

@b(Описание:) функция @b(lv-print) красивый вывод вектора (списка).

Package

math/matr.

Source

matr.lisp.

Function: make (rows cols 2d-list)

@b(Описание:) функция @b(make) генерирует матрицу (список списков) из вектора (списка).

@b(Пример использования:) @begin[lang=lisp](code)
(math:make 2 3 ’(0 1 2 3 4 5 6 7 8 9 10 11 12)) => ((0 1 2)
(3 4 5))
(math:make 2 3 ’nil)
=> ((NIL NIL NIL)
(NIL NIL NIL))
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: make-1d-list (size &optional arg)

@b(Описание:) функция @b(make-1d-list) возвращает 1d-list длиной @b(size), состоящий из случайных целых чисел в диапазоне от 0 до @b(arg).

@b(Пример использования:)
@begin[lang=lisp](code)
(make-1d-list 1) => (8)
(make-1d-list 2) => (10 7)
(make-1d-list 5) => (8 13 5 6 11)
@end(code)

Package

math/rnd.

Source

rnd.lisp.

Function: make-2d-list (size &optional arg)

@b(Описание:) функция @b(make-1d-list) возвращает 2d-list размером @b(size)*@b(size), состоящий из случайных целых чисел.

@b(Пример использования:)
@begin[lang=lisp](code)
(make-2d-list 1) => ((9))
(make-2d-list 2) => ((9 4) (12 1))
(make-2d-list 5) ’((2 12 5 4 8)
(12 13 0 3 14)
(10 9 13 2 3)
( 6 6 0 6 0)
( 1 0 3 10 6))
@end(code)

Package

math/rnd.

Source

rnd.lisp.

Function: make-appr-linear (args-resuls)

@b(Описание:) функция @b(make-appr-linear) возвращает функцию, являющуюся линейной интерполяцией функции одного переменного.

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((f1 (math/appr:make-appr-linear
(loop :for i :from 0 :to 10
:collect (list (* 1.0d0 i) (* 0.1d0 i i))))))
(loop :for i :from 0 :to 10 :by 1/5
:collect
(list (* 1.0 i) (coerce (funcall f1 (* 1d0 i))’single-float )))) => ’((0.0 0.0) (0.2 0.02) (0.4 0.04) (0.6 0.06) (0.8 0.08) (1.0 0.1) (1.2 0.16) (1.4 0.22) (1.6 0.28) (1.8 0.34) (2.0 0.4) (2.2 0.50) (2.4 0.60) (2.6 0.70) (2.8 0.80) (3.0 0.9) (3.2 1.04) (3.4 1.18) (3.6 1.32) (3.8 1.46) (4.0 1.6) (4.2 1.78) (4.4 1.96) (4.6 2.14) (4.8 2.32) (5.0 2.5) (5.2 2.72) (5.4 2.94) (5.6 3.16) (5.8 3.38) (6.0 3.6) (6.2 3.86) (6.4 4.12) (6.6 4.38) (6.8 4.64) (7.0 4.9) (7.2 5.20) (7.4 5.50) (7.6 5.80) (7.8 6.10) (8.0 6.4) (8.2 6.74) (8.4 7.08) (8.6 7.42) (8.8 7.76) (9.0 8.1) (9.2 8.48) (9.4 8.86) (9.6 9.24) (9.8 9.62) (10.0 10.0))
@end(code)

Package

math/appr.

Source

appr.lisp.

Function: make-least-squares-matrix (vv ff ex_pts)

@b(Описание:) функция @b(make-least-squares-matrix) возвращает матрицу
для расчета коэффициентов полиномиальной зависимости вида @b(ff) со
списком имен факторов влияния и имени функции отклика @b(vv),
которая приближается к экспериментальным точкам @b(ex_pts),
методом наименьших квадратов.

@b(Переменые:)
@begin(list)
@item(vv - список, состоящий из имен факторов влияния и имени функции отклика;)
@item(ff - задает вид функциональной зависимости;)
@item(ex_pts - задает значения факторов влияния и значение функции отклика;)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
;;;; Для аппроксимации экспериментальных точек полиномом второй степени функции одной переменной. ;;;; Здесь коэффициенты a1, a2, a3 можно найти решив САУ, получаемую в результате.
;;;; (defun yy (xx) (+ (* a1 xx xx) (* a2 xx) a3))

(make-least-squares-matrix
’(xx yy)
’((xx xx) (xx) (1.0) (yy))
’((-1.0 1.0) (0.0 0.0) (2.0 4.0) (3.0 9.0)))
=> Matr 3х4
[ 98.0d0 34.0d0 14.0d0 98.0d0 ]
[ 34.0d0 14.0d0 4.0d0 34.0d0 ]
[ 14.0d0 4.0d0 4.0d0 14.0d0 ]
;;;; Для аппроксимации экспериментальных точек полиномом второй степени функции двух переменных. ;;;; Здесь коэффициенты a1, a2, a3 можно найти решив САУ, получаемую в результате.
(defun yy (x1 x2) (+ (* 1.0 x1 x1) (* 2.0 x2 x2) (* 3.0 x1 x2) (* 4.0 x1) (* 5.0 x2) 6.0))
(make-least-squares-matrix
’(x1 x2 yy)
’((x1 x1) (x2 x2) (x1 x2) (x1) (x2) (1.0) (yy))
(let ((pts nil))
(loop :for i :from -2 :to 2 :do
(loop :for j :from -2 to 2 :do
(push (list i j (yy i j)) pts)))
pts))

; => Matr 6х7
; [ 170.0d0 100.0d0 0.0d0 0.0d0 0.0d0 50.0d0 670.0d0 ]
; [ 100.0d0 170.0d0 0.0d0 0.0d0 0.0d0 50.0d0 740.0d0 ]
; [ 0.0d0 0.0d0 100.0d0 0.0d0 0.0d0 0.0d0 300.0d0 ]
; [ 0.0d0 0.0d0 0.0d0 50.0d0 0.0d0 0.0d0 200.0d0 ]
; [ 0.0d0 0.0d0 0.0d0 0.0d0 50.0d0 0.0d0 250.0d0 ]
; [ 50.0d0 50.0d0 0.0d0 0.0d0 0.0d0 25.0d0 300.0d0 ]

(solve-x *)
; => Matr 1х6
; [ 1.0d0 2.0d0 3.0d0 4.0d0 5.0d0 6.0d0 ]
@end(code)

См. также math/ls-gauss/solve-x; math/ls-rotation/solve.

Package

math/appr.

Source

appr.lisp.

Function: make-linear-interpolation (points &key ff)

@b(Описание:) функция @b(make-linear-interpolation) возвращает функциональной зависимость, аппроксимируемую по функции одного переменного, заданной таблично.

@b(Переменые:)
@begin(list)
@item(points - список, состоящий из аргумента и значения ;)
@item(ff - вид функциональной зависимости см. *apr-func-1-2* — *apr-func-1-5*.) @end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((points-01 ’((0.0 0.0) (1.0 1.0) (2.0 2.0)))
(func-1 (make-linear-interpolation points-01)))
(loop :for x :from 0 :to 2 :by 1/10
:collect (mapcar #’(lambda (el) (coerce el ’single-float))
(list x
(funcall func-1 x)))))
=> ((0.0 0.0) (0.1 0.1) (0.2 0.2) (0.3 0.3) (0.4 0.4) (0.5 0.5) (0.6 0.6) (0.7 0.7) (0.8 0.8) (0.9 0.9) (1.0 1.0) (1.1 1.1) (1.2 1.2) (1.3 1.3) (1.4 1.4) (1.5 1.5) (1.6 1.6) (1.7 1.7) (1.8 1.8) (1.9 1.9) (2.0 2.0))

(let* ((points-02 ’((0.0 0.0) (1.0 1.0) (2.0 4.0) (3.0 9.0)))
(func-2 (make-linear-interpolation points-02 :ff *apr-func-1-3*)))
(loop :for x :from 1 :to 3 :by 1/10
:collect (mapcar #’(lambda (el) (coerce el ’single-float))
(list x
(funcall func-2 x)))))
=> ((1.0 1.0) (1.1 1.21) (1.2 1.44) (1.3 1.69) (1.4 1.96) (1.5 2.25) (1.6 2.56) (1.7 2.89) (1.8 3.24) (1.9 3.61) (2.0 4.0) (2.1 4.41) (2.2 4.84) (2.3 5.29) (2.4 5.76) (2.5 6.25) (2.6 6.76) (2.7 7.29) (2.8 7.84) (2.9 8.41) (3.0 9.0)) @end(code)

Package

math/appr.

Source

appr.lisp.

Function: make-ls-system (m vec)

@b(Описание:) функция @b(make-ls-system) возвращает 2d-list, представляющий из себя расширенную матрицу (матрицу с правыми частями), являющуюся представлением системы линейных уравнений, при решении которой результатом будет @b(vec).

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((n 1)
(m (make-2d-list n))
(v (make-1d-list n)))
(values (make-ls-system m v) v))
=> ((2 14)), (7)
(let* ((n 3)
(m (make-2d-list n))
(v (make-1d-list n)))
(values (make-ls-system m v) v))
=> ((14 1 1 133)
(0 2 12 84)
(4 3 2 50)),
(9 0 7)
@end(code)

Package

math/rnd.

Source

rnd.lisp.

Function: make-plot-data-file (f-name data)

@b(Описание:) функция @b(make-plot-data-file) выполняет вывод данных @b(data) в файл с именем f-name и расширением data.

@b(Пример использования:)
@begin[lang=lisp](code)
;;;; Пример 1
(make-plot-data-file
"plot2"
(mapcar
#’(lambda (x)
(list x (sin x) (sqrt x)))
(math:split-range 0.0 10 1000)))
@end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: make-random-value-list (mid-value &key std-deviation n top-level)

@b(Описание:) функция @b(make-random-value-list) возвращает список случайных величин:

@b(Переменые:)
@begin(list)
@item(mid-value - среднее значение; )
@item(std-deviation - стандартное отклонение;)
@item(n - количество точек; )
@item(top-level - дискретизация точек)
@end(list)

Package

math/stat.

Source

stat.lisp.

Function: make-table (lst-1 lst-2)

@b(Описание:) make-table выполняет формирование списка точек, разделенного на группы.

@b(Пример использования:)
@begin[lang=lisp](code)
(make-table (split-range 1.0 0.0 2) (split-range -3 0 3))
=> (((1.0 -3.0) (1.0 -2.0) (1.0 -1.0) (1.0 0.0))
((0.5 -3.0) (0.5 -2.0) (0.5 -1.0) (0.5 0.0))
((0.0 -3.0) (0.0 -2.0) (0.0 -1.0) (0.0 0.0)))
@end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: make-vector-n (element n)

@b(Пример использования:) @begin[lang=lisp](code)

@end(code)

(make-vector-n 1.5 3) => #(1.5 1.5 1.5)

Package

math/matr.

Source

matr.lisp.

Function: matr-new (rows cols &optional lst)

Примечание:
(matr-new 3 4 ’(1 2 3 4 5 6 7 8 9 10))

Package

math/matr.

Source

matr.lisp.

Function: max-col-not-nil-value (lst)

@b(Описание:) функция @b(max-col-not-nil-value) вычисляет среднее значение по столбцам матрицы (списка списков).

Package

math/matr.

Source

matr.lisp.

Function: max-not-nil-value (x)

@b(Описание:) функция max-not-nil-value возвращает максимальное значение для списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числовые значения или nil.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(max-not-nil-value ’(nil 20 nil 5 nil 10)) => 20
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: max-row-not-nil-value (lst)

@b(Описание:) функция @b(max-row-not-nil-value) вычисляет максимальные значения по строкам матрицы (списка списков).

@b(Пример использования:)
@begin[lang=lisp](code)
(max-row-not-nil-value ’((1.0 2.1 1.5 2.0)
(2.0 2.5 3.2 3.0))) => (2.1 3.2) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: max-value (x)

@b(Описание:) функция max-value возвращает максимальное значение для списка величин

@b(Пример использования:)
@begin[lang=lisp](code)
(max-value ’(1.1 1.0 0.9 1.2 0.8)) => 1.2
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: min-not-nil-value (x)

@b(Описание:) функция min-not-nil-value возвращает минимальное значение для списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числовые значения или nil.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(min-not-nil-value ’(nil 20 nil 5 nil 10)) => 5
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: min-value (x)

@b(Описание:) функция @b(min-value) возвращает максимальное значение для списка величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(min-value ’(1.1 1.0 0.9 1.2 0.8)) => 0.8
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: mult-matr-vect (matr vect)

Умножение матрицы Matr на вектор Vect
Возвращает вектор с количеством элементов равным количеству элементов в векторе Vect
Пример использования:
(defparameter *m-test*
(make-array ’(3 4)
:initial-contents
’((10.0d0 11.0d0 12.0d0 4.0d0)
(15.0d0 17.0d0 21.0d0 2.0d0)
(70.0 8.0 10.0 3.0))))
;
(mult-matr-vect *m-test* ; Проверка правильности решения (системы линейных алгебраических уравнений) СЛАУ (solve-linear-system-rotation (cl-utilities:copy-array *m-test*)))

Package

math.

Source

math.lisp.

Function: normalize (v)

@b(Описание:) функция @b(normalize) возвращает нормализованный вектор. Длина нормализованного вектора равна 1.0.

@b(Пример использования:)
@begin[lang=lisp](code)
(normalize ’(1 2 3)) => (0.26726124 0.5345225 0.8017837) (normalize ’(2 -3)) => (0.5547002 -0.8320503)
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: point-3d->4d (point-3d &optional coord-4)

@b(Описание:) функция @b(point-3d->4d) возвращает координаты точки @b(point-3d) в однородных координатах, добавляя к ним четвертую координату @b(coord-4).

@b(Пример использования:)
@begin[lang=lisp](code)
(point-3d->4d ’(1.0 2.0 3.0)) => (1.0 2.0 3.0 0.0d0) (point-3d->4d ’(1.0 2.0 3.0) 0.0) => (1.0 2.0 3.0 0.0) @end(code)

Package

math/coord.

Source

coord.lisp.

Function: point-4d->3d (point-4d)

@b(Описание:) функция @b(point-4d->3d) преобразует координаты точки @b(point-4d) из однороднвх в 3d и возвращает последние.

@b(Пример использования:)
@begin[lang=lisp](code)
(point-4d->3d ’(1.0 2.0 3.0 0.0d0)) => (1.0 2.0 3.0) @end(code)

Package

math/coord.

Source

coord.lisp.

Function: polar->cartesian (radius-angle)

@b(Описание:) функция @b(polar->cartesian) переводит полярные координаты в декартовы.

@b(Переменые:)
@begin(list)
@item(radius-angle - список, состоящий из двух элементов: радиус-вектора
и угла, заданного в радианах.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(polar->cartesian ‘(10.0 ,(dtr 45))) => (7.0710678118654755d0 7.071067811865475d0) @end(code)

Package

math/coord.

Source

coord.lisp.

Function: prepend-col (c-lst 2d-list)

@b(Описание:) функция @b(prepend-col) добавляет вектор (список) c-lst к матрице 2d-list.

@b(Пример использования:)
@begin[lang=lisp](code)
(prepend-col ’(10 11 12)
’((1 2 3)
(4 5 6)
(7 8 9))) => ((10 1 2 3)
(11 4 5 6)
(12 7 8 9))

@end(code)

Package

math/matr.

Source

matr.lisp.

Function: prepend-row (c-lst 2d-list)

@b(Описание:) функция @b(prepend-row)

@b(Пример использования:) @begin[lang=lisp](code)
(prepend-row ’(10 11 12)
’((1 2 3)
(4 5 6)
(7 8 9))) =>((10 11 12)
( 1 2 3)
( 4 5 6)
( 7 8 9)) (math:prepend-row ’(10 11 )
’((1 2 3)
(4 5 6)
(7 8 9))) =>((10 11 NIL) (1 2 3) (4 5 6) (7 8 9)) (math:prepend-row ’(10 11 12 13)
’((1 2 3)
(4 5 6)
(7 8 9))) =>((10 11 12) ( 1 2 3) ( 4 5 6) ( 7 8 9)) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: prepend-rows (rs-lst 2d-list)

@b(Пример использования:) @begin[lang=lisp](code) (prepend-rows
’((10 20 30)
(11 22 33))
’((11 12 13)
(12 13 14)
(13 14 15))) @end(code)

Package

math/matr.

Source

matr.lisp.

Function: radius-by-diameter (diameter)
Package

math/geom.

Source

geom.lisp.

Function: regular-tetrahedron-side-by-volume (v)

@b(Описание:) функция @b(regular-tetrahedron-volume-by-side) возвращает объем правильного тетраэдра с ребром @b(a).

@b(Пример использования:)
@begin[lang=lisp](code) (regular-tetrahedron-side-by-volume 1.00) => 2.039649 (regular-tetrahedron-side-by-volume 10.0) => 4.3942904 @end(code)

Package

math/geom.

Source

geom.lisp.

Function: regular-tetrahedron-volume-by-side (a)

@b(Описание:) функция @b(regular-tetrahedron-volume-by-side) возвращает объем правильного тетраэдра с ребром @b(a).

@b(Пример использования:)
@begin[lang=lisp](code) (regular-tetrahedron-volume-by-side 1.00) => 0.11785113 (regular-tetrahedron-volume-by-side 10.0) => 117.85112 @end(code)

Package

math/geom.

Source

geom.lisp.

Function: regular-triangle-area-by-side (a)

@b(Описание:) функция @b(triangle-area-by-sides) возвращает
площадь правильного треугольника со стороной @b(a).
@b(Пример использования:)
@begin[lang=lisp](code)
(regular-triangle-area-by-side 1.0 1.0 1.0) => 0.4330127 ; (/ (sqrt 3) 4) (regular-triangle-area-by-side 2.0 2.0 2.0) => 1.7320508 ; (sqrt 3) @end(code)

Package

math/geom.

Source

geom.lisp.

Function: regular-triangle-side-by-area (s)

@b(Описание:) функция @b(regular-triangle-side-by-area) длину стороны правильного треугольника с площадью @b(s).
@b(Пример использования:)
@begin[lang=lisp](code)
(regular-triangle-side-by-area 0.4330127) => 1.0 (regular-triangle-side-by-area 1.7320508) => 2.0
@end(code)

Package

math/geom.

Source

geom.lisp.

Function: rgb (aa rr gg bb)

@b(Описание:) функция @b(rgb) возвращает строковое представление цвета.

@b(Переменые:)
@begin(list)
@iterm(aa = 0..255 яркость;)
@iterm(rr = 0..255 насыщенность красного;)
@iterm(gg = 0..255 насыщенность зеленого;)
@iterm(bb = 0..255 насыщенность синего.)
@end(list)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: round-to-significant-digits (val &optional significant-digits base-val)

@b(Описание:) функция @b(round-to-significant-digits) округляет значение val до количества значащих цифр, задаваемых аргументом significant-digits.

@b(Пример использования:)
@begin[lang=lisp](code)
(round-to-significant-digits 456.32738915923 ) => 456.3 (round-to-significant-digits 456.32738915923 6 ) => 456.327 (round-to-significant-digits 456.32738915923 6 53562.23) => 456.3 @end(code)

Package

math/core.

Source

core.lisp.

Function: rtd (radian)

@b(Описание:) функция @b(rtd) переводит значение, заданное в радианах, в градусы.

@b(Пример использования:) @begin[lang=lisp](code)
(rtd (dtr 45)) => 45.0d0
@end(code)

Package

math/coord.

Source

coord.lisp.

Function: single-float-list (list)
Package

math/coord.

Source

coord.lisp.

Function: solve (matrix vector)

@b(Описание:) функция| @b(solve) возвращает корни решения СЛАУ (системы линейных алгебраических уравнений),
используя LU-разложение матрицы @b(matrix).

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((m (grid:make-foreign-array
’double-float :initial-contents
’((1 2 3)
(2 1 1)
(3 0 1))))
(v (grid:make-foreign-array
’double-float :initial-contents
’(14 7 6))))
(solve m v))
=> #(1.0000000000000002d0 2.0000000000000004d0 2.9999999999999996d0) @end(code)

Package

math/ls-gsll.

Source

ls-gsll.lisp.

Function: solve-x (m-v)

@b(Описание:) функция| @b(solve) возвращает корни решения СЛАУ (системы линейных алгебраических уравнений), используя LU-разложение матрицы @b(m-v).

@b(Переменые:)
@begin(list)
@item(m-v - матрица, представленная в виде 2d-list, (списком состоящим из списков));
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((m ’((1 2 3 14)
(2 1 1 7)
(3 0 1 6))))
(solve-x m))
=> #(1.0000000000000002d0 2.0000000000000004d0 2.9999999999999996d0) @end(code)

Package

math/ls-gsll.

Source

ls-gsll.lisp.

Function: spherical->cartesian (r-φ-θ)

@b(Описание:) функция @b(spherical->cartesian) выполняет преобразование координат из сферических в декартовы.

@b(Переменые:)
@begin(list)
@item(r-φ-θ - список состоящий из трех величин: @begin(list)
@item(r - расстояние от начала координат до заданной точки;) @item(φ - азимутальный угол (в плоскости X0Y);)
@item(θ - зенитный угол.)
@end(list))
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(spherical->cartesian ‘(100 ,(dtr 30) ,(dtr 45)))
=> (61.237243569579455d0 35.35533905932737d0 70.71067811865476d0) @end(code)

Package

math/coord.

Source

coord.lisp.

Function: split-range (from to steps)

@b(Описание:) split-range

@b(Пример использования:)
@begin[lang=lisp](code)
(split-range 10 20 5) => (10.0 12.0 14.0 16.0 18.0 20.0) @end(code)

Package

math/core.

Source

core.lisp.

Function: split-range-by-func (from to steps &key func anti-func)

@b(Описание:) split-range-by-func

@b(Пример использования:)
@begin[lang=lisp](code)
(split-range-by-func 1 10 5) => (1.0 1.5848932 2.5118864 3.981072 6.3095737 10.0) (split-range-by-func 1 10 10) =>
(1.0 1.2589254 1.5848932 1.9952624 2.5118864 3.1622777 3.981072 5.0118723 6.3095737 7.943282 10.0) @end(code)

Package

math/core.

Source

core.lisp.

Function: square (x)

@b(Описание:) функция @b(square) возвращает квадрат значения.

@b(Переменые:)
@begin(list)
@item(x - число.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(square 5) => 25
(square -4) => 16
@end(code)

Package

math/core.

Source

core.lisp.

Function: standard-deviation (x)

@b(Описание:) функция standard-deviation возвращает среднеквадратичное (стандартное) отклонение для списка величин.

@b(Переменые:)
@begin(list)
@item(x - список, содержащий числовые значения.)
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(standard-deviation ’(1.1 1.0 0.9 1.2 0.8)) => 0.1581139 @end(code)

Package

math/stat.

Source

stat.lisp.

Function: standard-deviation-not-nil (x)
Package

math/stat.

Source

stat.lisp.

Function: table-apply (table func &rest second-and-others)

@b(Описание:) функция @b(table-apply)

@b(Пример использования:)
@begin[lang=lisp](code)
(make-table (split-range 1 4 3) (split-range 5 7 2))
=>
(((1.0 5.0) (1.0 6.0) (1.0 7.0))
((2.0 5.0) (2.0 6.0) (2.0 7.0))
((3.0 5.0) (3.0 6.0) (3.0 7.0))
((4.0 5.0) (4.0 6.0) (4.0 7.0)))

(table-apply (make-table (split-range 1 4 3) (split-range 5 7 2)) #’* 10.) =>
(((1.0 5.0 50.0) (1.0 6.0 60.0) (1.0 7.0 70.0))
((2.0 5.0 100.0) (2.0 6.0 120.0) (2.0 7.0 140.0))
((3.0 5.0 150.0) (3.0 6.0 180.0) (3.0 7.0 210.0))
((4.0 5.0 200.0) (4.0 6.0 240.0) (4.0 7.0 280.0)))

(table-apply (make-table (split-range 1 4 3) (split-range 5 7 2)) #’vector) =>
(((1.0 5.0 #(1.0 5.0)) (1.0 6.0 #(1.0 6.0)) (1.0 7.0 #(1.0 7.0)))
((2.0 5.0 #(2.0 5.0)) (2.0 6.0 #(2.0 6.0)) (2.0 7.0 #(2.0 7.0)))
((3.0 5.0 #(3.0 5.0)) (3.0 6.0 #(3.0 6.0)) (3.0 7.0 #(3.0 7.0)))
((4.0 5.0 #(4.0 5.0)) (4.0 6.0 #(4.0 6.0)) (4.0 7.0 #(4.0 7.0)))) @end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: triangle-area-by-sides (a b c)

@b(Описание:) функция @b(triangle-area-by-sides) возвращает площадь треугольника со сторонами @b(a), @b(b), @b(c).

@b(Пример использования:)
@begin[lang=lisp](code)
(triangle-area-by-sides 1.0 1.0 1.0) => 0.4330127 ; (/ (sqrt 3) 4) (triangle-area-by-sides 2.0 2.0 2.0) => 1.7320508 ; (sqrt 3) (triangle-area-by-sides 3.0 4.0 5.0) => 6.0 (triangle-area-by-sides 1.0 2.0 3.0) => 0.0
@end(code)

Package

math/geom.

Source

geom.lisp.

Function: unite-cols (2d-list)
Package

math/matr.

Source

matr.lisp.

Function: unite-rows (2d-list)

@b(Описание:) функция @b(unite-rows) объединяет строки матрицы (список списков) в вектор (список).

@b(Пример использования:)
@begin[lang=lisp](code)
(unite-rows ’((1 2 3)
(4 5 6)))
=>(1 2 3 4 5 6)
@end(code)

Package

math/matr.

Source

matr.lisp.

Function: variation-coefficient (x)

@b(Описание:) возвращает @link[uri="https://ru.wikipedia.org/wiki/Коэффициент_вариации"](коэффициент вариации) для списка величин.

@b(Пример использования:)
@begin[lang=lisp](code)
(variation-coefficient ’(1.1 1.0 0.9 1.2 0.8))
@end(code)

Package

math/stat.

Source

stat.lisp.

Function: variation-coefficient-not-nil (x)
Package

math/stat.

Source

stat.lisp.

Function: weight-func-list ()
Package

math/smooth.

Source

smooth.lisp.

Function: weight-func-p (func)
Package

math/smooth.

Source

smooth.lisp.


6.1.4 Generic functions

Generic Reader: <arithmetic>-a (object)
Generic Writer: (setf <arithmetic>-a) (object)
Package

math/series.

Methods
Reader Method: <arithmetic>-a ((<arithmetic> <arithmetic>))
Writer Method: (setf <arithmetic>-a) ((<arithmetic> <arithmetic>))

Первый член арифметической прогрессии (нумерация начинается с нуля).

Source

series.lisp.

Target Slot

a.

Generic Reader: <arithmetic>-d (object)
Generic Writer: (setf <arithmetic>-d) (object)
Package

math/series.

Methods
Reader Method: <arithmetic>-d ((<arithmetic> <arithmetic>))
Writer Method: (setf <arithmetic>-d) ((<arithmetic> <arithmetic>))

Разность арифметической прогрессии.

Source

series.lisp.

Target Slot

d.

Generic Reader: <geometric>-b (object)
Generic Writer: (setf <geometric>-b) (object)
Package

math/series.

Methods
Reader Method: <geometric>-b ((<geometric> <geometric>))
Writer Method: (setf <geometric>-b) ((<geometric> <geometric>))

Первый член геометрической прогрессии (нумерация начинается с нуля).

Source

series.lisp.

Target Slot

b.

Generic Reader: <geometric>-q (object)
Generic Writer: (setf <geometric>-q) (object)
Package

math/series.

Methods
Reader Method: <geometric>-q ((<geometric> <geometric>))
Writer Method: (setf <geometric>-q) ((<geometric> <geometric>))

Знаменатель геометрической прогрессии.

Source

series.lisp.

Target Slot

q.

Generic Function: add (a b)

@b(Описание:) обобщенная_функция @b(add) выполняет сложение аргументов @b(a) и @b(b).

Package

math/matr.

Source

matr.lisp.

Methods
Method: add ((a <matrix>) (b <matrix>))

@b(Пример использования:)

@begin[lang=lisp](code)
(add (matr-new 2 2 ’(1 2
3 4))
(matr-new 2 2 ’(1 2
3 4)))
=> Matr 2х2
[ 2 4 ]
[ 6 8 ]
(add (matr-new 2 2 ’(1 2 3 4)) (matr-new 2 2 ’(4 3 2 1))) => Matr 2х2
[ 5 5 ]
[ 5 5 ]
@end(code)

Generic Function: anti-diagonal (matrix)

@b(Описание:) обобщенная_функция @b(anti-diagonal)
возвращает список элементов, находящихся на побочной диагонали матрицы.

В результирующем списке элементы следуют по строкам.

Д.б опредена только для квадратной матрицы.

Package

math/matr.

Source

matr.lisp.

Methods
Method: anti-diagonal ((mm <matrix>))

@b(Пример использования:) @begin[lang=lisp](code)
(defparameter *mm*
(make-instance ’<matrix> :initial-contents ’((1d0 2d0 3d0)
(4d0 5d0 6d0)
(7d0 8d0 9d0)))) =>
Matr 3х3
[ 1.0d0 2.0d0 3.0d0 ]
[ 4.0d0 5.0d0 6.0d0 ]
[ 7.0d0 8.0d0 9.0d0 ]

(anti-diagonal *mm*) => (3.0d0 5.0d0 7.0d0) @end(code)

Generic Function: (setf anti-diagonal) (matrix)

@b(Описание:) обобщенная_функция @b((setf anti-diagonal)) устанавливет новые значения элементам матрицы @b(matrix), на побочной диагонали матрицы.

Элементы @b(elements) устанавливаются в порядке возрастания строк.

Package

math/matr.

Source

matr.lisp.

Methods
Method: (setf anti-diagonal) ((mm <matrix>))
Generic Reader: appr-bilinear-a2d-func (object)
Generic Writer: (setf appr-bilinear-a2d-func) (object)
Package

math/appr.

Methods
Reader Method: appr-bilinear-a2d-func ((<appr-bilinear> <appr-bilinear>))
Writer Method: (setf appr-bilinear-a2d-func) ((<appr-bilinear> <appr-bilinear>))

Двумерный массив функций размерности которого, на единицу меньше количества реперных значений по соответствующему
направлению (измерению).

Source

appr.lisp.

Target Slot

a2d-func.

Generic Reader: appr-bilinear-x1 (object)
Generic Writer: (setf appr-bilinear-x1) (object)
Package

math/appr.

Methods
Reader Method: appr-bilinear-x1 ((<appr-bilinear> <appr-bilinear>))
Writer Method: (setf appr-bilinear-x1) ((<appr-bilinear> <appr-bilinear>))

Вектор реперных значений по первому направлению (измерению).

Source

appr.lisp.

Target Slot

x1.

Generic Reader: appr-bilinear-x2 (object)
Generic Writer: (setf appr-bilinear-x2) (object)
Package

math/appr.

Methods
Reader Method: appr-bilinear-x2 ((<appr-bilinear> <appr-bilinear>))
Writer Method: (setf appr-bilinear-x2) ((<appr-bilinear> <appr-bilinear>))

Вектор реперных значений по второму направлению (измерению).

Source

appr.lisp.

Target Slot

x2.

Generic Reader: appr-linear-a1d-func (object)
Generic Writer: (setf appr-linear-a1d-func) (object)
Package

math/appr.

Methods
Reader Method: appr-linear-a1d-func ((<appr-linear> <appr-linear>))
Writer Method: (setf appr-linear-a1d-func) ((<appr-linear> <appr-linear>))

Вектор функций.

Source

appr.lisp.

Target Slot

a1d-func.

Generic Reader: appr-linear-x1 (object)
Generic Writer: (setf appr-linear-x1) (object)
Package

math/appr.

Methods
Reader Method: appr-linear-x1 ((<appr-linear> <appr-linear>))
Writer Method: (setf appr-linear-x1) ((<appr-linear> <appr-linear>))

Вектор аргументов.

Source

appr.lisp.

Target Slot

x1.

Generic Function: approximate (point a-l)
Package

math/appr.

Methods
Method: approximate (point (a-l <appr-bilinear>))

@b(Описание:) метод @b(approximate)

Source

appr.lisp.

Method: approximate ((point number) (a-l <appr-linear>))

@b(Описание:) метод @b(approximate) возвращает значение функции одного переменного в точке point для функции заданой таблично и аппроксимированной объектом @b(a-l).

Source

appr.lisp.

Generic Function: backward-run (matrix)

Кандидат в intern.

Обратный ход при вычислении решения системы линейных уравнений. Матрица matr должна быть приведена к треугольной;

Package

math/ls-gauss.

Source

ls-gauss.lisp.

Methods
Method: backward-run ((matr <matrix>))

Кандидат в intern.

Обратный ход при вычислении решения системы линейных уравнений. Матрица matr должна быть приведена к треугольной;

Generic Reader: coeff-a (object)
Generic Writer: (setf coeff-a) (object)
Package

math/equation.

Methods
Reader Method: coeff-a ((<quartic> <quartic>))
Writer Method: (setf coeff-a) ((<quartic> <quartic>))

Коэффициент при степени 4.

Source

equation.lisp.

Target Slot

a.

Reader Method: coeff-a ((<cubic> <cubic>))
Writer Method: (setf coeff-a) ((<cubic> <cubic>))

Коэффициент при степени 3.

Source

equation.lisp.

Target Slot

a.

Reader Method: coeff-a ((<quadric> <quadric>))
Writer Method: (setf coeff-a) ((<quadric> <quadric>))

Коэффициент при степени 2.

Source

equation.lisp.

Target Slot

a.

Reader Method: coeff-a ((<linear> <linear>))
Writer Method: (setf coeff-a) ((<linear> <linear>))

Коэффициент при степени 1.

Source

equation.lisp.

Target Slot

a.

Generic Reader: coeff-b (object)
Generic Writer: (setf coeff-b) (object)
Package

math/equation.

Methods
Reader Method: coeff-b ((<quartic> <quartic>))
Writer Method: (setf coeff-b) ((<quartic> <quartic>))

Коэффициент при степени 3.

Source

equation.lisp.

Target Slot

b.

Reader Method: coeff-b ((<cubic> <cubic>))
Writer Method: (setf coeff-b) ((<cubic> <cubic>))

Коэффициент при степени 2.

Source

equation.lisp.

Target Slot

b.

Reader Method: coeff-b ((<quadric> <quadric>))
Writer Method: (setf coeff-b) ((<quadric> <quadric>))

Коэффициент при степени 1.

Source

equation.lisp.

Target Slot

b.

Reader Method: coeff-b ((<linear> <linear>))
Writer Method: (setf coeff-b) ((<linear> <linear>))

Коэффициент при степени 0.

Source

equation.lisp.

Target Slot

b.

Generic Reader: coeff-c (object)
Generic Writer: (setf coeff-c) (object)
Package

math/equation.

Methods
Reader Method: coeff-c ((<quartic> <quartic>))
Writer Method: (setf coeff-c) ((<quartic> <quartic>))

Коэффициент при степени 2.

Source

equation.lisp.

Target Slot

c.

Reader Method: coeff-c ((<cubic> <cubic>))
Writer Method: (setf coeff-c) ((<cubic> <cubic>))

Коэффициент при степени 1.

Source

equation.lisp.

Target Slot

c.

Reader Method: coeff-c ((<quadric> <quadric>))
Writer Method: (setf coeff-c) ((<quadric> <quadric>))

Коэффициент при степени 0.

Source

equation.lisp.

Target Slot

c.

Generic Reader: coeff-d (object)
Generic Writer: (setf coeff-d) (object)
Package

math/equation.

Methods
Reader Method: coeff-d ((<quartic> <quartic>))
Writer Method: (setf coeff-d) ((<quartic> <quartic>))

Коэффициент при степени 1.

Source

equation.lisp.

Target Slot

d.

Reader Method: coeff-d ((<cubic> <cubic>))
Writer Method: (setf coeff-d) ((<cubic> <cubic>))

Коэффициент при степени 0.

Source

equation.lisp.

Target Slot

d.

Generic Reader: coeff-e (object)
Generic Writer: (setf coeff-e) (object)
Package

math/equation.

Methods
Reader Method: coeff-e ((<quartic> <quartic>))
Writer Method: (setf coeff-e) ((<quartic> <quartic>))

Коэффициент при степени 1.

Source

equation.lisp.

Target Slot

e.

Generic Function: col (matrix col)

@b(Описание:) обобщенная_функция @b(col) возвращает строку @b(col) матрицы @b(matrix).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: col ((col integer) (a array))

@b(Описание:) метод @b(col) возвращает столбец @b(col) из масства @b(a). Столбец возвращается в виде вектора (vector).

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((arr (make-array ’(5 2)
:initial-contents ’((0 1)
(2 3)
(4 5)
(6 7)
(8 9)))))
(col 0 arr) ;=> #(0 2 4 6 8)
(col 1 arr) ;=> #(1 3 5 7 9)
)
@end(code)

Method: col (col (2d-list cons))
Method: col ((mm <matrix>) col)
Generic Function: (setf col) (matrix col)

@b(Описание:) обобщенная_функция @b((setf col)) заменяет столбец @b(col) матрицы @b(matrix) элементами, находящимися в списке @b(values).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: (setf col) ((a array) col)
Method: (setf col) ((a array) col)
Method: (setf col) ((a array) col)
Method: (setf col) ((mm <matrix>) col)
Generic Function: cols (matrix)

@b(Описание:) обобщенная_функция @b(cols) возврвщает количество столбцов матрицы @b(matrix).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: cols ((mm <matrix>))

@b(Пример использования:) @begin[lang=lisp](code) (To-Do)
@end(code)

Method: cols ((2d-list cons))

@b(Пример использования:) @begin[lang=lisp](code) (To-Do)
@end(code)

Method: cols ((a array))

@b(Пример использования:) @begin[lang=lisp](code) (To-Do)
@end(code)

Generic Function: convert-to-triangular (matrix)

@b(Описание:) обобщенная_функция @b(convert-to-triangular) выполняет приведение матрицы @b(matrix) к треугольному виду, для решения системы ЛУ методом Гаусса.

Package

math/ls-gauss.

Source

ls-gauss.lisp.

Methods
Method: convert-to-triangular ((matr cons))
Method: convert-to-triangular ((matr <matrix>))

@b(Пример использования:)
@begin[lang=lisp](code)
(convert-to-triangular
(make-instance ’<matrix>
:initial-contents ’((0.0 0.0 4.0 12.0)
(2.0 0.0 2.0 8.0)
(0.0 3.0 0.0 6.0))))
=> Matr 3х4
[ 1.0 0.0 1.0 4.0 ]
[ 0.0 1.0 0.0 2.0 ]
[ 0.0 0.0 1.0 3.0 ] @end(code)

@b(Пример использования:)
@begin[lang=lisp](code)
(convert-to-triangular
(make-instance ’math/matr:<matrix>
:initial-contents ’((1.0d0 2.0d0 3.0d0 4.0d0) (5.0d0 6.0d0 7.0d0 8.0d0)
(9.0d0 10.0d0 11.0d0 12.0d0))))
=> Matr 3х4
[ 1.0d0 2.0d0 3.0d0 4.0d0 ]
[ -0.0d0 1.0d0 2.0d0 2.9999999999999996d0 ] [ 0.0d0 0.0d0 0.0d0 8.881784197001252d-16 ] @end(code)

Generic Function: copy (obj)

@b(Описание:) обобщенная_функция @b(copy) возвращает ссылку на новый объект, созданный на основе @b(obj).

Package

math/matr.

Source

matr.lisp.

Methods
Method: copy ((mm-ref <matrix>))
Generic Function: determiant (matr)
Package

math/ls-gauss.

Methods
Method: determiant ((matr cons))
Source

ls-gauss.lisp.

Method: determiant ((matr <matrix>))
Source

ls-gauss.lisp.

Generic Function: dimensions (matrix)

@b(Описание:) обобщенная_функция @b(dimensions) возвращает список, содержащий размерности матрицы @b(matrix).

Package

math/matr.

Source

matr.lisp.

Methods
Method: dimensions ((2d-list cons))
Source

defmethod.lisp.

Method: dimensions ((mm <matrix>))
Generic Function: distance (x1 x2)

@b(Описание:) обобщенная функция @b(distance)
возвращает расстояние между x1 и x2. Как корень квадратный из сумм квадратов расстояний по каждому направлению.

Package

math/core.

Source

core.lisp.

Methods
Method: distance ((x1 cons) (x2 vector))
Method: distance ((x1 vector) (x2 cons))
Method: distance ((x1 vector) (x2 vector))

@b(Описание:) метод @b(distance) возвращает расстояние между точками @b(x1-lst) и @b(x2-lst).

@b(Пример использования:)
@begin[lang=lisp](code)
(distance #(1 1 1) #(0 0 0)) => 1.7320508 (distance #(2 2 2) #(0 0 0)) => 3.4641016 (distance #(2 1 2) #(0 0 0)) => 3.0
@end(code)

Method: distance ((x1-lst cons) (x2-lst cons))

@b(Описание:) метод @b(distance) возвращает расстояние между точками @b(x1-lst) и @b(x2-lst).

@b(Пример использования:)
@begin[lang=lisp](code)
(distance ’(1 1 1) ’(0 0 0)) => 1.7320508 = (sqrt (+ 1 1 1)) (distance ’(2 2 2) ’(0 0 0)) => 3.4641016 = (sqrt (+ 4 4 4)) (distance ’(2 1 2) ’(0 0 0)) => 3.0 = (sqrt (+ 4 1 4)) @end(code)

Method: distance ((x1 number) (x2 number))

@b(Пример использования:) @begin[lang=lisp](code)
(distance (complex 1 2) 0) => 2.236068 (distance 0 (complex 1 2)) => 2.236068 (distance (complex 0 2) (complex 1 2)) => 1.0 @end(code)

Method: distance ((x1 real) (x2 real))

@b(Пример использования:) @begin[lang=lisp](code) (distance 1 0 ) => 1 (distance 2 0 ) => 2 (distance 2 1 ) => 1 @end(code)

Generic Function: distance-relative (x0 x1 dx)

@b(Описание:) обобщенная функция @b(distance-relative)
возвращает относительную длину между x0 и x1, длина приведения dx. Корень квадратный из сумм квадратов расстояний по каждому направлению отнесенному к длине приведения.

Package

math/core.

Source

core.lisp.

Methods
Method: distance-relative ((x vector) (xi vector) (dx vector))

@b(Описание:) метод @b(distance-relative) возвращает относительное
расстояние от точки @b(x) до точки @b(xi) по отношению к базовым длинам,
находящимся в @b(dx).

@b(Пример использования:)
@begin[lang=lisp](code)
(distance-relative #(1 1 1) #(0 0 0) #(1 1 1)) => 1.7320508
(distance-relative #(1 1 1) #(0 0 0) #(2 2 2)) => 0.8660254
(distance-relative #(1 2 3) #(0 0 0) #(3 2 1)) => 3.1797974 = (sqrt (+ (* 1/3 1/3) (* 2/2 2/2) (* 3/1 3/1))) @end(code)

Method: distance-relative ((x-lst cons) (xi-lst cons) (dx-lst cons))

@b(Пример использования:)
@begin[lang=lisp](code)
(distance-relative ’(1 1 1) ’(0 0 0) ’(1 1 1)) => 1.7320508 (distance-relative ’(2 2 2) ’(0 0 0) ’(1 1 1)) => 3.4641016 (distance-relative ’(2 2 2) ’(0 0 0) ’(1 2 2)) => 2.4494898 @end(code)

Method: distance-relative ((x number) (xi number) (dx number))

@b(Пример использования:) @begin[lang=lisp](code) (distance-relative 1 0 1) => 1.0 (distance-relative 2 0 1) => 2.0 (distance-relative 2 0 2) => 1.0 @end(code)

Generic Function: equivalent (matrix-1 matrix-2 &key test)

@b(Описание:) обобщенная_функция @b(equivalent) возвращает T,
если матирицы @b(matrix-1) и @b(matrix-2) имеют одинаковые размерности и их соответствующие элементы равны (для них функция @b(test) возвращает T ).

Package

math/matr.

Source

matr.lisp.

Methods
Method: equivalent ((a1 array) (m2 <matrix>) &key test)
Method: equivalent ((m1 <matrix>) (a2 array) &key test)
Method: equivalent ((a1 array) (a2 array) &key test)
Method: equivalent ((m1 <matrix>) (m2 <matrix>) &key test)
Generic Function: first-by-number&summ (series n s)

@b(Описание:) обобщенная функция @b(first-by-number&summ) возвращает первый член прогрессии, такой чтобы сумма n членов равнялась @b(S). При этом прогрессия сама поргрессия @b(series) изменяется.

Package

math/series.

Source

series.lisp.

Methods
Method: first-by-number&summ ((series <arithmetic>) n s)
Method: first-by-number&summ ((series <geometric>) n s)
Generic Function: func (eq)

@b(Описание:) обобщенная_функция @b(func) функцию одного переменного, представляющее полином.

Package

math/equation.

Source

equation.lisp.

Methods
Method: func ((eq <quartic>))

@b(Пример использования:)
@begin[lang=lisp](code)
(funcall (func (make-instance ’<quartic>)) 0) => -1.0 @end(code)

Method: func ((eq <cubic>))

@b(Пример использования:) @begin[lang=lisp](code)
(funcall (func (make-instance ’<cubic>)) 5) => 124.0 @end(code)

Method: func ((eq <quadric>))

@b(Пример использования:) @begin[lang=lisp](code)
(funcall (func (make-instance ’<quadric>)) 2) => 3.0 @end(code)

Method: func ((eq <linear>))

@b(Пример использования:) @begin[lang=lisp](code)
(funcall (func (make-instance ’<linear>)) 1) => 0.0 @end(code)

Generic Function: gnuplot-data-to-file (f-name data)
Package

math/gnuplot.

Source

gnuplot.lisp.

Methods
Method: gnuplot-data-to-file (f-name (data array))

@b(Описание:) метод @b(gnuplot-data-to-file) выводит данные
@b(data) в файл с именем @b(f-name), расположенный в каталоге поумолчанию
(см. переменную *default-gnuplot-direcroty*).

Данные должны быть представлены 2d-array.

@b(Пример использования:)
@begin[lang=lisp](code)
(gnuplot-data-to-file "data"
(loop :for i :from 0 :to 4 :by 1/10 :collect (list i (* i i))))
(gnuplot-data-to-file "data" (make-array ’(5 2) :initial-contents ’((0 0)(1 1)(2 4)(3 9)(4 16)))) @end(code)

Method: gnuplot-data-to-file (f-name (data cons))

@b(Описание:) метод @b(gnuplot-data-to-file) выводит данные
@b(data) в файл с именем @b(f-name), расположенный в каталоге поумолчанию (см. переменную *default-gnuplot-direcroty*).

Данные должны быть представлены 2d-list.

@b(Пример использования:)
@begin[lang=lisp](code)
(gnuplot-data-to-file "data"
(loop :for i :from 0 :to 4 :by 1/10 :collect (list i (* i i)))) @end(code)

Generic Function: item (series i)

@b(Описание:) обобщенная_функция @b(item) возвращает значение @b(i)-того члена прогрессии.

Package

math/series.

Source

series.lisp.

Methods
Method: item ((series <arithmetic>) (i integer))
Method: item ((series <geometric>) (i integer))
Generic Function: main-diagonal (matrix)

@b(Описание:) обобщенная_функция @b(main-diagonal) извлекает главную диагональ матрицы.

Элементы возвращаются в порядке возрастания строк.

Package

math/matr.

Source

matr.lisp.

Methods
Method: main-diagonal ((mm <matrix>))

@b(Пример использования:) @begin[lang=lisp](code)
(defparameter *mm*
(make-instance ’<matrix> :initial-contents ’(( 1d0 2d0 3d0)
( 4d0 5d0 6d0)
( 7d0 8d0 9d0)
(10d0 11d0 12d0))))
*mm* => Matr 4х3
[ 1.0d0 2.0d0 3.0d0 ] [ 4.0d0 5.0d0 6.0d0 ] [ 7.0d0 8.0d0 9.0d0 ] [ 10.0d0 11.0d0 12.0d0 ]

(main-diagonal *mm*) => (1.0d0 5.0d0 9.0d0) @end(code)

Generic Function: (setf main-diagonal) (matrix)

@b(Описание:) обобщенная_функция @b((setf main-diagonal)) устанавливает новые значения элементам матрицы @b(matrix), находящимся на главной диагонали.

Элементы @b(elements) устанавливаются в порядке возрастания строк.

Package

math/matr.

Source

matr.lisp.

Methods
Method: (setf main-diagonal) ((mm <matrix>))

@b(Пример использования:) @begin[lang=lisp](code)
(defparameter *mm*
(make-instance ’<matrix> :initial-contents ’(( 1d0 2d0 3d0) ( 4d0 5d0 6d0) ( 7d0 8d0 9d0) (10d0 11d0 12d0)))) *mm* => Matr 4х3
[ 1.0d0 2.0d0 3.0d0 ] [ 4.0d0 5.0d0 6.0d0 ] [ 7.0d0 8.0d0 9.0d0 ] [ 10.0d0 11.0d0 12.0d0 ]

(setf (main-diagonal *mm*) 11d0)
Matr 4х3
[ 11.0d0 2.0d0 3.0d0 ]
[ 4.0d0 11.0d0 6.0d0 ]
[ 7.0d0 8.0d0 11.0d0 ]
[ 10.0d0 11.0d0 12.0d0 ]

*mm* => Matr 4х3
[ 11.0d0 2.0d0 3.0d0 ]
[ 4.0d0 11.0d0 6.0d0 ]
[ 7.0d0 8.0d0 11.0d0 ]
[ 10.0d0 11.0d0 12.0d0 ] @end(code)

Method: (setf main-diagonal) ((mm <matrix>))

@b(Пример использования:)

@begin[lang=lisp](code)
(defparameter *mm*
(make-instance ’<matrix> :initial-contents ’(( 1d0 2d0 3d0) ( 4d0 5d0 6d0) ( 7d0 8d0 9d0) (10d0 11d0 12d0)))) *mm* => Matr 4х3
[ 1.0d0 2.0d0 3.0d0 ] [ 4.0d0 5.0d0 6.0d0 ] [ 7.0d0 8.0d0 9.0d0 ] [ 10.0d0 11.0d0 12.0d0 ]

(setf (main-diagonal *mm*) ’(11d0 22d0 33d0)) *mm* => Matr 4х3
[ 11.0d0 2.0d0 3.0d0 ]
[ 4.0d0 22.0d0 6.0d0 ]
[ 7.0d0 8.0d0 33.0d0 ]
[ 10.0d0 11.0d0 12.0d0 ] @end(code)

Generic Function: make-refine-smoothing (nod-points nod-values base-dist-s &key weight-func delta iterations)
Package

math/appr.

Methods
Method: make-refine-smoothing ((nod-points array) (nod-values vector) (base-dist-s vector) &key weight-func delta iterations)

@b(Описание:) метод @b(make-refine-smoothing) в случе нахождения сглаживания для функции двух переменных.

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((nod-lst ’((-1.0 -1.0) (1.0 -1.0) (-1.0 1.0) (1.0 1.0))) (nod-rez #(-10.0 0.0 0.0 10.0))
(nod-pts (make-array ’(4 2) :initial-contents nod-lst)) (base-dists-1_5 #(1.5 1.5))
(base-dists-1_0 #(1.0 1.0))
(base-dists-0_6 #(0.6 0.6))
(base-dists-0_4 #(0.4 0.4))
(func (make-refine-smoothing nod-pts nod-rez base-dists-1_5))) (funcall func 0.0 0.5))
@end(code)

Source

appr.lisp.

Method: make-refine-smoothing ((nod-points cons) (nod-values cons) (base-dist-s number) &key weight-func delta iterations)
Source

appr.lisp.

Method: make-refine-smoothing ((nod-points vector) (nod-values vector) (base-dist-s number) &key weight-func delta iterations)

@b(Описание:) метод @b(make-refine-smoothing) в случе нахождения сглаживания для функции одного переменного.

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((nod-pts #(-2.0 -1.0 -0.5 0.0 0.5 1.0 2.0)) (nod-rez #( 4.0 1.0 0.25 0.0 0.25 1.0 4.0)) (base-dists-1_5 1.5 )
(base-dists-1_0 1.0 )
(base-dists-0_6 0.6 )
(base-dists-0_4 0.4 )
(func (make-refine-smoothing nod-pts nod-rez base-dists-1_5))) (loop :for i :from -2 :to 2 :by 1/10
:collect (list (* 1.0 i)
(* 1.0 i i)
(funcall func (* 1.0 i))
(* 100 (1- (/ (* 1.0 i i)
(funcall func (* 1.0 i))))))))
=> ’(( 0.0 0.00 0.00350)
( 0.1 0.01 0.01315)
( 0.2 0.04 0.04218)
( 0.3 0.09 0.09071)
( 0.4 0.16 0.15898)
( 0.5 0.25 0.24730)
( 0.6 0.36 0.35599)
( 0.7 0.49 0.48542)
( 0.8 0.64 0.63591)
( 0.9 0.81 0.80774)
( 1.0 1.00 1.00107)
( 1.1 1.21 1.21590)
( 1.2 1.44 1.45205)
( 1.3 1.69 1.70909)
( 1.4 1.96 1.98635)
( 1.5 2.25 2.28284)
( 1.6 2.56 2.59730)
( 1.7 2.89 2.92817)
( 1.8 3.24 3.27363)
( 1.9 3.61 3.63161)
( 2.0 4.00 3.99986))
@end(code)

Source

appr.lisp.

Generic Function: matr-eval-* (matrix)

Matr

Package

math/matr.

Source

matr.lisp.

Methods
Method: matr-eval-* ((mm <matrix>))

Мутная функция и непонятно как ее использовать и где?

Generic Function: matr-name-* (matrix)

Matr

Package

math/core.

Source

core.lisp.

Generic Function: matrix->2d-list (mm)
Package

math/matr.

Methods
Method: matrix->2d-list ((mm <matrix>))
Source

matr.lisp.

Generic Reader: matrix-data (object)
Generic Writer: (setf matrix-data) (object)
Package

math/matr.

Methods
Reader Method: matrix-data ((<matrix> <matrix>))
Writer Method: (setf matrix-data) ((<matrix> <matrix>))

Сдержимое матрицы.

Source

matr.lisp.

Target Slot

data.

Generic Function: move-v (v)
Package

math/matr.

Methods
Method: move-v ((v cons))

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая перемещает систему координат в направлении вектора v.

Source

matr.lisp.

Generic Function: move-xyz (dx dy dz)
Package

math/matr.

Methods
Method: move-xyz ((dx number) (dy number) (dz number))

@b(Описание:) метод @b(move-xyz) возвращает однородную матрицу преобразования, которая перемещает систему координат на (dx dy dz).

Source

matr.lisp.

Generic Function: mref (matrix row col)

@b(Описание:) обобщенная_функция @b(mref) возвращает элемент матрицы, находяшийся в строке @b(row) и столбце @b(col).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: mref ((mm array) i j)
Method: mref ((mm cons) i j)
Method: mref ((mm <matrix>) i j)
Generic Function: (setf mref) (matrix row col)

@b(Описание:) обобщенная_функция @b((setf mref)) устанавливает значение @b(value) элементу матрицы, находящемуся в строке @b(row) и столбце @b(col).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: (setf mref) ((mm array) i j)
Method: (setf mref) ((mm cons) i j)
Method: (setf mref) ((mm <matrix>) i j)
Generic Function: multiply (a b)

@b(Описание:) обобщенная_функция @b(multiply) выполняет перемножение аргументов @b(a) и @b(b).

Package

math/matr.

Source

matr.lisp.

Methods
Method: multiply ((a number) (b <matrix>))

@b(Пример использования:) @begin[lang=lisp](code)
(multiply 10
(matr-new 2 3 ’(1.0 2.0 3.0 4.0 5.0 6.0)))
=> Matr 2х3
[ 10.0 20.0 30.0 ] [ 40.0 50.0 60.0 ] @end(code)

Method: multiply ((a <matrix>) (b <matrix>))

@b(Пример использования:) @begin[lang=lisp](code)
(multiply (matr-new 2 3 ’(1.0 2.0 3.0 4.0 5.0 6.0))
(matr-new 3 2 ’(1.0 2.0
3.0 4.0
5.0 6.0)))
=> Matr 2х2
[ 22.0 28.0 ]
[ 49.0 64.0 ]
(multiply (matr-new 3 2 ’(1.0 2.0 3.0 4.0
5.0 6.0))
(matr-new 2 3 ’(1.0 2.0 3.0 4.0 5.0 6.0)))
=> Matr 3х3
[ 9.0 12.0 15.0 ]
[ 19.0 26.0 33.0 ]
[ 29.0 40.0 51.0 ]
@end(code)

Generic Function: norma (x)
Package

math/core.

Source

core.lisp.

Methods
Method: norma ((x vector))
Method: norma ((x cons))
Method: norma ((x number))
Method: norma ((x real))
Generic Function: refine-smoothing-by-points (nod-points nod-values base-dist-s &key weight-func delta iterations)

@b(Описание:) обобщенная функция @b(refine-smoothing-by-points)
возвращает массив значений @b(rez-values@sub(i)) такой, что
для точек @b(nod-points@sub(i)) сумма отклонений между @b(nod-values@sub(i)) и
@b((smooth-by-points point-s@sub(i) base-dist-s nod-points rez-values@sub(i) :weight-func weight-func)) не превысит @b(delta).

Вторым значением возвращается:
@begin(list)
@item(T - если такой массив удалось найти за указанной в параметре @b(iterations) количестве итераций;) @item(nil - если за указанной количество итераций @b(iterations) такой массив удалось найти не удалось.) @end(list)

Package

math/appr.

Source

appr.lisp.

Methods
Method: refine-smoothing-by-points ((nod-points array) (nod-values vector) (base-dist-s vector) &key weight-func delta iterations)

@b(Описание:) метод @b(refine-smoothing-by-points) в случе
нахождения сглаживания для функции двух переменных.

@b(Пример использования:)
@begin[lang=lisp](code)
(let* ((nod-lst ’((-1.0 0.0) (1.0 0.0) (-1.0 1.0) (1.0 1.0)))
(nod-rez #(-10.0 0.0 0.0 10.0))
(nod-pts (make-array ’(4 2) :initial-contents nod-lst))
(base-dists-1_5 #(1.5 1.5))
(base-dists-1_0 #(1.0 1.0))
(base-dists-0_6 #(0.6 0.6))
(base-dists-0_4 #(0.4 0.4)))
(refine-smoothing-by-points nod-pts nod-rez base-dists-0_4)
(refine-smoothing-by-points nod-pts nod-rez base-dists-0_6)
(refine-smoothing-by-points nod-pts nod-rez base-dists-1_0)
(refine-smoothing-by-points nod-pts nod-rez base-dists-1_5)
)
=> #(-10.019267 -0.019267347 0.019267347 10.019267), T, 1, 2.9726332e-4, #(-9.999926 7.424513e-5 -7.424499e-5 9.999926), #(-10.0 0.0 0.0 10.0), #(0.4 0.4) => #(-10.663013 -0.66271365 0.6627135 10.663013), T, 4, 4.3922185e-4, #(-9.99989 1.0987265e-4 -1.1000411e-4 9.99989), #(-10.0 0.0 0.0 10.0), #(0.6 0.6) => #(-16.005812 -5.632663 5.6326632 16.00581), T, 15, 9.807203e-4, #(-9.999755 2.451054e-4 -2.4542634e-4 9.999755), #(-10.0 0.0 0.0 10.0), #(1.0 1.0) => #(-29.902119 -15.834344 15.834344 29.902119), T, 40, 8.0980576e-4, #(-9.999799 2.0380187e-4 -2.0355334e-4 9.999799), #(-10.0 0.0 0.0 10.0), #(1.5 1.5) @end(code)

Method: refine-smoothing-by-points ((nod-points vector) (nod-values vector) (base-dist-s number) &key weight-func delta iterations)

@b(Описание:) метод @b(refine-smoothing-by-points) в случе нахождения сглаживания для функции одного переменного.

Generic Function: roots (eq)

@b(Описание:) обобщенная_функция @b(roots) возвращает корни уравнения @b(eq).

Package

math/equation.

Source

equation.lisp.

Methods
Method: roots ((eq <quartic>))

@b(Описание:) метод @b(roots) возвращает список корней кубического уравнения @b(eq).

Method: roots ((eq <cubic>))

@b(Пример использования:) @begin[lang=lisp](code) (roots (make-instance ’<cubic> :a 2 :b -3 :c -3 :d 2)) => (#C(-1.0d0 -0.0d0)
#C(0.5000000000000004d0 2.9605947323337506d-16) #C(1.9999999999999996d0 -2.9605947323337506d-16)) (roots (make-instance ’<cubic> :a 1 :b 2 :c 10 :d -20)) => (#C(-1.6844040539106864d0 -3.4313313501976914d0) #C(1.3688081078213714d0 1.9558293600573398d-16) #C(-1.684404053910686d0 3.4313313501976905d0)) (roots (make-instance ’<cubic> :a 1 :b -6 :c 12 :d -8)) => (2.0d0 2.0d0 2.0d0)
@end(code)

Method: roots ((eq <quadric>))

@b(Пример использования:)
@begin[lang=lisp](code)
(roots (make-instance ’<quadric> :a 1 :b -2 :c 1)) => (1.0 1.0) (roots (make-instance ’<quadric> :a 1 :b -4 :c 4)) => (2.0 2.0) @end(code)

Method: roots ((eq <linear>))
Generic Function: rotate-around (point-1 point-2 θ)
Package

math/matr.

Methods
Method: rotate-around ((point-1 cons) (point-2 cons) θ)

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая вращает протсранство вокруг оси, заданной точками point-1 и point-2

Source

matr.lisp.

Generic Function: rotate-v (θ v)
Package

math/matr.

Methods
Method: rotate-v ((θ number) (v cons))

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая вращает систему координат на угол α вокруг оси, заданной вектором v. Вектор v должен быть нормализованным (иметь единичную длину).

Source

matr.lisp.

Generic Function: rotate-x (α)

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая вращает систему координат на угол α вокруг оси x.

Package

math/matr.

Source

matr.lisp.

Methods
Method: rotate-x ((α number))

@b(Пример использования:)
@begin[lang=lisp](code)
(progn (defparameter *p* (make-instance ’math/matr:<matrix> :dimensions ’(1 4))) (setf (math/matr:row *p* 0) ’(10.0 20.0 30.0 1.0)) (math/matr:multiply *p* (rotate-y (dtr 90.0))))
@end(code)

Generic Function: rotate-y (β)
Package

math/matr.

Methods
Method: rotate-y ((β number))

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая вращает систему координат на угол β вокруг оси y.

Source

matr.lisp.

Generic Function: rotate-z (γ)
Package

math/matr.

Methods
Method: rotate-z ((γ number))

@b(Описание:) метод @b(rotate-x) возвращает однородную матрицу преобразования, которая вращает систему координат на угол γ вокруг оси z.

Source

matr.lisp.

Generic Function: row (matrix row)

@b(Описание:) обобщенная_функция @b(row) возвращает строку @b(row) матрицы @b(matrix).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: row (row (2d-list cons))
Method: row ((row integer) (a array))

@b(Пример использования:) @begin[lang=lisp](code)
(let ((arr (make-array ’(5 2) :initial-contents ’((0 1)
(2 3)
(4 5)
(6 7)
(8 9)))))
(row 0 arr) ;=> #(0 1) (row 2 arr) ;=> #(4 5) (row 4 arr) ;=> #(8 9)) @end(code)

Method: row ((mm <matrix>) row)
Generic Function: (setf row) (matrix row)

@b(Описание:) обобщенная_функция @b((setf row)) заменяет строку @b(row) матрицы @b(matrix) элементами, находящимися в списке @b(values).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: (setf row) ((a array) row)
Method: (setf row) ((a array) row)
Method: (setf row) ((a array) row)
Method: (setf row) ((mm <matrix>) row)
Generic Function: rows (matrix)

@b(Описание:) обобщенная_функция @b(rows) возврвщает количество строк матрицы @b(matrix).

Package

math/matr.

Source

defmethod.lisp.

Methods
Method: rows ((2d-list cons))
Method: rows ((a array))

@b(Описание:) метод @b(rows) возвращает количество строк в массиве @b(a).

Method: rows ((mm <matrix>))
Generic Function: scale-by-number&summ (series n s &key from to)

@b(Описание:) обобщенная_функция @b(scale-by-number&summ) возвращает масштаб (разность для арифмеической прогрессии или степень для геометрической прогрессии) такую, чтобы сумма @b(n) членов прогрессии равнялась @b(S).

Package

math/series.

Source

series.lisp.

Methods
Method: scale-by-number&summ ((series <arithmetic>) n s &key from to)
Method: scale-by-number&summ ((series <geometric>) n s &key from to)
Generic Function: semi-equal (x y &key tolerance)
Package

math/core.

Source

core.lisp.

Methods
Method: semi-equal ((x1 cons) (x2 vector) &key tolerance)
Method: semi-equal ((x1 vector) (x2 cons) &key tolerance)
Method: semi-equal ((x vector) (y vector) &key tolerance)
Method: semi-equal ((x cons) (y cons) &key tolerance)
Method: semi-equal ((x number) (y number) &key tolerance)

@b(Описание:) функция @b(semi-equal) возвращает T, если расстояние между значениями меньше tolerance. При этом имеется в виду, что значения примерно равны.

@b(Пример использования:)
@begin[lang=lisp](code)
(semi-equal 1.0 1.000001) T
(semi-equal 1.0 1.00001) nil
@end(code)

Generic Function: singular-p (matr &key tolerance)
Package

math/ls-gauss.

Methods
Method: singular-p ((matr cons) &key tolerance)
Source

ls-gauss.lisp.

Method: singular-p ((matr <matrix>) &key tolerance)
Source

ls-gauss.lisp.

Generic Function: smooth-by-points (point-s base-dist-s nod-points nod-values &key weight-func)

@b(Описание:) обобщенная функция @b(smooth-by-points) возвращает значение в точке @b(point-s), являющееся результатом сглаживания зависимости заданной:
@begin(list)
@item(таблицей узловых точек @b(nod-points);)
@item(таблицей значений @b(nod-values);)
@item(функцией @b(weight-func) учета веса значений от относительного расстояния до аргумента (при которых эти значения определены);) @item(базовой длины (базовых длинн) @b(base-dist-s), по которой (которым) вычисляются относительные расстояния.)
@end(list)

Package

math/appr.

Source

appr.lisp.

Methods
Method: smooth-by-points ((x vector) (dx vector) (points array) (values vector) &key weight-func)

@b(Описание:) метод @b(smooth-by-points) возвращает значение, являющееся результатом
сглаживания зависимости заданной:
@begin(list)
@item(аргументами @b(points);)
@item(значениями в этих точках @b(values);)
@item(функцией @b(weight-func) учета веса значений от относительного
расстояния до аргумента (при которых эти значения определены);)
@item(базовой длины, по которой вычисляются относительные расстояния.)
@end(list)
Этот вариант метода примерняется для сглаживания функции двух аргументов.

@b(Пример использования:)
@begin[lang=lisp](code)
(smooth-by-points #(0.0 0.0) #(1.0 1.0) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 0.53788286 (smooth-by-points #(0.0 0.0) #(0.6 0.6) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 0.117073804 (smooth-by-points #(0.0 0.0) #(0.4 0.4) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 0.0038534694
(smooth-by-points #(1.0 0.0) #(1.0 1.0) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 (smooth-by-points #(1.0 0.0) #(0.6 0.6) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 0.9999999 (smooth-by-points #(1.0 0.0) #(0.4 0.4) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0

(smooth-by-points #(0.0 1.0) #(1.0 1.0) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 (smooth-by-points #(0.0 1.0) #(0.6 0.6) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 (smooth-by-points #(0.0 1.0) #(0.4 0.4) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0

(smooth-by-points #(1.0 1.0) #(1.0 1.0) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.4621171 (smooth-by-points #(1.0 1.0) #(0.6 0.6) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.8829262 (smooth-by-points #(1.0 1.0) #(0.4 0.4) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.9961466
(smooth-by-points #(0.5 0.5) #(1.0 1.0) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 (smooth-by-points #(0.5 0.5) #(0.6 0.6) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 (smooth-by-points #(0.5 0.5) #(0.4 0.4) (make-array ’(4 2) :initial-contents ’((0.0 0.0) (1.0 0.0) (0.0 1.0) (1.0 1.0))) #(0.0 1.0 1.0 2.0)) 1.0 @end(code)

Method: smooth-by-points ((x number) (dx number) (points vector) (values vector) &key weight-func)

@b(Описание:) метод @b(smooth-by-points) возвращает значение,
являющееся результатом сглаживания зависимости заданной:
@begin(list)
@item(аргументами @b(points);)
@item(значениями в этих точках @b(values);)
@item(функцией @b(weight-func) учета веса значений от относительного расстояния до аргумента (при которых эти значения определены);) @item(базовой длины, по которой вычисляются относительные расстояния.) @end(list)

Этот вариант метода примерняется для сглаживания функции одного аргумента.

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((args #(-2.0 -1.0 0.0 1.0 2.0))
(vals #( 4.0 1.0 0.0 1.0 4.0))
(dx-2_0 2.0)
(dx-1_0 1.0)
(dx-0_6 0.6))
(loop :for i :from 0 :to 2 :by 1/5
:collect (list (* i 1.0)
(* i i 1.0)
(smooth-by-points i dx-0_6 args vals)
(smooth-by-points i dx-1_0 args vals)
(smooth-by-points i dx-2_0 args vals))))
=> ’((0.0 0.0 0.11070304 0.4977933 1.3665789)
(0.2 0.04 0.1735467 0.5375060 1.3774427)
(0.4 0.16 0.3702085 0.6551497 1.4096088)
(0.6 0.36 0.6500492 0.8464661 1.4618422)
(0.8 0.64 0.8946066 1.1046556 1.5322074)
(1.0 1.00 1.1105981 1.4196386 1.6182360)
(1.2 1.44 1.4516152 1.7761649 1.7171193)
(1.4 1.96 2.0848030 2.1525292 1.8259060)
(1.6 2.56 2.9039226 2.5225418 1.9416808)
(1.8 3.24 3.5229838 2.8611753 2.0617056)
(2.0 4.00 3.8243356 3.1507930 2.1835241))
@end(code)

Generic Function: solve-x (matrix)

@b(Описание:) обобщенная_функция @b(solve-x)
возвращает матрицу, содержащую корни решения системы линейных уравений.

Решение системы линейных уравнений выполняется методом Гаусса.

Package

math/ls-gauss.

Source

ls-gauss.lisp.

Methods
Method: solve-x ((matr cons))

@b(Пример использования:) @begin[lang=lisp](code) (solve-x ’((1 2 2) (3 5 4))) => #(-2 2)

@end(code)

Method: solve-x ((matr <matrix>))

@b(Пример использования 1.1:) @begin[lang=lisp](code)
(solve-x
(math/matr:matr-new
3 4 ’(1 2 3 14
2 1 1 7
3 0 1 2)))
=> Matr 1х3
[ 1/3 16/3 1 ] @end(code)

@b(Пример использования 1.2:) @begin[lang=lisp](code)
(solve-x
(math/matr:matr-new
3 4 ’(1.0 2 3 14
2 1 1 7
3 0 1 2)))
=> Matr 1х3
[ 0.33333397 5.333332 1.0000007 ] @end(code)

@b(Пример использования 2:) @begin[lang=lisp](code)
(solve-x
(math/matr:matr-new
3 4 ’(1 0 1 4
0 1 0 2
0 0 1 3)))
=> Matr 1х3
[ 1 2 3 ] @end(code)

Generic Function: solve-x (matr)

@b(Описание:) функция @b(solve-x) решает систему линейных
алгебраических уравнений (СЛАУ) методом вращения, состоящего из: @begin(list)
@item(сведения СЛАУ к треугольной системе;)
@item(нахождение корней методом обратного хода метода Гаусса. )
@end(list)

@b(Переменые:)
@begin(list)
@item(matr - массив, у которого количество строк (первая размерность)
должно быть на единицу меньше количества столбцов (вторая размерность). Данная матрица меняется в процессе в процессе вычисления функции)
@end(list)

@b(Возвращает:) вектор с количеством элементов равным количеству строк в СЛАУ.

Package

math/ls-rotation.

Source

ls-rotation.lisp.

Methods
Method: solve-x ((matr cons))

@b(Пример использования:)
@begin[lang=lisp](code)
(require :cl-utilities)
(let* ((data ’((0.0d0 0.0d0 1.0d0 3.0d0)
(0.0d0 1.0d0 0.0d0 2.0d0)
(1.0d0 0.0d0 1.0d0 4.0d0)))
(mtr (make-array ’(3 4) :initial-contents data))
(m (cl-utilities:copy-array mtr)))
(values (math:solve-x mtr)))
=> #(1.0d0 2.0d0 3.0d0)

(let* ((data ’((1.0d0 0.0d0 1.0d0 4.0d0)
(0.0d0 0.0d0 1.0d0 3.0d0)
(0.0d0 1.0d0 0.0d0 2.0d0)))
(mtr (make-array ’(3 4) :initial-contents data))
(m (cl-utilities:copy-array mtr)))
(values (math:solve-x mtr)))
=> #(1.0d0 2.0d0 3.0d0)

(let ((m-test (make-array ’(3 4)
:initial-contents
’((10.0d0 11.0d0 12.0d0 4.0d0)
(15.0d0 17.0d0 21.0d0 2.0d0)
(70.0 8.0 10.0 3.0)))))
(solve-x (cl-utilities:copy-array m-test))) =>#(0.03588235294117642d0 2.182352941176469d0 -1.6970588235294102d0) @end(code)

Есть необходимость доработки с точки зрения решения разреженной СЛАУ!

Method: solve-x ((matr array))

@b(Пример использования:)
@begin[lang=lisp](code)
(require :cl-utilities)
(let* ((data ’((0.0d0 0.0d0 1.0d0 3.0d0)
(0.0d0 1.0d0 0.0d0 2.0d0)
(1.0d0 0.0d0 1.0d0 4.0d0)))
(mtr (make-array ’(3 4) :initial-contents data))
(m (cl-utilities:copy-array mtr)))
(values (math:solve-x mtr)))
=> #(1.0d0 2.0d0 3.0d0)

(let* ((data ’((1.0d0 0.0d0 1.0d0 4.0d0)
(0.0d0 0.0d0 1.0d0 3.0d0)
(0.0d0 1.0d0 0.0d0 2.0d0)))
(mtr (make-array ’(3 4) :initial-contents data))
(m (cl-utilities:copy-array mtr)))
(values (math:solve-x mtr)))
=> #(1.0d0 2.0d0 3.0d0)

(let ((m-test (make-array ’(3 4)
:initial-contents
’((10.0d0 11.0d0 12.0d0 4.0d0)
(15.0d0 17.0d0 21.0d0 2.0d0)
(70.0 8.0 10.0 3.0)))))
(solve-x (cl-utilities:copy-array m-test))) =>#(0.03588235294117642d0 2.182352941176469d0 -1.6970588235294102d0) @end(code)

Есть необходимость доработки с точки зрения решения разреженной СЛАУ!

Generic Function: squarep (matrix)

@b(Описание:) обобщенная_функция @b(squarep) возвращает T, если матрица @b(matrix) является квадратной.

Package

math/matr.

Source

matr.lisp.

Methods
Method: squarep ((mm <matrix>))

@b(Пример использования:)
@begin[lang=lisp](code)
(defparameter *mm* (make-instance ’<matrix> :dimensions ’(2 3))) (squarep *mm*) => nil

(defparameter *mm* (make-instance ’<matrix> :dimensions ’(3 3))) (squarep *mm*) => T
@end(code)

Generic Function: summ (series n)

@b(Описание:) обобщенная_функция @b(summ) возвращает сумму @b(n) членов прогрессии.

Package

math/series.

Source

series.lisp.

Methods
Method: summ ((series <arithmetic>) (n integer))

@b(Пример использования:)
@begin[lang=lisp](code)
(summ (make-instance ’<arithmetic> :a 2 :d 1.2) 5) ; => 22.0 @end(code)

Method: summ ((series <geometric>) (n integer))

@b(Пример использования:)
@begin[lang=lisp](code)
(summ (make-instance ’<geometric> :b 2 :q 1.2) 5) => 14.883203 @end(code)

Generic Function: summ-distance (x1 x2)

@b(Описание:) обобщенная функция @b(summ-distance) возвращает сумму расстояний по каждому направлению.

Package

math/core.

Source

core.lisp.

Methods
Method: summ-distance ((x1 cons) (x2 cons))

@b(Описание:) функция @b(summ-distance) возвращает сумму расстояний по каждому направлению.

@b(Пример использования:)
@begin[lang=lisp](code)
(summ-distance ’(1 2 3) ’(3 2 1)) => 4 = (+ 2 0 2) @end(code)

Method: summ-distance ((x1 vector) (x2 vector))

@b(Описание:) метод @b(summ-distance) возвращает сумму расстояний по каждому направлению.

@b(Пример использования:)
@begin[lang=lisp](code)
(summ-distance #(1 2 3) #(3 2 1)) => 4 = (+ 2 0 2) @end(code)

Generic Function: swap-cols (mm i j)
Package

math/matr.

Methods
Method: swap-cols ((mm <matrix>) i j)
Source

matr.lisp.

Generic Function: swap-cols* (mm i j)
Package

math/matr.

Methods
Method: swap-cols* ((mm <matrix>) i j)
Source

matr.lisp.

Generic Function: swap-rows (mm i j)
Package

math/matr.

Methods
Method: swap-rows ((mm <matrix>) i j)
Source

matr.lisp.

Generic Function: swap-rows* (mm i j)
Package

math/matr.

Methods
Method: swap-rows* ((mm <matrix>) i j)
Source

matr.lisp.

Generic Function: tab (eq x)

@b(Описание:) обобщенная_функция @b(tab) возвращает значение фукции @b(eq) в точке @b(x).

Package

math/equation.

Source

equation.lisp.

Methods
Method: tab ((eq <quartic>) x)

@b(Пример использования:) @begin[lang=lisp](code)
(roots (make-instance ’<linear> :a 1 :b -2)) @end(code)

Method: tab ((eq <cubic>) x)
Method: tab ((eq <quadric>) x)
Method: tab ((eq <linear>) x)
Generic Function: transform (point matrix)

@b(Описание:) метод @b(transform) возвращает координаты точки @b(point), преобразованные с помощью матрицы @b(matrix).

Package

math/matr.

Source

matr.lisp.

Methods
Method: transform ((point-3d cons) (matrix-4x4 <matrix>))

@b(Пример использования:) @begin[lang=lisp](code) (To-Do)
@end(code)

Generic Function: transpose (matrix)

@b(Описание:) обобщенная_функция @b(transpose) возвращает транспонированную матрицу.

Package

math/matr.

Source

matr.lisp.

Methods
Method: transpose ((mm cons))

Выполняет транспонирование

Source

defmethod.lisp.

Method: transpose ((mm <matrix>))

@b(Описание:) метод @b(transpose) возвращает матрицу типа <matrix>,

являющуютя результатом транспонирования матрицы @b(mm).

@b(Пример использования:)
@begin[lang=lisp](code)
(transpose (matr-new 2 3 ’(1 2 3
4 5 6)))
=> Matr 3х2
[ 1 4 ]
[ 2 5 ]
[ 3 6 ]
@end(code)

Source

defmethod.lisp.


6.1.5 Standalone methods

Method: initialize-instance ((a-l <appr-bilinear>) &key x1 x2 a2d)
Source

appr.lisp.

Method: initialize-instance ((a-l <appr-linear>) &key x1 a1d)
Source

appr.lisp.

Method: initialize-instance ((mm <matrix>) &key dimensions initial-element initial-contents data element-type)
Source

matr.lisp.

Method: print-object ((term term-pdfcairo) os)
Source

gnuplot.lisp.

Method: print-object ((v gnuplot-vector) s)
Source

gnuplot.lisp.

Method: print-object ((term term-pngcairo) os)
Source

gnuplot.lisp.

Method: print-object ((a-l <appr-bilinear>) stream)
Source

appr.lisp.

Method: print-object ((a-l <appr-linear>) stream)
Source

appr.lisp.

Method: print-object ((eq <quartic>) s)
Source

equation.lisp.

Method: print-object ((eq <quadric>) s)
Source

equation.lisp.

Method: print-object ((eq <cubic>) s)
Source

equation.lisp.

Method: print-object ((eq <linear>) s)
Source

equation.lisp.

Method: print-object ((series <geometric>) stream)
Source

series.lisp.

Method: print-object ((series <arithmetic>) stream)
Source

series.lisp.

Method: print-object ((matrix <matrix>) stream)
Source

matr.lisp.


6.1.6 Classes

Class: <appr-bilinear>

@b(Описание:) Класс @b(<appr-bilinear>) представляет билинейную интерполяцию.

Package

math/appr.

Source

appr.lisp.

Direct methods
Direct slots
Slot: x1

Вектор реперных значений по первому направлению (измерению).

Readers

appr-bilinear-x1.

Writers

(setf appr-bilinear-x1).

Slot: x2

Вектор реперных значений по второму направлению (измерению).

Readers

appr-bilinear-x2.

Writers

(setf appr-bilinear-x2).

Slot: a2d-func

Двумерный массив функций размерности которого, на единицу меньше количества реперных значений по соответствующему
направлению (измерению).

Readers

appr-bilinear-a2d-func.

Writers

(setf appr-bilinear-a2d-func).

Class: <appr-linear>

@b(Описание:) Класс @b(<appr-linear>) представляет линейную интерполяцию.

@b(Пример использования:)
@begin[lang=lisp](code)
(let ((a1 (make-instance ’<appr-linear>
:x1 (vector 1 2 3)
:a1d (vector 1 4 9)))
(a2 (make-instance ’<appr-linear>
:x1 (vector 2 3 4)
:a1d (vector 4 9 16))))
(loop :for i :from 0 :to 5 :by 1/5 :do
(format t "| ~5F | ~5F | ~5F |~%" i (approximate i a1) (approximate i a2)))) =>
| 0.0 | -2.0 | -6.0 |
| 0.2 | -1.4 | -5.0 |
| 0.4 | -0.8 | -4.0 |
| 0.6 | -0.2 | -3.0 |
| 0.8 | 0.4 | -2.0 |
| 1.0 | 1.0 | -1.0 |
| 1.2 | 1.6 | -0.0 |
| 1.4 | 2.2 | 1.0 |
| 1.6 | 2.8 | 2.0 |
| 1.8 | 3.4 | 3.0 |
| 2.0 | 4.0 | 4.0 |
| 2.2 | 5.0 | 5.0 |
| 2.4 | 6.0 | 6.0 |
| 2.6 | 7.0 | 7.0 |
| 2.8 | 8.0 | 8.0 |
| 3.0 | 9.0 | 9.0 |
| 3.2 | 10.0 | 10.4 |
| 3.4 | 11.0 | 11.8 |
| 3.6 | 12.0 | 13.2 |
| 3.8 | 13.0 | 14.6 |
| 4.0 | 14.0 | 16.0 |
| 4.2 | 15.0 | 17.4 |
| 4.4 | 16.0 | 18.8 |
| 4.6 | 17.0 | 20.2 |
| 4.8 | 18.0 | 21.6 |
| 5.0 | 19.0 | 23.0 |
@end(code)

Package

math/appr.

Source

appr.lisp.

Direct methods
Direct slots
Slot: x1

Вектор аргументов.

Readers

appr-linear-x1.

Writers

(setf appr-linear-x1).

Slot: a1d-func

Вектор функций.

Readers

appr-linear-a1d-func.

Writers

(setf appr-linear-a1d-func).

Class: <arithmetic>
Package

math/series.

Source

series.lisp.

Direct superclasses

<series>.

Direct methods
Direct slots
Slot: a

Первый член арифметической прогрессии (нумерация начинается с нуля).

Initform

0.0

Initargs

:a

Readers

<arithmetic>-a.

Writers

(setf <arithmetic>-a).

Slot: d

Разность арифметической прогрессии.

Initform

1.2

Initargs

:d

Readers

<arithmetic>-d.

Writers

(setf <arithmetic>-d).

Class: <cubic>

@b(Описание:) класс @b(<linear>) представляет кубическое уравнение вида:

@begin[lang=c](code) f(x)=@b(a)*x@sup(3)+@b(b)*x@sup(2)+@b(c)*x+@b(d)
@end(code)
.

Package

math/equation.

Source

equation.lisp.

Direct methods
Direct slots
Slot: a

Коэффициент при степени 3.

Initform

1.0

Initargs

:a

Readers

coeff-a.

Writers

(setf coeff-a).

Slot: b

Коэффициент при степени 2.

Initform

0.0

Initargs

:b

Readers

coeff-b.

Writers

(setf coeff-b).

Slot: c

Коэффициент при степени 1.

Initform

0.0

Initargs

:c

Readers

coeff-c.

Writers

(setf coeff-c).

Slot: d

Коэффициент при степени 0.

Initform

-1.0

Initargs

:d

Readers

coeff-d.

Writers

(setf coeff-d).

Class: <geometric>

@b(Описание:) класс @b(<geometric>) представляет геометрическую прогрессию.

Package

math/series.

Source

series.lisp.

Direct methods
Direct slots
Slot: b

Первый член геометрической прогрессии (нумерация начинается с нуля).

Initform

1

Initargs

:b

Readers

<geometric>-b.

Writers

(setf <geometric>-b).

Slot: q

Знаменатель геометрической прогрессии.

Initform

1.2

Initargs

:q

Readers

<geometric>-q.

Writers

(setf <geometric>-q).

Class: <linear>

@b(Описание:) класс @b(<linear>) представляет линейное уравнение вида:

@b(Пример использования:)
@begin[lang=c](code)
f(x)=@b(a)*x+@b(b)
@end(code)
.

Package

math/equation.

Source

equation.lisp.

Direct methods
Direct slots
Slot: a

Коэффициент при степени 1.

Initform

1.0

Initargs

:a

Readers

coeff-a.

Writers

(setf coeff-a).

Slot: b

Коэффициент при степени 0.

Initform

-1.0

Initargs

:b

Readers

coeff-b.

Writers

(setf coeff-b).

Class: <matrix>

@b(Описание:) класс @b(<matrix>) представляет матрицу, определенную через массив.

Создание:
@begin(list)
@item(при помощи функции matr-new)
@item( )
@end(list)

@b(Пример использования:)
@begin[lang=lisp](code)
(matr-new 2 3)
=> Matr 2х3
[ 0.0d0 0.0d0 0.0d0 ]
[ 0.0d0 0.0d0 0.0d0 ]
(matr-new 3 2 ’(1 2 3 4 5))
=> Matr 3х2
[ 1 2 ]
[ 3 4 ]
[ 5 NIL ]
@end(code)

Package

math/matr.

Source

matr.lisp.

Direct methods
Direct slots
Slot: data

Сдержимое матрицы.

Initargs

:data

Readers

matrix-data.

Writers

(setf matrix-data).

Class: <quadric>

@b(Описание:) класс @b(<linear>) представляет квадратное уравнение вида:

@begin[lang=c](code)
f(x)=@b(a)*x@sup(2)+@b(b)*x+@b(c)
@end(code)
.

Package

math/equation.

Source

equation.lisp.

Direct methods
Direct slots
Slot: a

Коэффициент при степени 2.

Initform

1.0

Initargs

:a

Readers

coeff-a.

Writers

(setf coeff-a).

Slot: b

Коэффициент при степени 1.

Initform

0.0

Initargs

:b

Readers

coeff-b.

Writers

(setf coeff-b).

Slot: c

Коэффициент при степени 0.

Initform

-1.0

Initargs

:c

Readers

coeff-c.

Writers

(setf coeff-c).

Class: <quartic>

@b(Описание:) класс @b(<linear>) представляет уравнение четвертой степени вида:

@begin[lang=c](code) f(x)=@b(a)*x@sup(4)+@b(b)*x@sup(3)+@b(c)*x@sup(2)+@b(d)*x+@b(e)
@end(code)
.

Package

math/equation.

Source

equation.lisp.

Direct methods
Direct slots
Slot: a

Коэффициент при степени 4.

Initform

1.0

Initargs

:a

Readers

coeff-a.

Writers

(setf coeff-a).

Slot: b

Коэффициент при степени 3.

Initform

0.0

Initargs

:b

Readers

coeff-b.

Writers

(setf coeff-b).

Slot: c

Коэффициент при степени 2.

Initform

0.0

Initargs

:c

Readers

coeff-c.

Writers

(setf coeff-c).

Slot: d

Коэффициент при степени 1.

Initform

0.0

Initargs

:d

Readers

coeff-d.

Writers

(setf coeff-d).

Slot: e

Коэффициент при степени 1.

Initform

-1.0

Initargs

:e

Readers

coeff-e.

Writers

(setf coeff-e).


6.2 Internals


6.2.1 Special variables

Special Variable: *g-t*

Критические значения Gt для критерия Граббса. |—-+————————————-| | n | Одно наибольшее или одно наименьшее | | | значение при уровне значимости q | |—-+——————+——————| | | сыше 1% | свыше 5% | |—-+————————————-| | 3 | 1.155 | 1.155 | ............................................ ............................................ ............................................ | 40 | 3.381 | 3.036 | |—-+——————+——————| см. ГОСТ Р 8.736-2011

Package

math/stat.

Source

stat.lisp.


6.2.2 Macros

Macro: make-doc (obj-name obj-type doc-string)
Package

math/matr.

Source

matr-doc.lisp.


6.2.3 Ordinary functions

Function: approximation-bilinear (v1 v2 a-x1 a-x2 a-func)
Package

math/appr.

Source

appr.lisp.

Function: approximation-linear (x1 a-x1 a-func)
Package

math/appr.

Source

appr.lisp.

Function: averaging-function-body (vv ff ex_pts)
Package

math/appr.

Source

appr.lisp.

Function: boole-to-int (b)
Package

math/half-div.

Source

half-div.lisp.

Function: e-value (n)
Package

math/core.

Source

core.lisp.

Function: epsylon (x &key eps)

Функция для вычисления комплексной точности.

Package

math/half-div.

Source

half-div.lisp.

Function: file-name (f-name &optional f-ext)

Определяет имя файла в каталоге поумолчанию.

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: find-font-family (&key family)

@b(Описание:) функция @b(find-font-family) возвращает имя шрифта, установленного в систему похожего на тот, что указан.

@b(Пример использования:)
@begin[lang=lisp](code)
(find-font-family :family "Arial")
(find-font-family :family "Courier New")
(find-font-family :family "Times New Roman")
@end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: find-slot (slot-name class)
Package

math/matr.

Source

matr-doc.lisp.

Function: index-by-value (val vect)
Package

math/appr.

Source

appr.lisp.

Function: make-2d-list-by-func (func &key x-from x-to steps)
Package

math/gnuplot.

Source

gnuplot.lisp.

Function: make-bilinear-approximation-array (a2d x1 x2)
Package

math/appr.

Source

appr.lisp.

Function: make-bilinear-interpolation (points &key ff)
Package

math/appr.

Source

appr.lisp.

Function: make-linear-approximation-array (x1 a1d)
Package

math/appr.

Source

appr.lisp.

Function: remove-first (lst)
Package

math/stat.

Source

stat.lisp.

Function: remove-last (lst)
Package

math/stat.

Source

stat.lisp.

Function: same-znak (a b)
Package

math/half-div.

Source

half-div.lisp.

Function: table-apply-0 (table func &rest second-and-others &key)

Пример использования:
(table-apply-0 (make-table (split-range 1 4 3) (split-range 5 7 2)) #’vector) => ((#(1.0 5.0) #(1.0 6.0) #(1.0 7.0))
(#(2.0 5.0) #(2.0 6.0) #(2.0 7.0))
(#(3.0 5.0) #(3.0 6.0) #(3.0 7.0))
(#(4.0 5.0) #(4.0 6.0) #(4.0 7.0)))

Package

math/gnuplot.

Source

gnuplot.lisp.

Function: table-apply-1 (table func &rest second-and-others)

Пример использования:
;;(table-apply-1 (make-table (split-range 1 4 3) (split-range 5 7 2)) #’* 10.)

=>
(((1.0 5.0 50.0) (1.0 6.0 60.0) (1.0 7.0 70.0))
((2.0 5.0 100.0) (2.0 6.0 120.0) (2.0 7.0 140.0))
((3.0 5.0 150.0) (3.0 6.0 180.0) (3.0 7.0 210.0))
((4.0 5.0 200.0) (4.0 6.0 240.0) (4.0 7.0 280.0)))

Package

math/gnuplot.

Source

gnuplot.lisp.


6.2.4 Generic functions

Generic Reader: gnuplot-vector-direction (object)
Package

math/gnuplot.

Methods
Reader Method: gnuplot-vector-direction ((gnuplot-vector gnuplot-vector))

automatically generated reader method

Source

gnuplot.lisp.

Target Slot

direction.

Generic Writer: (setf gnuplot-vector-direction) (object)
Package

math/gnuplot.

Methods
Writer Method: (setf gnuplot-vector-direction) ((gnuplot-vector gnuplot-vector))

automatically generated writer method

Source

gnuplot.lisp.

Target Slot

direction.

Generic Reader: gnuplot-vector-origin (object)
Package

math/gnuplot.

Methods
Reader Method: gnuplot-vector-origin ((gnuplot-vector gnuplot-vector))

automatically generated reader method

Source

gnuplot.lisp.

Target Slot

orign.

Generic Writer: (setf gnuplot-vector-origin) (object)
Package

math/gnuplot.

Methods
Writer Method: (setf gnuplot-vector-origin) ((gnuplot-vector gnuplot-vector))

automatically generated writer method

Source

gnuplot.lisp.

Target Slot

orign.

Generic Function: items-by-summ (series summ)

@b(Описание:) обобщенная функция @b(items-by-summ) возвращает количество членов прогрессии, чтобы их сумма равнялась @b(summ).

Package

math/series.

Source

series.lisp.

Methods
Method: items-by-summ ((series <arithmetic>) s)

@b(Описание:) функция @b(n) количество членов геометрической прогрессии, чтобы их сумма равнялась @b(S).

Method: items-by-summ ((series <geometric>) s)

@b(Описание:) функция @b(n) количество членов геометрической прогрессии, чтобы их сумма равнялась @b(S).

Generic Function: matr-equal* (matrix1 matrix2 &key test)
Package

math/matr.

Source

matr.lisp.

Generic Function: matr-name-* (matrix)
Package

math/matr.

Source

matr.lisp.

Methods
Method: matr-name-* ((mm <matrix>))
Generic Function: move (obj displacement)
Package

math/gnuplot.

Source

gnuplot.lisp.

Methods
Method: move ((obj gnuplot-vector) (displacement vector))
Generic Function: output (term f-name os)
Package

math/gnuplot.

Methods
Method: output ((term term-pngcairo) (f-name string) os)
Source

gnuplot.lisp.

Method: output ((term term-pdfcairo) (f-name string) os)
Source

gnuplot.lisp.

Generic Function: plot (f-name term data &key preamble plot)
Package

math/gnuplot.

Methods
Method: plot ((f-name string) (term <term>) (data cons) &key preamble plot)
Source

gnuplot.lisp.


6.2.5 Classes

Class: <series>
Package

math/series.

Source

series.lisp.

Direct subclasses

<arithmetic>.

Class: <term>
Package

math/gnuplot.

Source

gnuplot.lisp.

Direct subclasses
Direct methods

plot.

Direct slots
Slot: no-enhanced
Initform

:enhanced

Initargs

math/gnuplot::no-enhanced

Slot: mono/color
Initform

:mono

Initargs

math/gnuplot::mono/color

Slot: font
Initform

(math/gnuplot::find-font-family :family "times new roman")

Initargs

math/gnuplot::font

Slot: fontscale
Initform

12

Initargs

math/gnuplot::fontscale

Slot: linewidth
Initform

0.5

Initargs

math/gnuplot::linewidth

Slot: rounded/butt/square
Initform

:rounded

Initargs

math/gnuplot::rounded/butt/square

Slot: dashlength
Initform

1.0

Initargs

math/gnuplot::dashlength

Slot: background
Initform

(math/gnuplot:rgb 255 255 255 255)

Initargs

math/gnuplot::background

Slot: size
Initform

(quote (15 10))

Initargs

math/gnuplot::size

Slot: size-units

По умолчанию - пиксели|пиксели=72*in|пиксели=72/25.4*cm

Initform

:cm

Initargs

math/gnuplot::size-units

Class: gnuplot-vector
Package

math/gnuplot.

Source

gnuplot.lisp.

Direct methods
Direct slots
Slot: orign
Initform

(vector 0.0 0.0 0.0)

Initargs

:orign

Readers

gnuplot-vector-origin.

Writers

(setf gnuplot-vector-origin).

Slot: direction
Initform

(vector 1.0 0.0 0.0)

Initargs

:direction

Readers

gnuplot-vector-direction.

Writers

(setf gnuplot-vector-direction).

Class: term-pdfcairo
Package

math/gnuplot.

Source

gnuplot.lisp.

Direct superclasses

<term>.

Direct methods
Class: term-pngcairo

@b(Пример использования:)
@begin[lang=gnuplot](code)
set term pngcairo
{{no}enhanced} {mono|color}
{{no}transparent} {{no}crop} {background <rgbcolor>} {font <font>} {fontscale <scale>}
{linewidth <lw>} {rounded|butt|square} {dashlength <dl>} {pointscale <ps>}
{size <XX>{unit},<YY>{unit}}
@end(code)

Package

math/gnuplot.

Source

gnuplot.lisp.

Direct superclasses

<term>.

Direct methods
Direct slots
Slot: no-transparent
Initform

:no-transparent

Initargs

math/gnuplot::no-transparent

Slot: no-crop
Initform

:no-crop

Initargs

math/gnuplot::no-crop

Slot: pointscale
Initform

1.0

Initargs

math/gnuplot::pointscale


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (   <  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   R   S   T   U   V   W  
Index Entry  Section

(
(setf <arithmetic>-a): Public generic functions
(setf <arithmetic>-a): Public generic functions
(setf <arithmetic>-d): Public generic functions
(setf <arithmetic>-d): Public generic functions
(setf <geometric>-b): Public generic functions
(setf <geometric>-b): Public generic functions
(setf <geometric>-q): Public generic functions
(setf <geometric>-q): Public generic functions
(setf anti-diagonal): Public generic functions
(setf anti-diagonal): Public generic functions
(setf appr-bilinear-a2d-func): Public generic functions
(setf appr-bilinear-a2d-func): Public generic functions
(setf appr-bilinear-x1): Public generic functions
(setf appr-bilinear-x1): Public generic functions
(setf appr-bilinear-x2): Public generic functions
(setf appr-bilinear-x2): Public generic functions
(setf appr-linear-a1d-func): Public generic functions
(setf appr-linear-a1d-func): Public generic functions
(setf appr-linear-x1): Public generic functions
(setf appr-linear-x1): Public generic functions
(setf coeff-a): Public generic functions
(setf coeff-a): Public generic functions
(setf coeff-a): Public generic functions
(setf coeff-a): Public generic functions
(setf coeff-a): Public generic functions
(setf coeff-b): Public generic functions
(setf coeff-b): Public generic functions
(setf coeff-b): Public generic functions
(setf coeff-b): Public generic functions
(setf coeff-b): Public generic functions
(setf coeff-c): Public generic functions
(setf coeff-c): Public generic functions
(setf coeff-c): Public generic functions
(setf coeff-c): Public generic functions
(setf coeff-d): Public generic functions
(setf coeff-d): Public generic functions
(setf coeff-d): Public generic functions
(setf coeff-e): Public generic functions
(setf coeff-e): Public generic functions
(setf col): Public generic functions
(setf col): Public generic functions
(setf col): Public generic functions
(setf col): Public generic functions
(setf col): Public generic functions
(setf gnuplot-vector-direction): Private generic functions
(setf gnuplot-vector-direction): Private generic functions
(setf gnuplot-vector-origin): Private generic functions
(setf gnuplot-vector-origin): Private generic functions
(setf main-diagonal): Public generic functions
(setf main-diagonal): Public generic functions
(setf main-diagonal): Public generic functions
(setf matrix-data): Public generic functions
(setf matrix-data): Public generic functions
(setf mref): Public generic functions
(setf mref): Public generic functions
(setf mref): Public generic functions
(setf mref): Public generic functions
(setf row): Public generic functions
(setf row): Public generic functions
(setf row): Public generic functions
(setf row): Public generic functions
(setf row): Public generic functions

<
<arithmetic>-a: Public generic functions
<arithmetic>-a: Public generic functions
<arithmetic>-d: Public generic functions
<arithmetic>-d: Public generic functions
<geometric>-b: Public generic functions
<geometric>-b: Public generic functions
<geometric>-q: Public generic functions
<geometric>-q: Public generic functions

A
add: Public generic functions
add: Public generic functions
anti-diagonal: Public generic functions
anti-diagonal: Public generic functions
append-col: Public ordinary functions
append-row: Public ordinary functions
appr-bilinear-a2d-func: Public generic functions
appr-bilinear-a2d-func: Public generic functions
appr-bilinear-x1: Public generic functions
appr-bilinear-x1: Public generic functions
appr-bilinear-x2: Public generic functions
appr-bilinear-x2: Public generic functions
appr-linear-a1d-func: Public generic functions
appr-linear-a1d-func: Public generic functions
appr-linear-x1: Public generic functions
appr-linear-x1: Public generic functions
appr-table: Public ordinary functions
approximate: Public generic functions
approximate: Public generic functions
approximate: Public generic functions
approximation-bilinear: Private ordinary functions
approximation-linear: Private ordinary functions
aver-dmax-dmin: Public ordinary functions
aver-max-min: Public ordinary functions
average: Public ordinary functions
average-col-not-nil-value: Public ordinary functions
average-col-value: Public ordinary functions
average-not-nil-value: Public ordinary functions
average-not-nil-value: Public ordinary functions
average-row-not-nil-value: Public ordinary functions
average-row-value: Public ordinary functions
average-value: Public ordinary functions
average-value: Public ordinary functions
averaging-function-body: Private ordinary functions
averaging-function-defun: Public ordinary functions
averaging-function-lambda: Public ordinary functions

B
backward-run: Public generic functions
backward-run: Public generic functions
boole-to-int: Private ordinary functions

C
cartesian->polar: Public ordinary functions
cartesian->spherical: Public ordinary functions
cauchy-smoothing: Public ordinary functions
circle-area-by-diameter: Public ordinary functions
circle-area-by-radius: Public ordinary functions
clean-flagrant-error: Public ordinary functions
clean-max-flagrant-error: Public ordinary functions
clean-min-flagrant-error: Public ordinary functions
coeff-a: Public generic functions
coeff-a: Public generic functions
coeff-a: Public generic functions
coeff-a: Public generic functions
coeff-a: Public generic functions
coeff-b: Public generic functions
coeff-b: Public generic functions
coeff-b: Public generic functions
coeff-b: Public generic functions
coeff-b: Public generic functions
coeff-c: Public generic functions
coeff-c: Public generic functions
coeff-c: Public generic functions
coeff-c: Public generic functions
coeff-d: Public generic functions
coeff-d: Public generic functions
coeff-d: Public generic functions
coeff-e: Public generic functions
coeff-e: Public generic functions
col: Public generic functions
col: Public generic functions
col: Public generic functions
col: Public generic functions
cols: Public generic functions
cols: Public generic functions
cols: Public generic functions
cols: Public generic functions
convert-to-triangular: Public generic functions
convert-to-triangular: Public generic functions
convert-to-triangular: Public generic functions
copy: Public generic functions
copy: Public generic functions

D
delta-max-value: Public ordinary functions
delta-min-value: Public ordinary functions
depth-sphere-along-cone: Public ordinary functions
detach-last-col: Public ordinary functions
determiant: Public generic functions
determiant: Public generic functions
determiant: Public generic functions
diameter-by-radius: Public ordinary functions
dimensions: Public generic functions
dimensions: Public generic functions
dimensions: Public generic functions
dispersion: Public ordinary functions
dispersion-not-nil: Public ordinary functions
distance: Public generic functions
distance: Public generic functions
distance: Public generic functions
distance: Public generic functions
distance: Public generic functions
distance: Public generic functions
distance: Public generic functions
distance-relative: Public generic functions
distance-relative: Public generic functions
distance-relative: Public generic functions
distance-relative: Public generic functions
double-float-list: Public ordinary functions
dtr: Public ordinary functions

E
e-value: Private ordinary functions
epsylon: Private ordinary functions
equivalent: Public generic functions
equivalent: Public generic functions
equivalent: Public generic functions
equivalent: Public generic functions
equivalent: Public generic functions
equivalent-diameter: Public ordinary functions
exclude-nil-from-list: Public ordinary functions
exp-smoothing: Public ordinary functions

F
file-name: Private ordinary functions
find-font-family: Private ordinary functions
find-slot: Private ordinary functions
first-by-number&summ: Public generic functions
first-by-number&summ: Public generic functions
first-by-number&summ: Public generic functions
func: Public generic functions
func: Public generic functions
func: Public generic functions
func: Public generic functions
func: Public generic functions
Function, append-col: Public ordinary functions
Function, append-row: Public ordinary functions
Function, appr-table: Public ordinary functions
Function, approximation-bilinear: Private ordinary functions
Function, approximation-linear: Private ordinary functions
Function, aver-dmax-dmin: Public ordinary functions
Function, aver-max-min: Public ordinary functions
Function, average: Public ordinary functions
Function, average-col-not-nil-value: Public ordinary functions
Function, average-col-value: Public ordinary functions
Function, average-not-nil-value: Public ordinary functions
Function, average-not-nil-value: Public ordinary functions
Function, average-row-not-nil-value: Public ordinary functions
Function, average-row-value: Public ordinary functions
Function, average-value: Public ordinary functions
Function, average-value: Public ordinary functions
Function, averaging-function-body: Private ordinary functions
Function, averaging-function-defun: Public ordinary functions
Function, averaging-function-lambda: Public ordinary functions
Function, boole-to-int: Private ordinary functions
Function, cartesian->polar: Public ordinary functions
Function, cartesian->spherical: Public ordinary functions
Function, cauchy-smoothing: Public ordinary functions
Function, circle-area-by-diameter: Public ordinary functions
Function, circle-area-by-radius: Public ordinary functions
Function, clean-flagrant-error: Public ordinary functions
Function, clean-max-flagrant-error: Public ordinary functions
Function, clean-min-flagrant-error: Public ordinary functions
Function, delta-max-value: Public ordinary functions
Function, delta-min-value: Public ordinary functions
Function, depth-sphere-along-cone: Public ordinary functions
Function, detach-last-col: Public ordinary functions
Function, diameter-by-radius: Public ordinary functions
Function, dispersion: Public ordinary functions
Function, dispersion-not-nil: Public ordinary functions
Function, double-float-list: Public ordinary functions
Function, dtr: Public ordinary functions
Function, e-value: Private ordinary functions
Function, epsylon: Private ordinary functions
Function, equivalent-diameter: Public ordinary functions
Function, exclude-nil-from-list: Public ordinary functions
Function, exp-smoothing: Public ordinary functions
Function, file-name: Private ordinary functions
Function, find-font-family: Private ordinary functions
Function, find-slot: Private ordinary functions
Function, gauss-smoothing: Public ordinary functions
Function, get-last-col: Public ordinary functions
Function, gnuplot-data-plot: Public ordinary functions
Function, gnuplot-data-splot: Public ordinary functions
Function, gnuplot-plot: Public ordinary functions
Function, gnuplot-splot: Public ordinary functions
Function, grubbs: Public ordinary functions
Function, grubbs-max: Public ordinary functions
Function, grubbs-min: Public ordinary functions
Function, h-div: Public ordinary functions
Function, h-div-lst: Public ordinary functions
Function, hann-smoothing: Public ordinary functions
Function, index-by-value: Private ordinary functions
Function, lm-print: Public ordinary functions
Function, lv-print: Public ordinary functions
Function, make: Public ordinary functions
Function, make-1d-list: Public ordinary functions
Function, make-2d-list: Public ordinary functions
Function, make-2d-list-by-func: Private ordinary functions
Function, make-appr-linear: Public ordinary functions
Function, make-bilinear-approximation-array: Private ordinary functions
Function, make-bilinear-interpolation: Private ordinary functions
Function, make-least-squares-matrix: Public ordinary functions
Function, make-linear-approximation-array: Private ordinary functions
Function, make-linear-interpolation: Public ordinary functions
Function, make-ls-system: Public ordinary functions
Function, make-plot-data-file: Public ordinary functions
Function, make-random-value-list: Public ordinary functions
Function, make-table: Public ordinary functions
Function, make-vector-n: Public ordinary functions
Function, matr-new: Public ordinary functions
Function, max-col-not-nil-value: Public ordinary functions
Function, max-not-nil-value: Public ordinary functions
Function, max-row-not-nil-value: Public ordinary functions
Function, max-value: Public ordinary functions
Function, min-not-nil-value: Public ordinary functions
Function, min-value: Public ordinary functions
Function, mult-matr-vect: Public ordinary functions
Function, normalize: Public ordinary functions
Function, point-3d->4d: Public ordinary functions
Function, point-4d->3d: Public ordinary functions
Function, polar->cartesian: Public ordinary functions
Function, prepend-col: Public ordinary functions
Function, prepend-row: Public ordinary functions
Function, prepend-rows: Public ordinary functions
Function, radius-by-diameter: Public ordinary functions
Function, regular-tetrahedron-side-by-volume: Public ordinary functions
Function, regular-tetrahedron-volume-by-side: Public ordinary functions
Function, regular-triangle-area-by-side: Public ordinary functions
Function, regular-triangle-side-by-area: Public ordinary functions
Function, remove-first: Private ordinary functions
Function, remove-last: Private ordinary functions
Function, rgb: Public ordinary functions
Function, round-to-significant-digits: Public ordinary functions
Function, rtd: Public ordinary functions
Function, same-znak: Private ordinary functions
Function, single-float-list: Public ordinary functions
Function, solve: Public ordinary functions
Function, solve-x: Public ordinary functions
Function, spherical->cartesian: Public ordinary functions
Function, split-range: Public ordinary functions
Function, split-range-by-func: Public ordinary functions
Function, square: Public ordinary functions
Function, standard-deviation: Public ordinary functions
Function, standard-deviation-not-nil: Public ordinary functions
Function, table-apply: Public ordinary functions
Function, table-apply-0: Private ordinary functions
Function, table-apply-1: Private ordinary functions
Function, triangle-area-by-sides: Public ordinary functions
Function, unite-cols: Public ordinary functions
Function, unite-rows: Public ordinary functions
Function, variation-coefficient: Public ordinary functions
Function, variation-coefficient-not-nil: Public ordinary functions
Function, weight-func-list: Public ordinary functions
Function, weight-func-p: Public ordinary functions

G
gauss-smoothing: Public ordinary functions
Generic Function, (setf <arithmetic>-a): Public generic functions
Generic Function, (setf <arithmetic>-d): Public generic functions
Generic Function, (setf <geometric>-b): Public generic functions
Generic Function, (setf <geometric>-q): Public generic functions
Generic Function, (setf anti-diagonal): Public generic functions
Generic Function, (setf appr-bilinear-a2d-func): Public generic functions
Generic Function, (setf appr-bilinear-x1): Public generic functions
Generic Function, (setf appr-bilinear-x2): Public generic functions
Generic Function, (setf appr-linear-a1d-func): Public generic functions
Generic Function, (setf appr-linear-x1): Public generic functions
Generic Function, (setf coeff-a): Public generic functions
Generic Function, (setf coeff-b): Public generic functions
Generic Function, (setf coeff-c): Public generic functions
Generic Function, (setf coeff-d): Public generic functions
Generic Function, (setf coeff-e): Public generic functions
Generic Function, (setf col): Public generic functions
Generic Function, (setf gnuplot-vector-direction): Private generic functions
Generic Function, (setf gnuplot-vector-origin): Private generic functions
Generic Function, (setf main-diagonal): Public generic functions
Generic Function, (setf matrix-data): Public generic functions
Generic Function, (setf mref): Public generic functions
Generic Function, (setf row): Public generic functions
Generic Function, <arithmetic>-a: Public generic functions
Generic Function, <arithmetic>-d: Public generic functions
Generic Function, <geometric>-b: Public generic functions
Generic Function, <geometric>-q: Public generic functions
Generic Function, add: Public generic functions
Generic Function, anti-diagonal: Public generic functions
Generic Function, appr-bilinear-a2d-func: Public generic functions
Generic Function, appr-bilinear-x1: Public generic functions
Generic Function, appr-bilinear-x2: Public generic functions
Generic Function, appr-linear-a1d-func: Public generic functions
Generic Function, appr-linear-x1: Public generic functions
Generic Function, approximate: Public generic functions
Generic Function, backward-run: Public generic functions
Generic Function, coeff-a: Public generic functions
Generic Function, coeff-b: Public generic functions
Generic Function, coeff-c: Public generic functions
Generic Function, coeff-d: Public generic functions
Generic Function, coeff-e: Public generic functions
Generic Function, col: Public generic functions
Generic Function, cols: Public generic functions
Generic Function, convert-to-triangular: Public generic functions
Generic Function, copy: Public generic functions
Generic Function, determiant: Public generic functions
Generic Function, dimensions: Public generic functions
Generic Function, distance: Public generic functions
Generic Function, distance-relative: Public generic functions
Generic Function, equivalent: Public generic functions
Generic Function, first-by-number&summ: Public generic functions
Generic Function, func: Public generic functions
Generic Function, gnuplot-data-to-file: Public generic functions
Generic Function, gnuplot-vector-direction: Private generic functions
Generic Function, gnuplot-vector-origin: Private generic functions
Generic Function, item: Public generic functions
Generic Function, items-by-summ: Private generic functions
Generic Function, main-diagonal: Public generic functions
Generic Function, make-refine-smoothing: Public generic functions
Generic Function, matr-equal*: Private generic functions
Generic Function, matr-eval-*: Public generic functions
Generic Function, matr-name-*: Public generic functions
Generic Function, matr-name-*: Private generic functions
Generic Function, matrix->2d-list: Public generic functions
Generic Function, matrix-data: Public generic functions
Generic Function, move: Private generic functions
Generic Function, move-v: Public generic functions
Generic Function, move-xyz: Public generic functions
Generic Function, mref: Public generic functions
Generic Function, multiply: Public generic functions
Generic Function, norma: Public generic functions
Generic Function, output: Private generic functions
Generic Function, plot: Private generic functions
Generic Function, refine-smoothing-by-points: Public generic functions
Generic Function, roots: Public generic functions
Generic Function, rotate-around: Public generic functions
Generic Function, rotate-v: Public generic functions
Generic Function, rotate-x: Public generic functions
Generic Function, rotate-y: Public generic functions
Generic Function, rotate-z: Public generic functions
Generic Function, row: Public generic functions
Generic Function, rows: Public generic functions
Generic Function, scale-by-number&summ: Public generic functions
Generic Function, semi-equal: Public generic functions
Generic Function, singular-p: Public generic functions
Generic Function, smooth-by-points: Public generic functions
Generic Function, solve-x: Public generic functions
Generic Function, solve-x: Public generic functions
Generic Function, squarep: Public generic functions
Generic Function, summ: Public generic functions
Generic Function, summ-distance: Public generic functions
Generic Function, swap-cols: Public generic functions
Generic Function, swap-cols*: Public generic functions
Generic Function, swap-rows: Public generic functions
Generic Function, swap-rows*: Public generic functions
Generic Function, tab: Public generic functions
Generic Function, transform: Public generic functions
Generic Function, transpose: Public generic functions
get-last-col: Public ordinary functions
gnuplot-data-plot: Public ordinary functions
gnuplot-data-splot: Public ordinary functions
gnuplot-data-to-file: Public generic functions
gnuplot-data-to-file: Public generic functions
gnuplot-data-to-file: Public generic functions
gnuplot-plot: Public ordinary functions
gnuplot-splot: Public ordinary functions
gnuplot-vector-direction: Private generic functions
gnuplot-vector-direction: Private generic functions
gnuplot-vector-origin: Private generic functions
gnuplot-vector-origin: Private generic functions
grubbs: Public ordinary functions
grubbs-max: Public ordinary functions
grubbs-min: Public ordinary functions

H
h-div: Public ordinary functions
h-div-lst: Public ordinary functions
hann-smoothing: Public ordinary functions

I
index-by-value: Private ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
item: Public generic functions
item: Public generic functions
item: Public generic functions
items-by-summ: Private generic functions
items-by-summ: Private generic functions
items-by-summ: Private generic functions

L
lm-print: Public ordinary functions
lv-print: Public ordinary functions

M
Macro, make-approximation-defun: Public macros
Macro, make-approximation-lambda: Public macros
Macro, make-doc: Private macros
main-diagonal: Public generic functions
main-diagonal: Public generic functions
make: Public ordinary functions
make-1d-list: Public ordinary functions
make-2d-list: Public ordinary functions
make-2d-list-by-func: Private ordinary functions
make-appr-linear: Public ordinary functions
make-approximation-defun: Public macros
make-approximation-lambda: Public macros
make-bilinear-approximation-array: Private ordinary functions
make-bilinear-interpolation: Private ordinary functions
make-doc: Private macros
make-least-squares-matrix: Public ordinary functions
make-linear-approximation-array: Private ordinary functions
make-linear-interpolation: Public ordinary functions
make-ls-system: Public ordinary functions
make-plot-data-file: Public ordinary functions
make-random-value-list: Public ordinary functions
make-refine-smoothing: Public generic functions
make-refine-smoothing: Public generic functions
make-refine-smoothing: Public generic functions
make-refine-smoothing: Public generic functions
make-table: Public ordinary functions
make-vector-n: Public ordinary functions
matr-equal*: Private generic functions
matr-eval-*: Public generic functions
matr-eval-*: Public generic functions
matr-name-*: Public generic functions
matr-name-*: Private generic functions
matr-name-*: Private generic functions
matr-new: Public ordinary functions
matrix->2d-list: Public generic functions
matrix->2d-list: Public generic functions
matrix-data: Public generic functions
matrix-data: Public generic functions
max-col-not-nil-value: Public ordinary functions
max-not-nil-value: Public ordinary functions
max-row-not-nil-value: Public ordinary functions
max-value: Public ordinary functions
Method, (setf <arithmetic>-a): Public generic functions
Method, (setf <arithmetic>-d): Public generic functions
Method, (setf <geometric>-b): Public generic functions
Method, (setf <geometric>-q): Public generic functions
Method, (setf anti-diagonal): Public generic functions
Method, (setf appr-bilinear-a2d-func): Public generic functions
Method, (setf appr-bilinear-x1): Public generic functions
Method, (setf appr-bilinear-x2): Public generic functions
Method, (setf appr-linear-a1d-func): Public generic functions
Method, (setf appr-linear-x1): Public generic functions
Method, (setf coeff-a): Public generic functions
Method, (setf coeff-a): Public generic functions
Method, (setf coeff-a): Public generic functions
Method, (setf coeff-a): Public generic functions
Method, (setf coeff-b): Public generic functions
Method, (setf coeff-b): Public generic functions
Method, (setf coeff-b): Public generic functions
Method, (setf coeff-b): Public generic functions
Method, (setf coeff-c): Public generic functions
Method, (setf coeff-c): Public generic functions
Method, (setf coeff-c): Public generic functions
Method, (setf coeff-d): Public generic functions
Method, (setf coeff-d): Public generic functions
Method, (setf coeff-e): Public generic functions
Method, (setf col): Public generic functions
Method, (setf col): Public generic functions
Method, (setf col): Public generic functions
Method, (setf col): Public generic functions
Method, (setf gnuplot-vector-direction): Private generic functions
Method, (setf gnuplot-vector-origin): Private generic functions
Method, (setf main-diagonal): Public generic functions
Method, (setf main-diagonal): Public generic functions
Method, (setf matrix-data): Public generic functions
Method, (setf mref): Public generic functions
Method, (setf mref): Public generic functions
Method, (setf mref): Public generic functions
Method, (setf row): Public generic functions
Method, (setf row): Public generic functions
Method, (setf row): Public generic functions
Method, (setf row): Public generic functions
Method, <arithmetic>-a: Public generic functions
Method, <arithmetic>-d: Public generic functions
Method, <geometric>-b: Public generic functions
Method, <geometric>-q: Public generic functions
Method, add: Public generic functions
Method, anti-diagonal: Public generic functions
Method, appr-bilinear-a2d-func: Public generic functions
Method, appr-bilinear-x1: Public generic functions
Method, appr-bilinear-x2: Public generic functions
Method, appr-linear-a1d-func: Public generic functions
Method, appr-linear-x1: Public generic functions
Method, approximate: Public generic functions
Method, approximate: Public generic functions
Method, backward-run: Public generic functions
Method, coeff-a: Public generic functions
Method, coeff-a: Public generic functions
Method, coeff-a: Public generic functions
Method, coeff-a: Public generic functions
Method, coeff-b: Public generic functions
Method, coeff-b: Public generic functions
Method, coeff-b: Public generic functions
Method, coeff-b: Public generic functions
Method, coeff-c: Public generic functions
Method, coeff-c: Public generic functions
Method, coeff-c: Public generic functions
Method, coeff-d: Public generic functions
Method, coeff-d: Public generic functions
Method, coeff-e: Public generic functions
Method, col: Public generic functions
Method, col: Public generic functions
Method, col: Public generic functions
Method, cols: Public generic functions
Method, cols: Public generic functions
Method, cols: Public generic functions
Method, convert-to-triangular: Public generic functions
Method, convert-to-triangular: Public generic functions
Method, copy: Public generic functions
Method, determiant: Public generic functions
Method, determiant: Public generic functions
Method, dimensions: Public generic functions
Method, dimensions: Public generic functions
Method, distance: Public generic functions
Method, distance: Public generic functions
Method, distance: Public generic functions
Method, distance: Public generic functions
Method, distance: Public generic functions
Method, distance: Public generic functions
Method, distance-relative: Public generic functions
Method, distance-relative: Public generic functions
Method, distance-relative: Public generic functions
Method, equivalent: Public generic functions
Method, equivalent: Public generic functions
Method, equivalent: Public generic functions
Method, equivalent: Public generic functions
Method, first-by-number&summ: Public generic functions
Method, first-by-number&summ: Public generic functions
Method, func: Public generic functions
Method, func: Public generic functions
Method, func: Public generic functions
Method, func: Public generic functions
Method, gnuplot-data-to-file: Public generic functions
Method, gnuplot-data-to-file: Public generic functions
Method, gnuplot-vector-direction: Private generic functions
Method, gnuplot-vector-origin: Private generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, item: Public generic functions
Method, item: Public generic functions
Method, items-by-summ: Private generic functions
Method, items-by-summ: Private generic functions
Method, main-diagonal: Public generic functions
Method, make-refine-smoothing: Public generic functions
Method, make-refine-smoothing: Public generic functions
Method, make-refine-smoothing: Public generic functions
Method, matr-eval-*: Public generic functions
Method, matr-name-*: Private generic functions
Method, matrix->2d-list: Public generic functions
Method, matrix-data: Public generic functions
Method, move: Private generic functions
Method, move-v: Public generic functions
Method, move-xyz: Public generic functions
Method, mref: Public generic functions
Method, mref: Public generic functions
Method, mref: Public generic functions
Method, multiply: Public generic functions
Method, multiply: Public generic functions
Method, norma: Public generic functions
Method, norma: Public generic functions
Method, norma: Public generic functions
Method, norma: Public generic functions
Method, output: Private generic functions
Method, output: Private generic functions
Method, plot: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, refine-smoothing-by-points: Public generic functions
Method, refine-smoothing-by-points: Public generic functions
Method, roots: Public generic functions
Method, roots: Public generic functions
Method, roots: Public generic functions
Method, roots: Public generic functions
Method, rotate-around: Public generic functions
Method, rotate-v: Public generic functions
Method, rotate-x: Public generic functions
Method, rotate-y: Public generic functions
Method, rotate-z: Public generic functions
Method, row: Public generic functions
Method, row: Public generic functions
Method, row: Public generic functions
Method, rows: Public generic functions
Method, rows: Public generic functions
Method, rows: Public generic functions
Method, scale-by-number&summ: Public generic functions
Method, scale-by-number&summ: Public generic functions
Method, semi-equal: Public generic functions
Method, semi-equal: Public generic functions
Method, semi-equal: Public generic functions
Method, semi-equal: Public generic functions
Method, semi-equal: Public generic functions
Method, singular-p: Public generic functions
Method, singular-p: Public generic functions
Method, smooth-by-points: Public generic functions
Method, smooth-by-points: Public generic functions
Method, solve-x: Public generic functions
Method, solve-x: Public generic functions
Method, solve-x: Public generic functions
Method, solve-x: Public generic functions
Method, squarep: Public generic functions
Method, summ: Public generic functions
Method, summ: Public generic functions
Method, summ-distance: Public generic functions
Method, summ-distance: Public generic functions
Method, swap-cols: Public generic functions
Method, swap-cols*: Public generic functions
Method, swap-rows: Public generic functions
Method, swap-rows*: Public generic functions
Method, tab: Public generic functions
Method, tab: Public generic functions
Method, tab: Public generic functions
Method, tab: Public generic functions
Method, transform: Public generic functions
Method, transpose: Public generic functions
Method, transpose: Public generic functions
min-not-nil-value: Public ordinary functions
min-value: Public ordinary functions
move: Private generic functions
move: Private generic functions
move-v: Public generic functions
move-v: Public generic functions
move-xyz: Public generic functions
move-xyz: Public generic functions
mref: Public generic functions
mref: Public generic functions
mref: Public generic functions
mref: Public generic functions
mult-matr-vect: Public ordinary functions
multiply: Public generic functions
multiply: Public generic functions
multiply: Public generic functions

N
norma: Public generic functions
norma: Public generic functions
norma: Public generic functions
norma: Public generic functions
norma: Public generic functions
normalize: Public ordinary functions

O
output: Private generic functions
output: Private generic functions
output: Private generic functions

P
plot: Private generic functions
plot: Private generic functions
point-3d->4d: Public ordinary functions
point-4d->3d: Public ordinary functions
polar->cartesian: Public ordinary functions
prepend-col: Public ordinary functions
prepend-row: Public ordinary functions
prepend-rows: Public ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods

R
radius-by-diameter: Public ordinary functions
refine-smoothing-by-points: Public generic functions
refine-smoothing-by-points: Public generic functions
refine-smoothing-by-points: Public generic functions
regular-tetrahedron-side-by-volume: Public ordinary functions
regular-tetrahedron-volume-by-side: Public ordinary functions
regular-triangle-area-by-side: Public ordinary functions
regular-triangle-side-by-area: Public ordinary functions
remove-first: Private ordinary functions
remove-last: Private ordinary functions
rgb: Public ordinary functions
roots: Public generic functions
roots: Public generic functions
roots: Public generic functions
roots: Public generic functions
roots: Public generic functions
rotate-around: Public generic functions
rotate-around: Public generic functions
rotate-v: Public generic functions
rotate-v: Public generic functions
rotate-x: Public generic functions
rotate-x: Public generic functions
rotate-y: Public generic functions
rotate-y: Public generic functions
rotate-z: Public generic functions
rotate-z: Public generic functions
round-to-significant-digits: Public ordinary functions
row: Public generic functions
row: Public generic functions
row: Public generic functions
row: Public generic functions
rows: Public generic functions
rows: Public generic functions
rows: Public generic functions
rows: Public generic functions
rtd: Public ordinary functions

S
same-znak: Private ordinary functions
scale-by-number&summ: Public generic functions
scale-by-number&summ: Public generic functions
scale-by-number&summ: Public generic functions
semi-equal: Public generic functions
semi-equal: Public generic functions
semi-equal: Public generic functions
semi-equal: Public generic functions
semi-equal: Public generic functions
semi-equal: Public generic functions
single-float-list: Public ordinary functions
singular-p: Public generic functions
singular-p: Public generic functions
singular-p: Public generic functions
smooth-by-points: Public generic functions
smooth-by-points: Public generic functions
smooth-by-points: Public generic functions
solve: Public ordinary functions
solve-x: Public ordinary functions
solve-x: Public generic functions
solve-x: Public generic functions
solve-x: Public generic functions
solve-x: Public generic functions
solve-x: Public generic functions
solve-x: Public generic functions
spherical->cartesian: Public ordinary functions
split-range: Public ordinary functions
split-range-by-func: Public ordinary functions
square: Public ordinary functions
squarep: Public generic functions
squarep: Public generic functions
standard-deviation: Public ordinary functions
standard-deviation-not-nil: Public ordinary functions
summ: Public generic functions
summ: Public generic functions
summ: Public generic functions
summ-distance: Public generic functions
summ-distance: Public generic functions
summ-distance: Public generic functions
swap-cols: Public generic functions
swap-cols: Public generic functions
swap-cols*: Public generic functions
swap-cols*: Public generic functions
swap-rows: Public generic functions
swap-rows: Public generic functions
swap-rows*: Public generic functions
swap-rows*: Public generic functions

T
tab: Public generic functions
tab: Public generic functions
tab: Public generic functions
tab: Public generic functions
tab: Public generic functions
table-apply: Public ordinary functions
table-apply-0: Private ordinary functions
table-apply-1: Private ordinary functions
transform: Public generic functions
transform: Public generic functions
transpose: Public generic functions
transpose: Public generic functions
transpose: Public generic functions
triangle-area-by-sides: Public ordinary functions

U
unite-cols: Public ordinary functions
unite-rows: Public ordinary functions

V
variation-coefficient: Public ordinary functions
variation-coefficient-not-nil: Public ordinary functions

W
weight-func-list: Public ordinary functions
weight-func-p: Public ordinary functions


A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   L   M   N   O   P   Q   R   S   X  
Index Entry  Section

*
*apr-args-1*: Public special variables
*apr-args-2*: Public special variables
*apr-func-1-2*: Public special variables
*apr-func-1-3*: Public special variables
*apr-func-1-4*: Public special variables
*apr-func-1-5*: Public special variables
*apr-func-2-4*: Public special variables
*apr-func-2-5*: Public special variables
*apr-func-2-6*: Public special variables
*apr-func-2-7*: Public special variables
*apr-func-2-8*: Public special variables
*apr-func-2-9*: Public special variables
*default-gnuplot-direcroty*: Public special variables
*g-t*: Private special variables
*palette-defined*: Public special variables
*palette-defined-01*: Public special variables
*pm3d-map*: Public special variables
*semi-equal-relativ*: Public special variables
*semi-equal-zero*: Public special variables
*term-pdfcairo*: Public special variables
*term-pngcairo*: Public special variables

+
+significant-digits+: Public special variables

A
a: Public classes
a: Public classes
a: Public classes
a: Public classes
a: Public classes
a1d-func: Public classes
a2d-func: Public classes

B
b: Public classes
b: Public classes
b: Public classes
b: Public classes
b: Public classes
background: Private classes

C
c: Public classes
c: Public classes
c: Public classes

D
d: Public classes
d: Public classes
d: Public classes
dashlength: Private classes
data: Public classes
direction: Private classes

E
e: Public classes

F
font: Private classes
fontscale: Private classes

L
linewidth: Private classes

M
mono/color: Private classes

N
no-crop: Private classes
no-enhanced: Private classes
no-transparent: Private classes

O
orign: Private classes

P
pointscale: Private classes

Q
q: Public classes

R
rounded/butt/square: Private classes

S
size: Private classes
size-units: Private classes
Slot, a: Public classes
Slot, a: Public classes
Slot, a: Public classes
Slot, a: Public classes
Slot, a: Public classes
Slot, a1d-func: Public classes
Slot, a2d-func: Public classes
Slot, b: Public classes
Slot, b: Public classes
Slot, b: Public classes
Slot, b: Public classes
Slot, b: Public classes
Slot, background: Private classes
Slot, c: Public classes
Slot, c: Public classes
Slot, c: Public classes
Slot, d: Public classes
Slot, d: Public classes
Slot, d: Public classes
Slot, dashlength: Private classes
Slot, data: Public classes
Slot, direction: Private classes
Slot, e: Public classes
Slot, font: Private classes
Slot, fontscale: Private classes
Slot, linewidth: Private classes
Slot, mono/color: Private classes
Slot, no-crop: Private classes
Slot, no-enhanced: Private classes
Slot, no-transparent: Private classes
Slot, orign: Private classes
Slot, pointscale: Private classes
Slot, q: Public classes
Slot, rounded/butt/square: Private classes
Slot, size: Private classes
Slot, size-units: Private classes
Slot, x1: Public classes
Slot, x1: Public classes
Slot, x2: Public classes
Special Variable, *apr-args-1*: Public special variables
Special Variable, *apr-args-2*: Public special variables
Special Variable, *apr-func-1-2*: Public special variables
Special Variable, *apr-func-1-3*: Public special variables
Special Variable, *apr-func-1-4*: Public special variables
Special Variable, *apr-func-1-5*: Public special variables
Special Variable, *apr-func-2-4*: Public special variables
Special Variable, *apr-func-2-5*: Public special variables
Special Variable, *apr-func-2-6*: Public special variables
Special Variable, *apr-func-2-7*: Public special variables
Special Variable, *apr-func-2-8*: Public special variables
Special Variable, *apr-func-2-9*: Public special variables
Special Variable, *default-gnuplot-direcroty*: Public special variables
Special Variable, *g-t*: Private special variables
Special Variable, *palette-defined*: Public special variables
Special Variable, *palette-defined-01*: Public special variables
Special Variable, *pm3d-map*: Public special variables
Special Variable, *semi-equal-relativ*: Public special variables
Special Variable, *semi-equal-zero*: Public special variables
Special Variable, *term-pdfcairo*: Public special variables
Special Variable, *term-pngcairo*: Public special variables
Special Variable, +significant-digits+: Public special variables

X
x1: Public classes
x1: Public classes
x2: Public classes


A.4 Data types

Jump to:   <  
A   C   D   E   F   G   H   L   M   P   R   S   T  
Index Entry  Section

<
<appr-bilinear>: Public classes
<appr-linear>: Public classes
<arithmetic>: Public classes
<cubic>: Public classes
<geometric>: Public classes
<linear>: Public classes
<matrix>: Public classes
<quadric>: Public classes
<quartic>: Public classes
<series>: Private classes
<term>: Private classes

A
appr-doc.lisp: The math/appr/src/appr/appr-doc․lisp file
appr.lisp: The math/appr/src/appr/appr․lisp file

C
Class, <appr-bilinear>: Public classes
Class, <appr-linear>: Public classes
Class, <arithmetic>: Public classes
Class, <cubic>: Public classes
Class, <geometric>: Public classes
Class, <linear>: Public classes
Class, <matrix>: Public classes
Class, <quadric>: Public classes
Class, <quartic>: Public classes
Class, <series>: Private classes
Class, <term>: Private classes
Class, gnuplot-vector: Private classes
Class, term-pdfcairo: Private classes
Class, term-pngcairo: Private classes
coord-doc.lisp: The math/coord/src/coord/coord-doc․lisp file
coord.lisp: The math/coord/src/coord/coord․lisp file
core-doc.lisp: The math/core/src/core/core-doc․lisp file
core.lisp: The math/core/src/core/core․lisp file

D
defmethod.lisp: The math/matr/src/matr/defmethod․lisp file

E
equation-doc.lisp: The math/equation/src/equation/equation-doc․lisp file
equation.lisp: The math/equation/src/equation/equation․lisp file

F
File, appr-doc.lisp: The math/appr/src/appr/appr-doc․lisp file
File, appr.lisp: The math/appr/src/appr/appr․lisp file
File, coord-doc.lisp: The math/coord/src/coord/coord-doc․lisp file
File, coord.lisp: The math/coord/src/coord/coord․lisp file
File, core-doc.lisp: The math/core/src/core/core-doc․lisp file
File, core.lisp: The math/core/src/core/core․lisp file
File, defmethod.lisp: The math/matr/src/matr/defmethod․lisp file
File, equation-doc.lisp: The math/equation/src/equation/equation-doc․lisp file
File, equation.lisp: The math/equation/src/equation/equation․lisp file
File, geom-doc.lisp: The math/geom/src/geom/geom-doc․lisp file
File, geom.lisp: The math/geom/src/geom/geom․lisp file
File, gnuplot-doc.lisp: The math/gnuplot/src/gnuplot/gnuplot-doc․lisp file
File, gnuplot.lisp: The math/gnuplot/src/gnuplot/gnuplot․lisp file
File, half-div-doc.lisp: The math/half-div/src/half-div/half-div-doc․lisp file
File, half-div.lisp: The math/half-div/src/half-div/half-div․lisp file
File, ls-gauss-doc.lisp: The math/ls-gauss/src/ls-gauss/ls-gauss-doc․lisp file
File, ls-gauss.lisp: The math/ls-gauss/src/ls-gauss/ls-gauss․lisp file
File, ls-gsll-doc.lisp: The math/ls-gsll/src/ls-gsll/ls-gsll-doc․lisp file
File, ls-gsll.lisp: The math/ls-gsll/src/ls-gsll/ls-gsll․lisp file
File, ls-rotation-doc.lisp: The math/ls-rotation/src/ls-rotation/ls-rotation-doc․lisp file
File, ls-rotation.lisp: The math/ls-rotation/src/ls-rotation/ls-rotation․lisp file
File, math.asd: The math/math․asd file
File, math.lisp: The math/src/math/math․lisp file
File, matr-doc.lisp: The math/matr/src/matr/matr-doc․lisp file
File, matr.lisp: The math/matr/src/matr/matr․lisp file
File, rnd-doc.lisp: The math/rnd/src/rnd/rnd-doc․lisp file
File, rnd.lisp: The math/rnd/src/rnd/rnd․lisp file
File, series-doc.lisp: The math/series/src/series/series-doc․lisp file
File, series.lisp: The math/series/src/series/series․lisp file
File, smooth-doc.lisp: The math/smooth/src/smooth/smooth-doc․lisp file
File, smooth.lisp: The math/smooth/src/smooth/smooth․lisp file
File, stat-doc.lisp: The math/stat/src/stat/stat-doc․lisp file
File, stat.lisp: The math/stat/src/stat/stat․lisp file

G
geom-doc.lisp: The math/geom/src/geom/geom-doc․lisp file
geom.lisp: The math/geom/src/geom/geom․lisp file
gnuplot-doc.lisp: The math/gnuplot/src/gnuplot/gnuplot-doc․lisp file
gnuplot-vector: Private classes
gnuplot.lisp: The math/gnuplot/src/gnuplot/gnuplot․lisp file

H
half-div-doc.lisp: The math/half-div/src/half-div/half-div-doc․lisp file
half-div.lisp: The math/half-div/src/half-div/half-div․lisp file

L
ls-gauss-doc.lisp: The math/ls-gauss/src/ls-gauss/ls-gauss-doc․lisp file
ls-gauss.lisp: The math/ls-gauss/src/ls-gauss/ls-gauss․lisp file
ls-gsll-doc.lisp: The math/ls-gsll/src/ls-gsll/ls-gsll-doc․lisp file
ls-gsll.lisp: The math/ls-gsll/src/ls-gsll/ls-gsll․lisp file
ls-rotation-doc.lisp: The math/ls-rotation/src/ls-rotation/ls-rotation-doc․lisp file
ls-rotation.lisp: The math/ls-rotation/src/ls-rotation/ls-rotation․lisp file

M
math: The math system
math: The math package
math.asd: The math/math․asd file
math.lisp: The math/src/math/math․lisp file
math/appr: The math/appr system
math/appr: The math/appr package
math/coord: The math/coord system
math/coord: The math/coord package
math/core: The math/core system
math/core: The math/core package
math/equation: The math/equation system
math/equation: The math/equation package
math/geom: The math/geom system
math/geom: The math/geom package
math/gnuplot: The math/gnuplot system
math/gnuplot: The math/gnuplot package
math/half-div: The math/half-div system
math/half-div: The math/half-div package
math/ls-gauss: The math/ls-gauss system
math/ls-gauss: The math/ls-gauss package
math/ls-gsll: The math/ls-gsll system
math/ls-gsll: The math/ls-gsll package
math/ls-rotation: The math/ls-rotation system
math/ls-rotation: The math/ls-rotation package
math/matr: The math/matr system
math/matr: The math/matr package
math/rnd: The math/rnd system
math/rnd: The math/rnd package
math/series: The math/series system
math/series: The math/series package
math/smooth: The math/smooth system
math/smooth: The math/smooth package
math/stat: The math/stat system
math/stat: The math/stat package
matr-doc.lisp: The math/matr/src/matr/matr-doc․lisp file
matr.lisp: The math/matr/src/matr/matr․lisp file
Module, src/appr: The math/appr/src/appr module
Module, src/coord: The math/coord/src/coord module
Module, src/core: The math/core/src/core module
Module, src/equation: The math/equation/src/equation module
Module, src/geom: The math/geom/src/geom module
Module, src/gnuplot: The math/gnuplot/src/gnuplot module
Module, src/half-div: The math/half-div/src/half-div module
Module, src/ls-gauss: The math/ls-gauss/src/ls-gauss module
Module, src/ls-gsll: The math/ls-gsll/src/ls-gsll module
Module, src/ls-rotation: The math/ls-rotation/src/ls-rotation module
Module, src/math: The math/src/math module
Module, src/matr: The math/matr/src/matr module
Module, src/rnd: The math/rnd/src/rnd module
Module, src/series: The math/series/src/series module
Module, src/smooth: The math/smooth/src/smooth module
Module, src/stat: The math/stat/src/stat module

P
Package, math: The math package
Package, math/appr: The math/appr package
Package, math/coord: The math/coord package
Package, math/core: The math/core package
Package, math/equation: The math/equation package
Package, math/geom: The math/geom package
Package, math/gnuplot: The math/gnuplot package
Package, math/half-div: The math/half-div package
Package, math/ls-gauss: The math/ls-gauss package
Package, math/ls-gsll: The math/ls-gsll package
Package, math/ls-rotation: The math/ls-rotation package
Package, math/matr: The math/matr package
Package, math/rnd: The math/rnd package
Package, math/series: The math/series package
Package, math/smooth: The math/smooth package
Package, math/stat: The math/stat package

R
rnd-doc.lisp: The math/rnd/src/rnd/rnd-doc․lisp file
rnd.lisp: The math/rnd/src/rnd/rnd․lisp file

S
series-doc.lisp: The math/series/src/series/series-doc․lisp file
series.lisp: The math/series/src/series/series․lisp file
smooth-doc.lisp: The math/smooth/src/smooth/smooth-doc․lisp file
smooth.lisp: The math/smooth/src/smooth/smooth․lisp file
src/appr: The math/appr/src/appr module
src/coord: The math/coord/src/coord module
src/core: The math/core/src/core module
src/equation: The math/equation/src/equation module
src/geom: The math/geom/src/geom module
src/gnuplot: The math/gnuplot/src/gnuplot module
src/half-div: The math/half-div/src/half-div module
src/ls-gauss: The math/ls-gauss/src/ls-gauss module
src/ls-gsll: The math/ls-gsll/src/ls-gsll module
src/ls-rotation: The math/ls-rotation/src/ls-rotation module
src/math: The math/src/math module
src/matr: The math/matr/src/matr module
src/rnd: The math/rnd/src/rnd module
src/series: The math/series/src/series module
src/smooth: The math/smooth/src/smooth module
src/stat: The math/stat/src/stat module
stat-doc.lisp: The math/stat/src/stat/stat-doc․lisp file
stat.lisp: The math/stat/src/stat/stat․lisp file
System, math: The math system
System, math/appr: The math/appr system
System, math/coord: The math/coord system
System, math/core: The math/core system
System, math/equation: The math/equation system
System, math/geom: The math/geom system
System, math/gnuplot: The math/gnuplot system
System, math/half-div: The math/half-div system
System, math/ls-gauss: The math/ls-gauss system
System, math/ls-gsll: The math/ls-gsll system
System, math/ls-rotation: The math/ls-rotation system
System, math/matr: The math/matr system
System, math/rnd: The math/rnd system
System, math/series: The math/series system
System, math/smooth: The math/smooth system
System, math/stat: The math/stat system

T
term-pdfcairo: Private classes
term-pngcairo: Private classes