id int64 0 45.1k | file_name stringlengths 4 68 | file_path stringlengths 14 193 | content stringlengths 32 9.62M | size int64 32 9.62M | language stringclasses 1
value | extension stringclasses 6
values | total_lines int64 1 136k | avg_line_length float64 3 903k | max_line_length int64 3 4.51M | alphanum_fraction float64 0 1 | repo_name stringclasses 779
values | repo_stars int64 0 882 | repo_forks int64 0 108 | repo_open_issues int64 0 90 | repo_license stringclasses 8
values | repo_extraction_date stringclasses 146
values | sha stringlengths 64 64 | __index_level_0__ int64 0 45.1k | exdup_ids_cmlisp_stkv2 listlengths 1 47 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,029 | transpose.lisp | mnasoft_math/src/matr/methods/transpose.lisp | ;;;; ./src/matr/methods/transpose.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; transpose
(defmethod transpose ((mm <matrix>))
" @b(Пример использования:)
@begin[lang=lisp](code)
(transpose (matr-new 2 3 '(1 2 3
... | 816 | Common Lisp | .lisp | 22 | 30.772727 | 100 | 0.477212 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6dcf283221740dae0f509eb452b39b8b31dc331764d59112c81ba59f2d62b2f8 | 11,029 | [
-1
] |
11,030 | equivalent.lisp | mnasoft_math/src/matr/methods/equivalent.lisp | ;;;; ./src/matr/methods/equivalent.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; equivalent
(defmethod equivalent ((m1 <matrix>) (m2 <matrix>) &key (test #'math/core:semi-equal))
(let ((rez t))
(if (and (= (rows m1) (rows m... | 1,796 | Common Lisp | .lisp | 36 | 46.194444 | 100 | 0.59122 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 4b7e1b4214e8ac5893f482400ddf6347a9bb37f5df18afbd40a078a9ed33a272 | 11,030 | [
-1
] |
11,031 | squarep.lisp | mnasoft_math/src/matr/methods/squarep.lisp | ;;;; ./src/matr/methods/squarep.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; squarep
(defmethod squarep ((mm <matrix>))
" @b(Пример использования:)
@begin[lang=lisp](code)
(defparameter *mm* (make-instance '<matrix> :dimen... | 1,095 | Common Lisp | .lisp | 31 | 31.096774 | 100 | 0.54491 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 9e90e20d1ddc8689d26ac9d4ec2cfe5255f997cd352cb839d0254a0c5dbde4c1 | 11,031 | [
-1
] |
11,032 | mref.lisp | mnasoft_math/src/matr/methods/mref.lisp | ;;;; ./src/matr/methods/mref.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; mref
(defmethod mref ((mm <matrix>) i j)
" @b(Пример использования:)
@begin[lang=lisp](code)
(mref (matr-new 2 3 '(1 2 3 4 5 6)) 1 2) => 6
@end(code)"... | 863 | Common Lisp | .lisp | 25 | 31.56 | 100 | 0.46979 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | cdc326c8381c003790aae09cf2b5bf1e54d4dca8e293dcc3245c03a9ce50c300 | 11,032 | [
-1
] |
11,033 | rotate.lisp | mnasoft_math/src/matr/methods/rotate.lisp | ;;;; ./src/matr/methods/rotate.lisp
(in-package :math/matr)
(defmethod 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))
(multiply *p* (rotate-y... | 2,867 | Common Lisp | .lisp | 59 | 42.322034 | 155 | 0.48913 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | f288ff3644b420af404e84abcf5b1d28c76b88d8c65661767a86452eff17dc4d | 11,033 | [
-1
] |
11,034 | copy.lisp | mnasoft_math/src/matr/methods/copy.lisp | ;;;; ./src/matr/methods/copy.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; copy
(defmethod copy ((mm-ref <matrix>))
(make-instance '<matrix>
:data (cl-utilities:copy-array (matrix-data mm-ref))))
(defmethod co... | 609 | Common Lisp | .lisp | 18 | 29.277778 | 100 | 0.504394 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e6aab5d50a2f968dc1d3b4d129cb3740c9134af64b86c1027f2825dfb81e6be9 | 11,034 | [
-1
] |
11,035 | swap-cols.lisp | mnasoft_math/src/matr/methods/swap-cols.lisp | ;;;; ./src/matr/methods/swap-cols.lisp
(in-package :math/matr)
(defmethod swap-cols* ((mm <matrix>) i j)
(assert (and (< -1 i (cols mm)) (< -1 j (cols mm))))
(when (/= i j)
(let ((col-i (col mm i))
(col-j (col mm j)))
(setf (col mm i) col-j
(col mm j) col-i)))
mm)
(defmethod swap-cols ((mm <ma... | 362 | Common Lisp | .lisp | 12 | 26.833333 | 54 | 0.554598 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5fa212af9692c2645ac10b78482eee679e6b8d3bd29291c2006a1155c1cb9328 | 11,035 | [
-1
] |
11,036 | anti-diagonal.lisp | mnasoft_math/src/matr/methods/anti-diagonal.lisp | ;;;; ./src/matr/methods/anti-diagonal.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; anti-diagonal
(defmethod anti-diagonal ((mm <matrix>))
"@b(Пример использования:)
@begin[lang=lisp](code)
(defparameter *mm*
(make-instance... | 1,306 | Common Lisp | .lisp | 34 | 31.823529 | 100 | 0.476949 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 11097a33b167020a77a7688d4718edd3766d9be244a491c4c1c59813c0f8ef21 | 11,036 | [
-1
] |
11,037 | multiply.lisp | mnasoft_math/src/matr/methods/multiply.lisp | ;;;; ./src/matr/methods/multiply.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; multiply
(defmethod multiply ((a <matrix> ) (b <matrix>))
" @b(Пример использования:)
@begin[lang=lisp](code)
(multiply (matr-new 2 3 '(1.0 2.0 3.0... | 2,070 | Common Lisp | .lisp | 67 | 25.597015 | 117 | 0.468849 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 41cb8fec195a59ac45098e2f53d5815b88e630da5a0d910b897ea734bcb6285a | 11,037 | [
-1
] |
11,038 | prepend.lisp | mnasoft_math/src/matr/methods/prepend.lisp | ;;;; ./src/matr/methods/prepend.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; prepend
(defmethod prepend-col ((col cons) (matrix cons))
" @b(Пример использования:)
@begin[lang=lisp](code)
(prepend-col '(10 11 12)
... | 1,920 | Common Lisp | .lisp | 61 | 19.540984 | 100 | 0.36394 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 9eeadecffdce196243e96d59f3a52f1a9b9d563f5d1433bce0bda83e2b5b8035 | 11,038 | [
-1
] |
11,039 | swap-rows.lisp | mnasoft_math/src/matr/methods/swap-rows.lisp | ;;;; ./src/matr/methods/swap-rows.lisp
(in-package :math/matr)
(defmethod swap-rows* ((mm <matrix>) i j)
(assert (and (< -1 i (rows mm)) (< -1 j (rows mm))))
(when (/= i j)
(let ((row-i (row mm i))
(row-j (row mm j)))
(setf (row mm i) row-j
(row mm j) row-i)))
mm)
(defmethod swap-rows ((mm <... | 364 | Common Lisp | .lisp | 12 | 27 | 54 | 0.551429 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 4d3b31e193e88c623ae86e07831e873fe143a3e931bbfe65f429e5261ce9712a | 11,039 | [
-1
] |
11,040 | average.lisp | mnasoft_math/src/matr/methods/average.lisp | ;;;; ./src/matr/methods/average.lisp
(in-package :math/matr)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; average - Вычисление среднего значения
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defmethod ... | 1,655 | Common Lisp | .lisp | 39 | 35.384615 | 100 | 0.540613 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b1414fe974de86b53354dbee1ae890c2b174614e75cbcad793d05143c8812e1a | 11,040 | [
-1
] |
11,041 | temp.lisp | mnasoft_math/src/gnuplot/temp.lisp | (in-package :math/gnuplot)
(require :ltk)
(force-output *gnuplot*)
(format *gnuplot* "quit~%")
(force-output *gnuplot*)
(close *gnuplot*)
| 146 | Common Lisp | .lisp | 6 | 22 | 27 | 0.719697 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | cdfc39509e834c306ae999854bd5e7a6371ba6c3f73612c92b370e9501f97e7a | 11,041 | [
-1
] |
11,042 | gnuplot.lisp | mnasoft_math/src/gnuplot/gnuplot.lisp | ;;;; ./src/gnuplot/package.lisp
(defpackage :math/gnuplot
(:use #:cl #:math/core)
(:export gnuplot-splot
gnuplot-plot
table-apply
make-table
*default-gnuplot-direcroty*
*palette-defined-01*
*pm3d-map*
*palette-defined*
gnuplot-data-splot
... | 25,990 | Common Lisp | .lisp | 511 | 41.925636 | 162 | 0.560062 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 93afbbb0a87315b5908f05e79404099497416529df14351a5adf5f7394f8cebd | 11,042 | [
-1
] |
11,043 | approximation-gnuplot.lisp | mnasoft_math/src/gnuplot/example/approximation-gnuplot.lisp | ;;;; approximation.lisp
(in-package :math)
(defparameter *arr-2xN* (make-array '(5 2) :initial-contents '((-2.0 0.91553) (-1.0 1.15765) (0.0 1.68105) (1.0 1.15759) (2.0 0.9213))))
(defparameter *a-rez* (math:gauss-1-approximation-array *arr-2xN* :dx0 1.0 :delta 0.000001 :iterations 100))
(defun g-1-0 (x) (spline-1d... | 2,639 | Common Lisp | .lisp | 51 | 48 | 136 | 0.597271 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 25c48e1e836973ce9c23cbcb2926e3537aff142ed9e0a74040d4339932823b8d | 11,043 | [
-1
] |
11,044 | smooth.lisp | mnasoft_math/src/smooth/smooth.lisp | ;;;; smoothing.lisp
;;;; ./src/smooth/smooth.lisp
(defpackage :math/smooth
(:use #:cl)
(:export gauss-smoothing
exp-smoothing
cauchy-smoothing
hann-smoothing)
(:export weight-func-list
weight-func-p))
(in-package :math/smooth)
(defun gauss-smoothing (d)
"@b(Описание:) функция @b(gauss-smoothi... | 1,721 | Common Lisp | .lisp | 55 | 24.745455 | 48 | 0.616601 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | ad30ecfeaed5c71f3d8ce74059def811dbb7335162695c384120f2e4c17a334b | 11,044 | [
-1
] |
11,045 | series.lisp | mnasoft_math/src/series/series.lisp | ;;;; ./src/series/series.lisp
(defpackage :math/series
(:use #:cl )
(:export <arithmetic>
<arithmetic>-a
<arithmetic>-d
<geometric>
<geometric>-b
<geometric>-q
summ
item
first-by-number&summ
scale-by-number&summ
... | 7,088 | Common Lisp | .lisp | 158 | 33.240506 | 100 | 0.568713 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e6836e3be0fe183cc3830e1912b476d9aca13af183ba2607eb80e415f3940633 | 11,045 | [
-1
] |
11,046 | geom.lisp | mnasoft_math/src/geom/geom.lisp | ;;;; ./src/geom/geom-doc.lisp
(defpackage :math/geom
(:use #:cl)
(:export triangle-area-by-sides
regular-triangle-area-by-side
regular-triangle-side-by-area)
(:export regular-tetrahedron-volume-by-side
regular-tetrahedron-side-by-volume)
(:export diameter-by-radius
r... | 3,545 | Common Lisp | .lisp | 79 | 35.974684 | 93 | 0.688645 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5b285500e78fd4e23ea7a941c6f7b920f7d7303fe1ab476c75f2caa79bc4edad | 11,046 | [
-1
] |
11,047 | stat.lisp | mnasoft_math/src/stat/stat.lisp | ;;;; statistics.lisp
(defpackage :math/stat
(:use #:cl #:math/core)
(:intern remove-first
remove-last)
(:export make-random-value-list
)
(:export average
dispersion
dispersion-not-nil
standard-deviation
standard-deviation-not-nil
variation-c... | 15,346 | Common Lisp | .lisp | 381 | 30.005249 | 100 | 0.619323 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6dab5074a8db6e4dd2270bc512664b004950d43d2bc0e064ea91f0969f79addd | 11,047 | [
-1
] |
11,048 | docs.lisp | mnasoft_math/src/docs/docs.lisp |
(defpackage :math/docs
(:use #:cl )
(:export make-all)
(:documentation "
Пакет @b(math/docs) содержит функции генерирования и публикации
документации.
@b(Пример использования:)
@begin[lang=lisp](code)
(ql:quickload :math/docs)
(math/docs:make-all)
@end(code)
"))
(in-package :math/docs)
(defun make-documen... | 2,631 | Common Lisp | .lisp | 84 | 21.892857 | 75 | 0.510751 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 09d52bb0d1248ff94ec9a1882e1329c93797292683e63583b1358f3ead590a4f | 11,048 | [
-1
] |
11,049 | x-o.lisp | mnasoft_math/src/x-o/x-o.lisp | ;;;; x-o.lisp
(defpackage :math/x-o
(:use #:cl #:math/matr)
(:export play))
(in-package :math/x-o)
(defclass <x-o> (<matrix>) ())
(defmethod matr-name-* ((mm <x-o>)) "X-O")
(defmethod print-object ((x-o <x-o>) s)
(print-unreadable-object (x-o s :type t)
(when (and (matrix-data x-o) (arrayp (matrix-data ... | 8,049 | Common Lisp | .lisp | 181 | 37.718232 | 112 | 0.605909 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 2779c208c98003fc0c0d8b9340f0dcdf1f363011b6a1ff741beefdd5b90638d0 | 11,049 | [
-1
] |
11,050 | list-matr-tests.lisp | mnasoft_math/src/tests/list-matr-tests.lisp | ;;;; tests/matrix.lisp
(in-package :math/tests)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def-suite list-matr-tests
:description "Мастер-набор всех тестов системы math/matr для матриц
типа 2d-list."
:in all)
(in-suite list-matr-tests)
(def-fixture f... | 7,469 | Common Lisp | .lisp | 174 | 35.701149 | 100 | 0.606638 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | de20cc95677be6de7fa2cd354a567fae991aa8688b2359ab113272c515735991 | 11,050 | [
-1
] |
11,051 | package.lisp | mnasoft_math/src/tests/package.lisp | ;;;; tests/package.lisp
(defpackage :math/tests
(:use #:cl #:fiveam)
(:export #:run-tests)
(:documentation "
@b(Описание:) Пакет @b(math/tests) предназначен для проверки
изменений, внесенных в пакеты, связаные с :math.
Загузка пакета осуществляется через загрузку системы:
@b(Пример использования:)
@begin[lang... | 758 | Common Lisp | .lisp | 21 | 25.190476 | 60 | 0.735675 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | f4218ae1fa1e0dce06a925b9ab4758c0ff198e4beb6d18646da39a37466b605f | 11,051 | [
-1
] |
11,052 | ls-gauss.lisp | mnasoft_math/src/tests/ls-gauss.lisp | ;;;; ./src/tests/ls-gauss.lisp
(in-package :math/tests)
(def-suite ls-gauss
:description
"Мастер-набор тестов по решению СЛАУ (системы линейных
алгебраических уравнений."
:in all)
(in-suite ls-gauss)
(def-test linear-system-convert-to-triangular-test ()
"Пример использования: (test-convert-to-triangular)"
... | 2,188 | Common Lisp | .lisp | 67 | 24.80597 | 60 | 0.561871 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 7191b1edddf4e3b426b9ea3fb008ae58d87a267c12ac6b502b0b5dd737282fa1 | 11,052 | [
-1
] |
11,053 | coord.lisp | mnasoft_math/src/tests/coord.lisp | ;;;; tests/array.lisp
(in-package :math/tests)
(def-suite coord
:description "Мастер-набор всех тестов проекта math/matr для матрицы
типа coord."
:in all)
(in-suite coord)
(def-test coord-dtr-rtd ()
(loop :for (degree radian)
:in `((0 0)
(15 ,(* pi 1/12))
(30 ,(* pi... | 2,230 | Common Lisp | .lisp | 51 | 33.137255 | 93 | 0.528169 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 626c35aef45168d19f6354508bae9af2c39d3fa95ce38692a898c446b9add856 | 11,053 | [
-1
] |
11,054 | 2d-array.lisp | mnasoft_math/src/tests/2d-array.lisp | ;;;; ./src/tests/2d-array.lisp
(in-package :math/tests)
(def-suite 2d-array
:description "Мастер-набор всех тестов проекта math/matr для матрицы
типа 2d-array."
:in all)
(in-suite 2d-array)
(def-test array-get-row-test ()
"Проверка доступа к строкам."
(let ((arr (make-array '(5 2)
:initial-contents '(... | 868 | Common Lisp | .lisp | 27 | 23 | 70 | 0.534974 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e2cb2e51b52a6a1663f57475e677a1b683a53eb299bc8616277d4b58db2e69ac | 11,054 | [
-1
] |
11,055 | ls-rotation.lisp | mnasoft_math/src/tests/ls-rotation.lisp | ;;;; ./src/tests/ls-rotation.lisp
(in-package :math/tests)
(def-suite ls-rotation
:description "Мастер-набор всех тестов math/ls-rotation решение системы
линейных уравнений методом вращения."
:in all)
(in-suite ls-rotation)
(def-test ls-rotation-solve-x ()
(is-true
(math/core:semi-equal
(let ((m '((1... | 817 | Common Lisp | .lisp | 24 | 25.291667 | 73 | 0.576976 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6330102cb01e49ee25ba361c67220a8905d66d2ce132567e2e908fe08dc95f49 | 11,055 | [
-1
] |
11,056 | half-div.lisp | mnasoft_math/src/tests/half-div.lisp | ;;;; tests/array.lisp
(in-package :math/tests)
(def-suite half-div
:description "Мастер-набор всех тестов проекта math/matr для матрицы
типа 2d-array."
:in all)
(in-suite half-div)
(def-test h-div-h-div-lst ()
(is-true (math/core:semi-equal
1382.7728
(math/half-div:h-div-lst
... | 895 | Common Lisp | .lisp | 24 | 20.791667 | 70 | 0.419315 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | ccd50b97f1a288ac0e228259fb32df2022c82eccaf3eeef627dfc8d4ff912867 | 11,056 | [
-1
] |
11,057 | ls-gsll.lisp | mnasoft_math/src/tests/ls-gsll.lisp | ;;;; ./math/src/tests/ls-gsll.lisp
(in-package :math/tests)
(def-suite ls-gsll
:description "Мастер-набор всех тестов math/ls-gsll решение системы
линейных уравнений при помощи библиотеки gsll."
:in all)
(in-suite ls-gsll)
(def-test ls-gsll-solve-x ()
(is-true
(math/core:semi-equal
(let ((m '((1 2 3 ... | 808 | Common Lisp | .lisp | 24 | 24.75 | 69 | 0.564972 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 848ae7d57eadbebe64f9c5ef31d05583db74cf1064fb44f07df2caea6a68d72d | 11,057 | [
-1
] |
11,058 | array.lisp | mnasoft_math/src/tests/array.lisp | ;;;; tests/array.lisp
(in-package :math/tests)
(def-suite 2d-array
:description "Мастер-набор всех тестов проекта math/matr для матрицы
типа 2d-array."
:in all)
(in-suite 2d-array)
(def-test array-get-row ()
"Проверка доступа к строкам."
(let ((arr (make-array '(5 2)
:initial-contents '((0 1)
... | 754 | Common Lisp | .lisp | 23 | 25.695652 | 70 | 0.570997 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 65df11780cb81aa023c9fa8cbac7ea450631ebed173baabae8db4b2454321714 | 11,058 | [
-1
] |
11,059 | matrix.lisp | mnasoft_math/src/tests/matrix.lisp | ;;;;
(in-package :math/tests)
(defun make-<matrix>-int (rows cols)
"@b(Описание:) функция @b(make-<matrix>-int) возвращает матрицу
с количеством строк rows=1..9 и столбцов cols=1..9 и
ининциализирует элементы целыми значениями.
@b(Пример использования:)
@begin[lang=lisp](code)
(make-<matrix>-int 2 3)
=> Matr... | 11,709 | Common Lisp | .lisp | 270 | 36.37037 | 108 | 0.579813 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 771f3ff27099b3908276416f2f501d74a7914c131a2647cdb913312851261bcc | 11,059 | [
-1
] |
11,060 | core.lisp | mnasoft_math/src/tests/core.lisp | ;;;; ./math/src/tests/core.lisp
(in-package :math/tests)
(def-suite core
:description "Мастер-набор всех тестов math/core."
:in all)
(in-suite core)
#+nil
((math/core:roots (make-instance 'math/core:<linear> :a 1d0 :b -1d0))
(math/core:roots (make-instance 'math/core:<quadric> :a 1d0 :b -3d0 :c 2d0))
(math/c... | 2,766 | Common Lisp | .lisp | 62 | 39.741935 | 87 | 0.596636 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 1606b450564cfc447ee3da2f9a75ca213c0da99050f661ea4d20b3f5d71e81e4 | 11,060 | [
-1
] |
11,061 | all.lisp | mnasoft_math/src/tests/all.lisp | ;;;; tests/main.lisp
(in-package :math/tests)
(def-suite all
:description "Мастер-набор всех тестов проекта math.")
(in-suite all)
#+nil (defun test-math () (run! 'all-tests))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#|
(require :sb-cover)
(require :ma... | 488 | Common Lisp | .lisp | 14 | 31.214286 | 100 | 0.555809 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 0e1ebddee41197f6ec592bb86bdbc5cc86eb48f1f98e2442bdbde25949bc846f | 11,061 | [
-1
] |
11,062 | equation.lisp | mnasoft_math/src/tests/equation.lisp | ;;;; ./math/src/tests/equation.lisp
(in-package :math/tests)
(def-suite equation
:description "Мастер-набор всех тестов math/equation."
:in all)
(in-suite equation)
#+nil
(
(math/equation:roots (make-instance 'math/equation:<linear> :a 1d0 :b -1d0))
(math/equation:roots (make-instance 'math/equation:<quadric... | 4,432 | Common Lisp | .lisp | 82 | 49.402439 | 94 | 0.674004 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 16a270ad6fe573ebbb10823dde1faea46d3514d1808680abc5f6ac03d02dd314 | 11,062 | [
-1
] |
11,063 | appr.lisp | mnasoft_math/src/tests/appr.lisp | ;;;; tests/approximation-tests.lisp
(in-package :math/tests)
(def-suite appr
:description "Мастер-набор тестов по решению СЛАУ (систем линейных
плгебраических уравнений."
:in all)
(in-suite appr)
(def-test approximation-make-least-squares-matrix-test ()
"Пример использования: (test-matr-mnk)"
(let* ((m1
... | 2,490 | Common Lisp | .lisp | 65 | 29.738462 | 74 | 0.497624 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 03ce0e5cf8ecad608987e30d6609f2b515583275973b4609c4ac9f1295572902 | 11,063 | [
-1
] |
11,064 | half-div.lisp | mnasoft_math/src/half-div/half-div.lisp | ;;;; ./src/half-div/half-div.lisp
(defpackage :math/half-div
(:use #:cl)
(:export h-div)
(:export h-div-lst)
(:documentation
"@b(Описание:) пакет @b( half-div) реализует алгоритм половинного
деления для выполнения поиска корня функции на отрезке."))
(in-package :math/half-div)
(defun boole-to-int (b) (i... | 4,049 | Common Lisp | .lisp | 99 | 28.060606 | 82 | 0.62333 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 70c56ef2ff3cdbd1dcb4b1d9d19b295edada2d10f1f46191875877a91b9af901 | 11,064 | [
-1
] |
11,065 | coord.lisp | mnasoft_math/src/coord/coord.lisp | ;;;; ./src/coord/coordinate-system.lisp
(defpackage :math/coord
(:use #:cl #:math/core)
(:export dtr
rtd
polar->cartesian
cartesian->polar
spherical->cartesian
cartesian->spherical
)
(:export point-3d->4d
point-4d->3d
)
(:... | 5,486 | Common Lisp | .lisp | 137 | 29.20438 | 88 | 0.661556 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | aace3f900b33be4a69b22af356bfa0f6d07d8aff8951a46b2745cef39b5ef4af | 11,065 | [
-1
] |
11,066 | math.lisp | mnasoft_math/src/math/math.lisp | ;;;; package.lisp
(defpackage :math
(:use #:cl) ;;#:math/core
(:export mult-matr-vect))
(in-package :math)
(defun mult-matr-vect (matr vect)
"@b(Описание:) функция @b(mult-matr-vect) возвращает вектор, являющийся
результатом умножения матрицы @b(matr) на вектор @b(vect). Количество
элементов в результирующем... | 1,331 | Common Lisp | .lisp | 32 | 31.03125 | 90 | 0.660038 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 282da8b034d1561367dc030981bf5e5d3a488c95745a8d2d97933fb8ef72a7b0 | 11,066 | [
-1
] |
11,067 | appr.lisp | mnasoft_math/src/appr/appr.lisp | ;;;; ./appr/package.lisp
(defpackage :math/appr
(:use #:cl) ;;#:math/matr
(:export refine-smoothing-by-points
smooth-by-points
approximate
appr-table
averaging-function-lambda
averaging-function-defun
)
(:export make-approximation-defun
... | 44,557 | Common Lisp | .lisp | 791 | 44.787611 | 251 | 0.59108 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | c8572996dbd933039b3a25a134176249ce6c2951d27a75ca3dbfbb09d42d975e | 11,067 | [
-1
] |
11,068 | temp.lisp | mnasoft_math/src/ls-gsll/temp.lisp | ;;;; ls-solve/temp.lisp
(in-package :math/ls-solve)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;(make-instance 'grid:matrix :dimensions '(3 3) :element-type 'double-float :initial-element 1.0d0)
(lu-solve-extmatr '((1 2 3 14) (2 1 1 7) (3 0 1 2)) :grid-... | 802 | Common Lisp | .lisp | 16 | 47.8125 | 101 | 0.567708 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6fea42b0f72c3574e4b240097ab48bf4f0286a79faaee2285551c43abc35ed17 | 11,068 | [
-1
] |
11,069 | gsll-samples.lisp | mnasoft_math/src/ls-gsll/gsll-samples.lisp | (defparameter *m* '((1d0 1d0 1d0 1d0)
(1d0 2d0 3d0 4d0)
(1d0 4d0 9d0 16d0)
(1d0 8d0 27d0 64d0)))
(defparameter *v* '(10d0 30d0 100d0 354d0))
(let ((matrix (grid:make-foreign-array 'double-float :initial-contents *m*))
(vec (grid:make-foreign-array 'double-float :initial-contents *v*)))
(m... | 2,602 | Common Lisp | .lisp | 53 | 43.433962 | 110 | 0.643705 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 4475095f5b191441c92a450908fcb28b5d48651dc6d56e670a6b9e5019724aba | 11,069 | [
-1
] |
11,070 | ls-gsll.lisp | mnasoft_math/src/ls-gsll/ls-gsll.lisp | ;;;; ./src/ls-solve/ls-solve.lisp
(defpackage :math/ls-gsll
(:use #:cl )
(:export solve
solve-x)
(:documentation
"@b(Описание:) пакет @b(math/ls-gsll) пределяет функции для
решения СЛАУ методом LU-разложения при помощи системσ GSLL."))
(in-package :math/ls-gsll)
(defun solve (matrix vector)
"... | 2,542 | Common Lisp | .lisp | 58 | 31.87931 | 100 | 0.621053 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b4755a8cbd48eb9074c6ff058f126c999f0410f871cf72e644508120278cbdda | 11,070 | [
-1
] |
11,071 | core.lisp | mnasoft_math/src/core/core.lisp | ;;;; ./src/core/core.lisp
(defpackage :math/core
(:use #:cl)
(:export norma
*semi-equal-relativ*
*semi-equal-zero*
semi-equal
)
(:export summ-distance
distance
exclude-nil-from-list
depth-sphere-along-cone
distance-relative
square)
... | 15,414 | Common Lisp | .lisp | 350 | 33.248571 | 109 | 0.55468 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 1c16d6a2609ead27437ff6ede0ccd571566da3141d8859302f9632fa93938166 | 11,071 | [
-1
] |
11,072 | rnd.lisp | mnasoft_math/src/rnd/rnd.lisp | ;;;; ./src/rnd/rnd.lisp
(defpackage :math/rnd
(:use #:cl)
(:export make-1d-list
make-2d-list
make-ls-system)
(:documentation
"@b(Описание:) пакет @b(math/rnd) содержит функции, предназначенные
для создания случайных одномерных (1d-list) и двумерных (2d-list)
списков, а также систем лин... | 2,781 | Common Lisp | .lisp | 71 | 26.746479 | 70 | 0.595793 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 45148d62127cfaa1b5af9fd5f8d561f74f9b34fedbe94dd98b7f1a6bb3961d46 | 11,072 | [
-1
] |
11,073 | equation.lisp | mnasoft_math/src/equation/equation.lisp | ;;;; ./src/equation/equation.lisp
(defpackage :math/equation
(:use #:cl)
(:export tab
func
roots)
(:export <linear>
<quadric>
<cubic>
<quartic>)
(:export coeff-a
coeff-b
coeff-c
coeff-d
coeff-e))
(in-package :ma... | 8,819 | Common Lisp | .lisp | 213 | 32.525822 | 103 | 0.552357 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 3729635f27b7bb51c5d0dbee360ebd5c06be83d5c83c94ff960b60731b5d5872 | 11,073 | [
-1
] |
11,074 | obj.lisp | mnasoft_math/src/obj/obj.lisp | (defpackage :math/obj
(:use #:cl)
(:export b* b/ b+ b- ;; Операции биаргументного умножения, деления, слоожения и вычитания;
m* m/ m+ m- ;; Операции мультиаргументного умножения, деления, слоожения и вычитания;
)
(:export point-3d
<point-3d>
<point-3d>-x
<p... | 6,161 | Common Lisp | .lisp | 136 | 37.426471 | 100 | 0.488106 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 06240d6d06dcee5a67b4863495c41fc01b5ba66c0e5628d027ced3ca18f29742 | 11,074 | [
-1
] |
11,075 | math.asd | mnasoft_math/math.asd | ;;;; math.asd
(defsystem "math"
:description
"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
... | 13,388 | Common Lisp | .asd | 292 | 33.061644 | 100 | 0.571133 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 0653678f8a3f662dfc0069209117d58b55a9788d357fc67cef03fe8360f6b477 | 11,075 | [
-1
] |
11,077 | FUNDING.yml | mnasoft_math/FUNDING.yml | # These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: mnasoft
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/p... | 678 | Common Lisp | .l | 11 | 60.545455 | 91 | 0.791291 | mnasoft/math | 14 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | d48a1b313e51fd912b55fdf88e514bb0804fbeb8b5967ad5b2dc9828d9816736 | 11,077 | [
-1
] |
11,155 | browser.lisp | lambdamikel_GenEd/src/browser.lisp |
;;; ----------------------------------------------------------------------
(define-presentation-type concept ())
(define-presentation-method presentation-typep
((object t)
(type concept))
(classic:cl-named-concept (classic:cl-name object)))
(define-presentation-method present (object
(type co... | 5,364 | Common Lisp | .lisp | 142 | 31.65493 | 82 | 0.665694 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | a4914891a318fe7710935fd07e2fa84e30e47a561b1f22fbd17cfa4f08ef2da4 | 11,155 | [
-1
] |
11,156 | classesxx.lisp | lambdamikel_GenEd/src/classesxx.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defclass object-handle ()
((x :accessor x :initarg :x)
(y :accessor y :initarg :y)
(parent-object :accessor parent-object :initarg :parent-object)))
(defclass start-handle (object-handle)
())
(def... | 16,636 | Common Lisp | .lisp | 462 | 31.688312 | 91 | 0.699491 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 66ee0777425fb0f33df2c267fc9494bf600f647c7464f491db2328605ce94bb3 | 11,156 | [
-1
] |
11,157 | polyrep.lisp | lambdamikel_GenEd/src/polyrep.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defun make-right-geom-polygon (object point-list &key (closed t))
(delete-polyrep-from-cache object)
(make-geom-polygon
(mapcar #'(lambda (point)
(multiple-value-bind (x y)
(let... | 7,292 | Common Lisp | .lisp | 212 | 28.75 | 79 | 0.674532 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 91cc5e6a6d6f666abb0778a64fd9d942e001f05d6aa4ffe64a9f6362f89a0613 | 11,157 | [
-1
] |
11,158 | interface-to-classic2.lisp | lambdamikel_GenEd/src/interface-to-classic2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Error-Hook-Fn.
;;;
(defun inconsistent-classic-object (code args path object)
(if (and (cl-instance? object (cl-named-concept 'gened-thing))
(listp (cl-fillers object (cl-named-role 'belongs-to-clos-object))))... | 18,992 | Common Lisp | .lisp | 602 | 26.622924 | 88 | 0.663191 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | c0b6029d2f7c77831a6982a1e5f4a2fb878c5e747ebc34e28a4bde71ef59653c | 11,158 | [
-1
] |
11,159 | gened-sysdcl-fs.lisp | lambdamikel_GenEd/src/gened-sysdcl-fs.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: CL-User; Base: 10 -*-
(cl:in-package cl-user)
(define-system geometry
(:default-pathname "gened:geometry;"
:subsystem t)
(:serial "newgeo13"))
(define-system splines
(:default-pathname "gened:splines;"
:subsystem t)
(:serial "spline3"))
#| (load-s... | 1,163 | Common Lisp | .lisp | 48 | 19.125 | 76 | 0.639042 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 67cf428215139610d1e12c0e42ab2d7444c8697398dd378f750b01208a7a28e0 | 11,159 | [
-1
] |
11,160 | handles.lisp | lambdamikel_GenEd/src/handles.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod move-object-handle ((object object-handle))
(make-undo-object (parent-object object) 'move-object-handle)
(when *info*
(format t "~%Press Left Mouse-Button To Release!~%"))
(let ((*conc... | 5,786 | Common Lisp | .lisp | 171 | 28.836257 | 89 | 0.658624 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b4283db6e4b024339d0200ab6dc1204626be5b2b57f9b304ed0a857e15bfbeab | 11,160 | [
-1
] |
11,161 | spatial5.lisp | lambdamikel_GenEd/src/spatial5.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defparameter *accessor-table* (make-hash-table))
(defmacro define-relation-accessors (&rest names)
`(progn
(defparameter +relation-accessor-symbols+ ',names)
(clrhash *accessor-table*)
(dolist... | 24,257 | Common Lisp | .lisp | 649 | 31.137134 | 100 | 0.662826 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 027aac86847ec10bc7c07de1d59d704d30cffdbb37992fbb4be3a0ca5740a8fe | 11,161 | [
-1
] |
11,162 | mac-init.lisp | lambdamikel_GenEd/src/mac-init.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defparameter *spline-chain*
(make-instance 'g-spline-chain
:pointlist
'(-23 -13 -12 6 -8 -10 0 0 8 -4 16 14)
:initialize-handles t
:head t
:parent-concepts '("directed-spline... | 3,066 | Common Lisp | .lisp | 102 | 24.95098 | 104 | 0.63176 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5fee3e306bd8cd1b9538c850c925376c112b1184b49118f7339c816ba29ee691 | 11,162 | [
-1
] |
11,163 | mac-frame2.lisp | lambdamikel_GenEd/src/mac-frame2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(define-application-frame gened ()
( (liste :initform nil)
(stored-relations :initform nil)
(saved-liste :initform nil)
(prev-op-liste :initform nil)
(mode :initform 'g-circle)
... | 18,986 | Common Lisp | .lisp | 548 | 27.974453 | 88 | 0.648348 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b5b8f06743fba72acb553372f62e2a54dcbf997944103b8340bf84ba12538796 | 11,163 | [
-1
] |
11,164 | values.lisp | lambdamikel_GenEd/src/values.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defconstant +objects-dir+ "gened:objects;")
(defconstant +scenes-dir+ "gened:scenes;")
(defconstant +libraries-dir+ "gened:libraries;")
(defconstant +prints-dir+ "gened:prints;")
;;;
;;;
;;;
(defconstant +... | 1,886 | Common Lisp | .lisp | 64 | 27.359375 | 74 | 0.711086 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | a0e04250f7767e83ccba52886241c6fcf90b625a6b3e6faf6033222396f41311 | 11,164 | [
-1
] |
11,165 | mac-frame.lisp | lambdamikel_GenEd/src/mac-frame.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(define-application-frame gened ()
( (liste :initform nil)
(stored-relations :initform nil)
(saved-liste :initform nil)
(prev-op-liste :initform nil)
(mode :initform 'g-circle)
... | 17,946 | Common Lisp | .lisp | 519 | 27.957611 | 88 | 0.647515 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | f59cca95ef823b30169f6afbfff0adce3f73ce5ecf5627a192e35fd31e8b0a99 | 11,165 | [
-1
] |
11,166 | main.lisp | lambdamikel_GenEd/src/main.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod only-tick-object ((object thing))
(incf (tickval object)))
(defun only-tick-all-objects ()
(with-application-frame (gened-frame)
(with-slots (liste) gened-frame
(dolist (elem liste)
(... | 11,209 | Common Lisp | .lisp | 356 | 27.185393 | 82 | 0.669971 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 19dad8e174cc1ce3a03a60d9970d37c9b38f938fab6d6877f29a861b3a23f700 | 11,166 | [
-1
] |
11,168 | init2.lisp | lambdamikel_GenEd/src/init2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defparameter *spline-chain*
(make-instance 'g-spline-chain
:pointlist
'(-23 -13 -12 6 -8 -10 0 0 8 -4 16 14)
:initialize-handles t
:head t
:parent-concepts '("directed-spline... | 3,281 | Common Lisp | .lisp | 102 | 26.558824 | 104 | 0.627325 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 3cc787df9dd52bc894900b29c8a574fb7955bafac762b61ca30d54eedabd1937 | 11,168 | [
-1
] |
11,169 | rel-copy2.lisp | lambdamikel_GenEd/src/rel-copy2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defclass stored-relations ()
((belongs-to :accessor belongs-to :initarg :belongs-to)
(id-number :accessor id-number :initarg :id-number)
(xtrans :accessor xtrans)
(ytrans :accessor ytrans)))
(defcla... | 7,616 | Common Lisp | .lisp | 194 | 34.690722 | 113 | 0.711934 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 3639c0631b0bc40b08ed763e2c1ecdf345a61d2e07e4cf135ad4b4f7cf18e558 | 11,169 | [
-1
] |
11,170 | comtable.lisp | lambdamikel_GenEd/src/comtable.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
(define-command-table concept-table
:menu (("Select Concept-Visualisation" :command (com-gened-select-concept-visualisation))
("divide1" :divider nil)
("Assign Concept To Object" :command (com-gened-assign-... | 5,403 | Common Lisp | .lisp | 98 | 49.397959 | 98 | 0.69446 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 1499e24dd7a0c1ea7843875eaec3c6eeae9431760720b54012260b773ae15e0b | 11,170 | [
-1
] |
11,171 | spatial3.lisp | lambdamikel_GenEd/src/spatial3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
(defun store-output-regions ()
(with-application-frame (gened-frame)
(let ((stream (get-frame-pane gened-frame 'display))
(*bounding-boxes* t)
(*handles-symbol-list* nil))
(with-slots (liste) gened-f... | 20,603 | Common Lisp | .lisp | 560 | 30.232143 | 99 | 0.648469 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | f5ffd58a26fb7f406e0f30ade83c3aa06cdfe843edbe654b9ace4b3f93991797 | 11,171 | [
-1
] |
11,172 | creator.lisp | lambdamikel_GenEd/src/creator.lisp |
;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod create ((object g-point) (orgx integer) (orgy integer))
(init-object-properties object))
(defmethod create ((object g-rectangle) (orgx integer) (orgy integer))
(when *info*
(format t "~%Pre... | 5,942 | Common Lisp | .lisp | 169 | 27.402367 | 145 | 0.599677 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 8adc1ee9a2740fbbd954094d48c297d28dfd511859bd658b6fce39144239bd37 | 11,172 | [
-1
] |
11,173 | delta2.lisp | lambdamikel_GenEd/src/delta2.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GENED -*-
(in-package gened)
;;;
;;;
;;;
#-:classic
(defun do-incremental-updates (&key (backward nil))
nil)
#+:classic
(defun do-incremental-updates (&key (backward nil))
(with-application-frame (gened-frame)
(with-slots (inc-mode liste stored-relati... | 5,687 | Common Lisp | .lisp | 177 | 26.915254 | 115 | 0.674266 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | dda0b3dcb2bb94520cd0e9a369d1dee173ad3dac3d459416354b215e4f26025d | 11,173 | [
-1
] |
11,174 | delete.lisp | lambdamikel_GenEd/src/delete.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod delete-it ((object basic-thing))
(with-application-frame (gened-frame)
(with-slots (liste) gened-frame
(delete-polyrep-from-cache object)
(setf liste (delete object liste :test #'eq... | 1,092 | Common Lisp | .lisp | 31 | 31.774194 | 74 | 0.693257 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 330a7afced10c9bbfa435488a6397cab9033224867bc6b01c9b1412ec82aeee3 | 11,174 | [
-1
] |
11,175 | concepts.lisp | lambdamikel_GenEd/src/concepts.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defun generate-name (symbol)
(write-to-string
symbol :escape nil))
(defun construct-concept-menu ()
(mapcar #'(lambda (concept)
(list concept ':items
(let ((num 0))
(loop for visu ... | 11,589 | Common Lisp | .lisp | 346 | 28.687861 | 107 | 0.670817 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 651ea97b6d63cbb0a3bfe961af6ee41df97bcb27966b531f9f02ac765ff676ee | 11,175 | [
-1
] |
11,176 | frame.lisp | lambdamikel_GenEd/src/frame.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(define-application-frame gened ()
( (liste :initform nil)
(stored-relations :initform nil)
(saved-liste :initform nil)
(prev-op-liste :initform nil)
(mode :initform 'g-circle)
... | 19,438 | Common Lisp | .lisp | 556 | 28.311151 | 88 | 0.650807 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 1b3f763c3203f2d3678dd6681d689cea0b943fb5b804fa70fe66d2adf2762ace | 11,176 | [
-1
] |
11,177 | interface-to-classic.lisp | lambdamikel_GenEd/src/interface-to-classic.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Error-Hook-Fn.
;;;
(defun inconsistent-classic-object (code args path object)
(if (and (cl-instance? object (cl-named-concept 'gened-thing))
(listp (cl-fillers object (cl-named-role 'belongs-to-clos-object))))... | 14,275 | Common Lisp | .lisp | 440 | 27.125 | 91 | 0.668809 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 1e0ee32fe17b0088b91d3f06773d948adc9bed9a5ea2b674c38bb7dc58560d8c | 11,177 | [
-1
] |
11,178 | kb-display.lisp | lambdamikel_GenEd/src/kb-display.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: KNOWLEDGE; Base: 10 -*-
(cl:in-package knowledge)
(defparameter *browser-text-style*
(make-text-style :sans-serif :roman :normal))
(defparameter *list-pane-text-style*
(make-text-style :serif :roman :small))
(defparameter *relation-text-style*
(ma... | 9,301 | Common Lisp | .lisp | 267 | 29.273408 | 86 | 0.660686 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | d250901b7d1754dabd5a310c5da7cd1e9550875d4f7ad177390a8451e100468e | 11,178 | [
-1
] |
11,179 | classes.lisp | lambdamikel_GenEd/src/classes.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Klassendefinitionen
;;;
(defclass undo-object ()
((object-copy :initarg :object-copy :accessor object-copy)
(original-object :initarg :original-object :accessor original-object)
(operation :initarg :oper... | 14,414 | Common Lisp | .lisp | 386 | 32.880829 | 109 | 0.705422 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | dffc0943286e3a3edfbebd6c51311e1eecea7603c86e42966c064c3b5aaf101d | 11,179 | [
-1
] |
11,180 | undo.lisp | lambdamikel_GenEd/src/undo.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defclass undo-object ()
((object-copy :initarg :object-copy :accessor object-copy)
(original-object :initarg :original-object :accessor original-object)
(operation :initarg :operation :accessor oper... | 4,543 | Common Lisp | .lisp | 140 | 26.114286 | 74 | 0.652438 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 52e4170028f4db39cb301cc6a1dd8181060c6f5768bbba8dbb1434db384a2217 | 11,180 | [
-1
] |
11,181 | inout.lisp | lambdamikel_GenEd/src/inout.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Writer-Methods
;;;
(defmethod write-object ((object t) stream &key &allow-other-keys)
(declare (ignore stream))
())
(defun write-it (object stream)
(write object :stream stream)
(terpri stream))
(defmetho... | 18,453 | Common Lisp | .lisp | 508 | 31.122047 | 87 | 0.666573 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | d73f676a0f12aa91592ce35ca2e74ad060be1e0ca9fc601ed91c7129f8e35ea5 | 11,181 | [
-1
] |
11,182 | draw.lisp | lambdamikel_GenEd/src/draw.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod transform-and-draw ((object basic-thing) stream drawer-function)
(let* ((comptrans (get-transformation object))
(gstrans (make-scaling-transformation *global-scaling*
*global-scali... | 21,314 | Common Lisp | .lisp | 644 | 24.891304 | 79 | 0.600736 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | a0a9bc27b663421499d931c192c109d2a7c49f84b19b5e816f38122054d47e0d | 11,182 | [
-1
] |
11,183 | mac-gened-sysdcl.lisp | lambdamikel_GenEd/src/mac-gened-sysdcl.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: CL-User; Base: 10 -*-
(cl:in-package cl-user)
(define-system geometry
(:default-pathname "gened:geometry;"
:subsystem t)
(:serial "newgeo13"))
(define-system splines
(:default-pathname "gened:splines;"
:subsystem t)
(:serial "spline3"))
(define-sy... | 931 | Common Lisp | .lisp | 42 | 17.095238 | 76 | 0.620571 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6756e69f6957506d9f47bb5dc9af94c60c47e4b5e39847d29101f88dbde80bf1 | 11,183 | [
-1
] |
11,184 | transfor.lisp | lambdamikel_GenEd/src/transfor.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod translate-object ((object thing) newx newy)
(let ((dx (- newx (xtrans object)))
(dy (- newy (ytrans object))))
(translate-relative-object object dx dy)))
(defmethod translate-object ((object b... | 4,147 | Common Lisp | .lisp | 123 | 29.227642 | 91 | 0.678103 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 34d5bdfcef5ce2be561af48c88e4e73d27042c0ab90045a4e1d7a81f7b2b820f | 11,184 | [
-1
] |
11,185 | classesx.lisp | lambdamikel_GenEd/src/classesx.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Klassendefinitionen
;;;
(defclass undo-object ()
((object-copy :initarg :object-copy :accessor object-copy)
(original-object :initarg :original-object :accessor original-object)
(operation :initarg :oper... | 15,561 | Common Lisp | .lisp | 420 | 32.545238 | 106 | 0.700806 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5c2d0ef8571f24ad502fab3e9a458068ef62b11e9ef928d795246727eeefc333 | 11,185 | [
-1
] |
11,186 | copy.lisp | lambdamikel_GenEd/src/copy.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod copy-values ((source-object t) (destination-object t))
())
(defmethod copy-values ((source-object thing) (destination-object thing))
(with-slots (xtrans ytrans hidden
parent-concepts id-n... | 6,923 | Common Lisp | .lisp | 149 | 42.442953 | 105 | 0.739604 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5cdfe12aea5fe6c0753dfdaa185474d5d38e5a51adc877438b8c9e608bae4e29 | 11,186 | [
-1
] |
11,187 | cluster.lisp | lambdamikel_GenEd/src/cluster.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(define-gened-command (com-gened-build-cluster :name "Build Composite Object")
()
(when *info*
(format t "~%Hold Shift & Left Mouse-Button~% And Drag A Rectangle Over Objects To Compose!~%Release Mouse... | 3,059 | Common Lisp | .lisp | 87 | 29.942529 | 133 | 0.666781 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 4971e224c72b450d40f12ca249cab9ba120a66973ec63ca1efacaad3332ed46c | 11,187 | [
-1
] |
11,188 | gened-sysdcl.lisp | lambdamikel_GenEd/src/gened-sysdcl.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: CL-User; Base: 10 -*-
(cl:in-package cl-user)
(require "clim")
(load "~/define-system.lisp")
(setf (logical-pathname-translations "base")
'(("**;*.*" "~/**/*.*")))
(setf (logical-pathname-translations "gened")
(list '("sources;**;*.*" "base:gened... | 1,330 | Common Lisp | .lisp | 54 | 18.888889 | 76 | 0.5795 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 5ef9a0a53445322c62e73a5aafec77973bd5e8dd2ab812d18150a4553c722e9a | 11,188 | [
-1
] |
11,189 | helpaux.lisp | lambdamikel_GenEd/src/helpaux.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defun calc-right-tres ()
(/ +tres-touch+ *global-scaling*))
;;;
;;;
;;;
(defun get-id-number ()
(incf *id-number*))
(defun min-max (liste)
(values
(apply #'min liste)
(apply #'max liste)))
(defu... | 4,745 | Common Lisp | .lisp | 153 | 25.529412 | 89 | 0.618654 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | a91fafcf5d999acced11a3efb860666304901aebf18c0dd76df1de1f5eac4b85 | 11,189 | [
-1
] |
11,190 | spatial4.lisp | lambdamikel_GenEd/src/spatial4.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
(defparameter *accessor-table* (make-hash-table))
(defmacro define-relation-accessors (&rest names)
`(progn
(defparameter +relation-accessor-symbols+ ',names)
(clrhash *accessor-table*)
(dolist (name +relat... | 24,712 | Common Lisp | .lisp | 647 | 31.384853 | 99 | 0.651967 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 84459f30883cba6cd598206a97d1c4e894de7e3b75525f0b6092b2053bd63ab9 | 11,190 | [
-1
] |
11,191 | gened-packages.lisp | lambdamikel_GenEd/src/gened-packages.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: CL-User; Base: 10 -*-
(cl:in-package cl-user)
(defpackage geometry
(:use common-lisp)
(:export :make-geom-polygon
:make-geom-point
:make-geom-line
:get-points
:intersects
:intersects-0
:intersects-1
:intersects-2 ... | 2,683 | Common Lisp | .lisp | 114 | 18.017544 | 76 | 0.686722 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6aea5e071a0e30d34c82ad237cb3c3e730e0be1b3a2a3ebab0cfb7f5cb84e9b7 | 11,191 | [
-1
] |
11,192 | inspect.lisp | lambdamikel_GenEd/src/inspect.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defmethod get-dialog-closure ((object t) stream)
(declare (ignore stream))
#'(lambda ()))
(defmethod get-dialog-closure ((object thing) stream)
#'(lambda ()
(with-slots (xtrans ytrans hidden) obje... | 6,817 | Common Lisp | .lisp | 187 | 31.967914 | 74 | 0.683802 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 6871138b8741d98742cc687a4194f929b20876ab4d605bf7a30459f9e7f1db83 | 11,192 | [
-1
] |
11,193 | frame2.lisp | lambdamikel_GenEd/src/frame2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
#+(or mcl lispworks)
(defmacro outl (&body body)
`(spacing (:thickness 2)
(outlining (:thickness 2)
(spacing (:thickness 2)
,@body))))
(defmacro with-centering ((stream) &body body)
(le... | 22,959 | Common Lisp | .lisp | 621 | 27.663446 | 88 | 0.595121 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | cefc957f75eda650e9fb235a7bad7fd122b8676184a91caf5f50ea0d5c301785 | 11,193 | [
-1
] |
11,194 | interface-to-classic3.lisp | lambdamikel_GenEd/src/interface-to-classic3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Error-Hook-Fn.
;;;
(defun inconsistent-classic-object (code args path object)
(declare (ignore code args path))
(if (and (cl-instance? object (cl-named-concept 'gened-thing))
(listp (cl-fillers object (cl-na... | 18,923 | Common Lisp | .lisp | 595 | 26.942857 | 90 | 0.66364 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 576c790616029bbeeb052fe9596f04793d6ef4cc9515ad9135dbc593120a084c | 11,194 | [
-1
] |
11,195 | frame-4.3-test.lisp | lambdamikel_GenEd/src/frame-4.3-test.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(define-application-frame gened ()
( (liste :initform nil)
(stored-relations :initform nil)
(saved-liste :initform nil)
(prev-op-liste :initform nil)
(mode :initform 'g-circle)
... | 19,662 | Common Lisp | .lisp | 567 | 28.059965 | 88 | 0.650232 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | ff65bb0930777a0093bd22ef8144fd31dd8081c072804443e4d0c050a0305ad7 | 11,195 | [
-1
] |
11,196 | rel-copy.lisp | lambdamikel_GenEd/src/rel-copy.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;; Object-Copier-Functions for Spatial Relations!
;;;
(defclass stored-relations ()
((belongs-to :accessor belongs-to)
(id-number :accessor id-number)
(xtrans :accessor xtrans)
(ytrans :accessor ytrans)))
(... | 6,965 | Common Lisp | .lisp | 173 | 35.99422 | 106 | 0.720868 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 8d326f2ce2bc53b41eb285680bbbd6771ddcadb2545a545be2f48a2c06f7e447 | 11,196 | [
-1
] |
11,197 | delta.lisp | lambdamikel_GenEd/src/delta.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GENED -*-
(in-package gened)
(defun do-incremental-updates (&key (backward nil))
(with-application-frame (gened-frame)
(with-slots (inc-mode liste prev-op-liste object-copy-buffer) gened-frame
(if inc-mode
(progn
(calc-relations)
(let* (... | 7,459 | Common Lisp | .lisp | 204 | 28.25 | 77 | 0.627392 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 40fee1d592d2bef2a947bd061f380dfe0a59dd3f96d06b33557c97ac07a224d4 | 11,197 | [
-1
] |
11,198 | init.lisp | lambdamikel_GenEd/src/init.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GENED; Base: 10 -*-
(in-package gened)
;;;
;;;
;;;
(defparameter *spline-chain*
(make-instance 'g-spline-chain
:pointlist
'(-23 -13 -12 6 -8 -10 0 0 8 -4 16 14)
:initialize-handles t
:head t
:parent-concepts '("directed-spline... | 3,151 | Common Lisp | .lisp | 103 | 25.466019 | 104 | 0.631738 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e82c32c4f44d0dc997d5e6f910f836acd9471a75c55a10cffaf89e8a66a7f8b8 | 11,198 | [
-1
] |
11,199 | example.lisp | lambdamikel_GenEd/src/cc/example.lisp | ;;; -*- Syntax: ANSI-Common-Lisp; Package: KNOWLEDGE -*-
(in-package knowledge)
(cl-startup)
;;; ----------------------------------------------------------------------
;;;
;;; Domain Model
;;;
(define-primitive-concept person classic-thing)
(define-primitive-concept loadable-object classic-thing)
(define-primitive-... | 4,264 | Common Lisp | .lisp | 118 | 33.144068 | 82 | 0.666099 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b16512c2d5634e85053e60cab33506c775fab0646e01f95c324b149fa39152b3 | 11,199 | [
-1
] |
11,200 | example-clean.lisp | lambdamikel_GenEd/src/cc/example-clean.lisp | ;;; -*- Syntax: ANSI-Common-Lisp; Package: krss-classic -*-
(in-package krss-classic)
(classic:cl-startup)
;;; ----------------------------------------------------------------------
;;;
;;; Domain Model
;;;
(define-primitive-concept person classic-thing)
(define-primitive-concept loadable-object classic-thing)
(def... | 3,672 | Common Lisp | .lisp | 93 | 36.688172 | 82 | 0.681319 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 3eab9b42508f3aa34350983f65b371eccb2b89844f4feccb1291121c0b6ec4a4 | 11,200 | [
-1
] |
11,201 | newgeo6.lisp | lambdamikel_GenEd/src/geometry/newgeo6.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GEOMETRY -*-
(in-package geometry)
(defconstant +big-int+ 10000)
(defparameter *tick-counter* 1)
(defparameter *hash-table* (make-hash-table :size 200 :rehash-size 50))
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;; Konstruktoren
;;;
(de... | 17,210 | Common Lisp | .lisp | 582 | 24.001718 | 93 | 0.578057 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e0807caf450e2c9e04b9d7c0b0a5b18ae59e9b1712aabac36a996036090c5ba9 | 11,201 | [
-1
] |
11,202 | newgeo7.lisp | lambdamikel_GenEd/src/geometry/newgeo7.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GEOMETRY -*-
(in-package geometry)
(defconstant +big-int+ 10000)
(defparameter *tick-counter* 1)
(defparameter *hash-table* (make-hash-table :size 200 :rehash-size 50))
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;;
;;;
(defclass geom-t... | 20,283 | Common Lisp | .lisp | 613 | 23.375204 | 119 | 0.500052 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | b074e86525bfb76da8a931f040b869d7027d482fdc28cf62a2ae9562ee7fe65f | 11,202 | [
-1
] |
11,203 | disk.lisp | lambdamikel_GenEd/src/geometry/disk.lisp |
(defconstant +big-int+ 10000)
(defparameter *tick-counter* 1)
(defparameter *hash-table* (make-hash-table :size 200 :rehash-size 50))
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;; Konstruktoren
;;;
(defclass geom-thing ()
((tickval :initform nil :accessor tickval :initarg :tickval)))
(def... | 21,847 | Common Lisp | .lisp | 603 | 24.238806 | 141 | 0.475093 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 8f84fed1e2f61aa956f399771b562a35e37f67ca118e97c02a02cd25d868a8c5 | 11,203 | [
-1
] |
11,204 | newgeo13.lisp | lambdamikel_GenEd/src/geometry/newgeo13.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GEOMETRY -*-
(in-package geometry)
(defconstant +big-int+ 10000)
(defparameter *tick-counter* 1)
(defparameter *hash-table* (make-hash-table :size 200 :rehash-size 50))
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;; Konstruktoren
;;;
(de... | 18,851 | Common Lisp | .lisp | 604 | 24.387417 | 99 | 0.558605 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | e5ab151e7ae020d1b430f377547b20bb9577dd344ef6c45b5786ebf931bd5990 | 11,204 | [
-1
] |
11,205 | newgeo3.lisp | lambdamikel_GenEd/src/geometry/newgeo3.lisp | ;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Package: GEOMETRY -*-
(in-package geometry)
(defconstant +big-int+ 10000)
(defparameter *tick-counter* 1)
(defparameter *hash-table* (make-hash-table))
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;; Konstruktoren
;;;
(defclass geom-thing ()
((t... | 12,748 | Common Lisp | .lisp | 448 | 22.924107 | 93 | 0.569985 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 4037d2a394b488169c5ed6e1a516251907c820b8542e452d76b6189195aec745 | 11,205 | [
-1
] |
11,206 | janus-topology-4.lisp | lambdamikel_GenEd/src/geometry/janus-topology-4.lisp | ;;;-*- Mode: Lisp; Package: PJ -*-
(in-package :pj)
(defparameter *touching-threshold* 4)
;;;----------------------------------------------------------------------------
;;; Interface to subclasses: mixins
(defclass topology-mixin ()
()
(:documentation "Provides access to topological, spatial and geometrical~
... | 20,934 | Common Lisp | .lisp | 431 | 42.422274 | 82 | 0.650527 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | d3579efe69c92eb025bcc3c35ca7ae4f16f07be58f7f5b4324a7bb94a4eab9a8 | 11,206 | [
-1
] |
11,207 | newgeo.lisp | lambdamikel_GenEd/src/geometry/newgeo.lisp | (require "~/geometry/defpackage.lisp")
(in-package :geometry)
(defconstant +big-int+ 10000)
;;;
;;; Topological Relations for Polygons.
;;;
;;;
;;; Konstruktoren
;;;
(defclass geom-line ()
((p1 :initform nil :initarg :p1 :accessor p1)
(p2 :initform nil :initarg :p2 :accessor p2)))
(defclass geom-... | 13,288 | Common Lisp | .lisp | 427 | 23.859485 | 84 | 0.529313 | lambdamikel/GenEd | 18 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:26:41 AM (Europe/Amsterdam) | 47d3af077336e98609ee23e1c7acb72fe97425337164bbf7df44332658717968 | 11,207 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.