This is the numericals Reference Manual, version 2024.12.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Fri May 15 12:48:12 2026 GMT+0.
numericals/numericals.asdnumericals/basic-math/package.lispnumericals/basic-math/fixnum-c-funs.lispnumericals/basic-math/copy-coerce.lispnumericals/basic-math/one-arg-fn-all.lispnumericals/basic-math/one-arg-fn-float.lispnumericals/basic-math/lognot.lispnumericals/basic-math/two-arg-fn-logical.lispnumericals/basic-math/two-arg-fn-comparison.lispnumericals/basic-math/two-arg-fn-non-comparison.lispnumericals/basic-math/in-place-operators.lispnumericals/basic-math/n-arg-fn.lispnumericals/basic-math/n-arg-fn-compiler-macros.lispnumericals/basic-math/sum.lispnumericals/basic-math/maximum.lispnumericals/basic-math/minimum.lispnumericals/basic-math/arg-maximum.lispnumericals/basic-math/arg-minimum.lispnumericals/utils/package.lispnumericals/utils/utils.lispnumericals/utils/asarray.lispnumericals/utils/translations.lispnumericals/utils/aref.lispnumericals/utils/broadcast.lispnumericals/utils/transpose.lispnumericals/utils/ptr-iterate-but-inner.lispnumericals/utils/simple-array-broadcast.lispnumericals/utils/concat.lispnumericals/basic-utils/basic-utils.lispnumericals/transcendental/package.lispnumericals/transcendental/lparallel.lispnumericals/transcendental/one-arg-fn-float.lispnumericals/transcendental/two-arg-fn-float.lispnumericals/transcendental/in-place-operators.lispnumericals/linalg/package.lispnumericals/linalg/utils.lispnumericals/linalg/vdot.lispnumericals/linalg/det.lispnumericals/linalg/inv.lispnumericals/linalg/pinv.lispnumericals/linalg/norm2.lispnumericals/linalg/solve.lispnumericals/linalg/rank.lispnumericals/linalg/qr.lispnumericals/linalg/lu.lispnumericals/linalg/svd.lispnumericals/linalg/cholesky.lispnumericals/linalg/eig.lispnumericals/random/package.lispnumericals/random/seed.lispnumericals/random/gaussian.lispnumericals/random/beta.lispnumericals/random/chisquare.lispnumericals/statistics/package.lispnumericals/statistics/mean.lispnumericals/statistics/variance.lispnumericals/statistics/std.lispThe main system appears first, followed by any subsystem dependency.
numericalsnumericals/basic-mathnumericals/utilsnumericals/basic-utilsnumericals/transcendentalnumericals/linalgnumericals/randomnumericals/statisticsnumericalsA high performance numerical computing library for Common Lisp (focus: basic math operations)
MIT
2024.12.0
numericals/common (system).
numericals/basic-math (system).
numericals/transcendental (system).
numericals/linalg (system).
numericals/random (system).
numericals/statistics (system).
numericals/basic-mathMIT
numericals/utils (system).
bmas (system).
iterate (system).
package.lisp (file).
fixnum-c-funs.lisp (file).
copy-coerce.lisp (file).
one-arg-fn-all.lisp (file).
one-arg-fn-float.lisp (file).
lognot.lisp (file).
two-arg-fn-logical.lisp (file).
two-arg-fn-comparison.lisp (file).
two-arg-fn-non-comparison.lisp (file).
in-place-operators.lisp (file).
n-arg-fn.lisp (file).
n-arg-fn-compiler-macros.lisp (file).
sum.lisp (file).
maximum.lisp (file).
minimum.lisp (file).
arg-maximum.lisp (file).
arg-minimum.lisp (file).
numericals/utilsMore utilities for numericals. These require PELTADOT.
MIT
numericals/common (system).
numericals/basic-utils (system).
iterate (system).
policy-cond (system).
package.lisp (file).
utils.lisp (file).
asarray.lisp (file).
translations.lisp (file).
aref.lisp (file).
broadcast.lisp (file).
transpose.lisp (file).
ptr-iterate-but-inner.lisp (file).
simple-array-broadcast.lisp (file).
concat.lisp (file).
numericals/basic-utilsA collection of minimal-dependency utilities for numericals. These do not require PELTADOT.
MIT
alexandria (system).
basic-utils.lisp (file).
numericals/transcendentalMIT
numericals/basic-math (system).
bmas (system).
lparallel (system).
package.lisp (file).
lparallel.lisp (file).
one-arg-fn-float.lisp (file).
two-arg-fn-float.lisp (file).
in-place-operators.lisp (file).
numericals/linalgMIT
numericals/utils (system).
bmas (system).
ceigen-lite (system).
package.lisp (file).
utils.lisp (file).
vdot.lisp (file).
det.lisp (file).
inv.lisp (file).
pinv.lisp (file).
norm2.lisp (file).
solve.lisp (file).
rank.lisp (file).
qr.lisp (file).
lu.lisp (file).
svd.lisp (file).
cholesky.lisp (file).
eig.lisp (file).
numericals/randomMIT
numericals/utils (system).
ceigen-lite (system).
package.lisp (file).
seed.lisp (file).
gaussian.lisp (file).
beta.lisp (file).
chisquare.lisp (file).
numericals/statisticsMIT
numericals/basic-math (system).
numericals/transcendental (system).
package.lisp (file).
mean.lisp (file).
variance.lisp (file).
std.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
numericals/numericals.asdnumericals/basic-math/package.lispnumericals/basic-math/fixnum-c-funs.lispnumericals/basic-math/copy-coerce.lispnumericals/basic-math/one-arg-fn-all.lispnumericals/basic-math/one-arg-fn-float.lispnumericals/basic-math/lognot.lispnumericals/basic-math/two-arg-fn-logical.lispnumericals/basic-math/two-arg-fn-comparison.lispnumericals/basic-math/two-arg-fn-non-comparison.lispnumericals/basic-math/in-place-operators.lispnumericals/basic-math/n-arg-fn.lispnumericals/basic-math/n-arg-fn-compiler-macros.lispnumericals/basic-math/sum.lispnumericals/basic-math/maximum.lispnumericals/basic-math/minimum.lispnumericals/basic-math/arg-maximum.lispnumericals/basic-math/arg-minimum.lispnumericals/utils/package.lispnumericals/utils/utils.lispnumericals/utils/asarray.lispnumericals/utils/translations.lispnumericals/utils/aref.lispnumericals/utils/broadcast.lispnumericals/utils/transpose.lispnumericals/utils/ptr-iterate-but-inner.lispnumericals/utils/simple-array-broadcast.lispnumericals/utils/concat.lispnumericals/basic-utils/basic-utils.lispnumericals/transcendental/package.lispnumericals/transcendental/lparallel.lispnumericals/transcendental/one-arg-fn-float.lispnumericals/transcendental/two-arg-fn-float.lispnumericals/transcendental/in-place-operators.lispnumericals/linalg/package.lispnumericals/linalg/utils.lispnumericals/linalg/vdot.lispnumericals/linalg/det.lispnumericals/linalg/inv.lispnumericals/linalg/pinv.lispnumericals/linalg/norm2.lispnumericals/linalg/solve.lispnumericals/linalg/rank.lispnumericals/linalg/qr.lispnumericals/linalg/lu.lispnumericals/linalg/svd.lispnumericals/linalg/cholesky.lispnumericals/linalg/eig.lispnumericals/random/package.lispnumericals/random/seed.lispnumericals/random/gaussian.lispnumericals/random/beta.lispnumericals/random/chisquare.lispnumericals/statistics/package.lispnumericals/statistics/mean.lispnumericals/statistics/variance.lispnumericals/statistics/std.lispnumericals/basic-math/package.lispnumericals/basic-math (system).
parametric-type-symbol-p (function).
numericals/basic-math/fixnum-c-funs.lisppackage.lisp (file).
numericals/basic-math (system).
+fixnum-shift-pointer+ (special variable).
fixnum-dot (function).
fixnum-hmax (function).
fixnum-hmin (function).
fixnum-mul (function).
fixnum-sum (function).
numericals/basic-math/copy-coerce.lispfixnum-c-funs.lisp (file).
numericals/basic-math (system).
test-copy (function).
numericals/basic-math/one-arg-fn-all.lispcopy-coerce.lisp (file).
numericals/basic-math (system).
+one-arg-fn-all-doc+ (constant).
numericals/basic-math/one-arg-fn-float.lispone-arg-fn-all.lisp (file).
numericals/basic-math (system).
+one-arg-fn-float-doc+ (constant).
fceiling (function).
ffloor (function).
fround (function).
ftruncate (function).
numericals/basic-math/lognot.lispone-arg-fn-float.lisp (file).
numericals/basic-math (system).
+logical-doc+ (constant).
numericals/basic-math/two-arg-fn-logical.lisplognot.lisp (file).
numericals/basic-math (system).
numericals/basic-math/two-arg-fn-comparison.lisptwo-arg-fn-logical.lisp (file).
numericals/basic-math (system).
two-arg-/= (function).
two-arg-< (function).
two-arg-<= (function).
two-arg-= (function).
two-arg-> (function).
two-arg->= (function).
numericals/basic-math/two-arg-fn-non-comparison.lisptwo-arg-fn-comparison.lisp (file).
numericals/basic-math (system).
add (function).
divide (function).
multiply (function).
subtract (function).
two-arg-logand (function).
two-arg-logior (function).
two-arg-logxor (function).
numericals/basic-math/in-place-operators.lisptwo-arg-fn-non-comparison.lisp (file).
numericals/basic-math (system).
numericals/basic-math/n-arg-fn.lisptwo-arg-fn-comparison.lisp (file).
two-arg-fn-non-comparison.lisp (file).
in-place-operators.lisp (file).
numericals/basic-math (system).
define-splice-list-fn (macro).
normalize-arguments/bitwise (function).
normalize-arguments/cmp (function).
normalize-arguments/dmas (function).
numericals/basic-math/n-arg-fn-compiler-macros.lispn-arg-fn.lisp (file).
numericals/basic-math (system).
+optimized-types+ (constant).
arg-is-not-array (condition).
arg-out-type-mismatch (condition).
array-type-is-unoptimized (condition).
bad-position-for-out (condition).
condition-arg (reader method).
condition-arg (reader method).
condition-arg-type (reader method).
condition-arg-type (reader method).
condition-args (reader method).
condition-args (reader method).
condition-out (reader method).
condition-out-type (reader method).
condition-type (reader method).
out-unknown-at-compile-time (condition).
numericals/basic-math/sum.lispn-arg-fn-compiler-macros.lisp (file).
numericals/basic-math (system).
numericals/basic-math/maximum.lispsum.lisp (file).
numericals/basic-math (system).
numericals/basic-math/minimum.lispmaximum.lisp (file).
numericals/basic-math (system).
numericals/basic-math/arg-maximum.lispminimum.lisp (file).
numericals/basic-math (system).
numericals/basic-math/arg-minimum.lisparg-maximum.lisp (file).
numericals/basic-math (system).
numericals/utils/package.lispnumericals/utils (system).
parametric-type-symbol-p (function).
numericals/utils/utils.lisppackage.lisp (file).
numericals/utils (system).
array= (function).
defun* (macro).
do-arrays (macro).
empty (compiler macro).
empty (function).
empty-like (function).
fill (function).
full (function).
full-like (function).
int-index (type).
int16 (type).
int64 (type).
int8 (type).
lm (macro).
macro-map-array (macro).
ones (compiler macro).
ones (function).
ones-like (function).
rand (function).
rand-like (function).
reshape (function).
runtime-array-allocation (condition).
shape (function).
size (type).
the-int-index (macro).
the-size (macro).
uint32 (type).
zeros (compiler macro).
zeros (function).
zeros-like (function).
ensure-row-major-layout (macro).
split-at-keywords (function).
numericals/utils/asarray.lisputils.lisp (file).
numericals/utils (system).
numericals/utils/translations.lispasarray.lisp (file).
numericals/utils (system).
c-name (compiler macro).
c-name (function).
c-size (compiler macro).
c-size (function).
c-type (compiler macro).
c-type (function).
cl-name (compiler macro).
cl-name (function).
define-c-translation (macro).
double-float-c-name (compiler macro).
double-float-c-name (function).
pushnew-c-translations (function).
single-float-c-name (compiler macro).
single-float-c-name (function).
*translation-table* (special variable).
fixnum-c-name (compiler macro).
fixnum-c-name (function).
int16-c-name (compiler macro).
int16-c-name (function).
int32-c-name (compiler macro).
int32-c-name (function).
int64-c-name (compiler macro).
int64-c-name (function).
int8-c-name (compiler macro).
int8-c-name (function).
uint16-c-name (compiler macro).
uint16-c-name (function).
uint32-c-name (compiler macro).
uint32-c-name (function).
uint64-c-name (compiler macro).
uint64-c-name (function).
uint8-c-name (compiler macro).
uint8-c-name (function).
numericals/utils/aref.lisptranslations.lisp (file).
numericals/utils (system).
aref* (function).
aref-applicable-p (function).
fixnump (function).
int32 (type).
normalize-index (function).
strides (function).
numericals/utils/broadcast.lisparef.lisp (file).
numericals/utils (system).
%broadcast-compatible-p (function).
broadcast-array (function).
broadcast-compatible-p (function).
do-with-broadcasting (macro).
incompatible-broadcast-dimensions (condition).
condition-array-likes (reader method).
condition-dimensions (reader method).
strides-for-broadcast (function).
numericals/utils/transpose.lispbroadcast.lisp (file).
numericals/utils (system).
transpose (function).
numericals/utils/ptr-iterate-but-inner.lisptranspose.lisp (file).
numericals/utils (system).
ptr-iterate-but-inner (macro).
numericals/utils/simple-array-broadcast.lispptr-iterate-but-inner.lisp (file).
numericals/utils (system).
with-simple-array-broadcast (macro).
numericals/utils/concat.lispsimple-array-broadcast.lisp (file).
numericals/utils (system).
out-shape-for-concat (function).
numericals/basic-utils/basic-utils.lispnumericals/basic-utils (system).
*array-element-type* (special variable).
*array-element-type-alist* (special variable).
*array-layout* (special variable).
*broadcast-automatically* (special variable).
*default-float-format* (special variable).
*inline-with-multithreading* (special variable).
*multithreaded-threshold* (special variable).
array-layout (function).
array-storage (function).
array-stride (function).
array-type-element-type (function).
cl-array-offset (function).
default-element-type (symbol macro).
narray-dimensions (function).
package-local-element-type (symbol macro).
size (type).
numericals/transcendental/package.lispnumericals/transcendental (system).
numericals/transcendental/lparallel.lisppackage.lisp (file).
numericals/transcendental (system).
with-thresholded-multithreading (macro).
with-thresholded-multithreading/cl (macro).
numericals/transcendental/one-arg-fn-float.lisplparallel.lisp (file).
numericals/transcendental (system).
numericals/transcendental/two-arg-fn-float.lispone-arg-fn-float.lisp (file).
numericals/transcendental (system).
numericals/transcendental/in-place-operators.lisptwo-arg-fn-float.lisp (file).
numericals/transcendental (system).
numericals/linalg/package.lispnumericals/linalg (system).
parametric-type-symbol-p (function).
numericals/linalg/utils.lisppackage.lisp (file).
numericals/linalg (system).
eigen-array-layout (function).
fixnum-dot (function).
float-close-p (function).
numericals/linalg/vdot.lisputils.lisp (file).
numericals/linalg (system).
numericals/linalg/det.lispvdot.lisp (file).
numericals/linalg (system).
numericals/linalg/inv.lispdet.lisp (file).
numericals/linalg (system).
numericals/linalg/pinv.lispinv.lisp (file).
numericals/linalg (system).
numericals/linalg/norm2.lisppinv.lisp (file).
numericals/linalg (system).
numericals/linalg/solve.lispnorm2.lisp (file).
numericals/linalg (system).
numericals/linalg/rank.lispsolve.lisp (file).
numericals/linalg (system).
numericals/linalg/qr.lisprank.lisp (file).
numericals/linalg (system).
numericals/linalg/lu.lispqr.lisp (file).
numericals/linalg (system).
numericals/linalg/svd.lisplu.lisp (file).
numericals/linalg (system).
numericals/linalg/cholesky.lispsvd.lisp (file).
numericals/linalg (system).
numericals/linalg/eig.lispcholesky.lisp (file).
numericals/linalg (system).
float-type-from-complex-type (function).
numericals/random/package.lispnumericals/random (system).
parametric-type-symbol-p (function).
numericals/random/seed.lispnumericals/random (system).
seed (function).
numericals/random/gaussian.lispnumericals/random (system).
gaussian (function).
numericals/random/beta.lispnumericals/random (system).
beta (function).
numericals/random/chisquare.lispnumericals/random (system).
chisquare (function).
numericals/statistics/package.lispnumericals/statistics (system).
parametric-type-symbol-p (function).
numericals/statistics/mean.lisppackage.lisp (file).
numericals/statistics (system).
numericals/statistics/variance.lispmean.lisp (file).
numericals/statistics (system).
numericals/statistics/std.lispvariance.lisp (file).
numericals/statistics (system).
Packages are listed by definition order.
numericals/randomnumericals/statisticsnumericals/transcendental/implnumericals/basic-utilsnumericals/linalgnumericals/utilsnumericals/utils/implnumericals/transcendentalnumericals/basic-math/implnumericals/basic-mathnumericalsnumericals/randomContains functions that provide arrays of random numbers sampled from various distributions
numericals/utils/impl.
peltadot.
beta-scalar (compiler macro).
chisquare-scalar (compiler macro).
gaussian-scalar (compiler macro).
parametric-type-symbol-p (function).
numericals/statisticsnumericals/utils/impl.
peltadot.
parametric-type-symbol-p (function).
numericals/transcendental/implnumericals/basic-math/impl.
numericals/utils/impl.
peltadot.
two-arg-fn/float (compiler macro).
with-thresholded-multithreading (macro).
with-thresholded-multithreading/cl (macro).
numericals/basic-utilsalexandria.
common-lisp.
*array-element-type* (special variable).
*array-element-type-alist* (special variable).
*array-layout* (special variable).
*broadcast-automatically* (special variable).
*default-float-format* (special variable).
*inline-with-multithreading* (special variable).
*multithreaded-threshold* (special variable).
array-layout (function).
array-storage (function).
array-stride (function).
array-type-element-type (function).
cl-array-offset (function).
default-element-type (symbol macro).
narray-dimensions (function).
package-local-element-type (symbol macro).
size (type).
numericals/linalgnumericals/utils/impl.
peltadot.
cholesky (compiler macro).
det (compiler macro).
eigvals (compiler macro).
eigvecs (compiler macro).
inv (compiler macro).
lu (compiler macro).
norm2 (compiler macro).
pinv (compiler macro).
qr (compiler macro).
rank (compiler macro).
solve (compiler macro).
svd (compiler macro).
vdot (compiler macro).
eigen-array-layout (function).
fixnum-dot (function).
float-close-p (function).
float-type-from-complex-type (function).
parametric-type-symbol-p (function).
numericals/utilsnumericals/basic-utils.
peltadot.
aref* (function).
array= (compiler macro).
array= (function).
asarray (compiler macro).
broadcast-array (function).
concat (compiler macro).
do-arrays (macro).
empty (compiler macro).
empty (function).
empty-like (function).
fill (function).
full (function).
full-like (function).
incompatible-broadcast-dimensions (condition).
int16 (type).
int64 (type).
int8 (type).
macro-map-array (macro).
ones (compiler macro).
ones (function).
ones-like (function).
rand (function).
rand-like (function).
reshape (function).
runtime-array-allocation (condition).
shape (function).
transpose (function).
uint32 (type).
zeros (compiler macro).
zeros (function).
zeros-like (function).
numericals/utils/implnumericals/basic-utils.
numericals/common.
numericals/utils.
peltadot.
%broadcast-compatible-p (function).
broadcast-compatible-p (function).
c-name (compiler macro).
c-name (function).
c-size (compiler macro).
c-size (function).
c-type (compiler macro).
c-type (function).
cl-name (compiler macro).
cl-name (function).
define-c-translation (macro).
defun* (macro).
do-with-broadcasting (macro).
double-float-c-name (compiler macro).
double-float-c-name (function).
int-index (type).
lm (macro).
out-shape (compiler macro).
out-shape-compatible-p (compiler macro).
ptr-iterate-but-inner (macro).
pushnew-c-translations (function).
single-float-c-name (compiler macro).
single-float-c-name (function).
size (type).
the-int-index (macro).
the-size (macro).
with-simple-array-broadcast (macro).
*translation-table* (special variable).
aref-applicable-p (function).
array-likes (slot).
condition-array-likes (generic reader).
condition-dimensions (generic reader).
dimensions (slot).
ensure-row-major-layout (macro).
fixnum-c-name (compiler macro).
fixnum-c-name (function).
fixnump (function).
int16-c-name (compiler macro).
int16-c-name (function).
int32 (type).
int32-c-name (compiler macro).
int32-c-name (function).
int64-c-name (compiler macro).
int64-c-name (function).
int8-c-name (compiler macro).
int8-c-name (function).
normalize-index (function).
out-shape-for-concat (function).
parametric-type-symbol-p (function).
split-at-keywords (function).
strides (function).
strides-for-broadcast (function).
uint16-c-name (compiler macro).
uint16-c-name (function).
uint32-c-name (compiler macro).
uint32-c-name (function).
uint64-c-name (compiler macro).
uint64-c-name (function).
uint8-c-name (compiler macro).
uint8-c-name (function).
numericals/transcendentalacos (compiler macro).
acos! (compiler macro).
acosh (compiler macro).
acosh! (compiler macro).
asin (compiler macro).
asin! (compiler macro).
asinh (compiler macro).
asinh! (compiler macro).
atan (compiler macro).
atanh (compiler macro).
atanh! (compiler macro).
cos (compiler macro).
cos! (compiler macro).
cosh (compiler macro).
cosh! (compiler macro).
exp (compiler macro).
exp! (compiler macro).
expt (compiler macro).
expt! (compiler macro).
log (compiler macro).
sin (compiler macro).
sin! (compiler macro).
sinh (compiler macro).
sinh! (compiler macro).
sqrt (compiler macro).
tan (compiler macro).
tan! (compiler macro).
tanh (compiler macro).
tanh! (compiler macro).
atan2 (compiler macro).
numericals/basic-math/implnumericals/utils/impl.
peltadot.
+one-arg-fn-float-doc+ (constant).
one-arg-fn/float (compiler macro).
+fixnum-shift-pointer+ (special variable).
+logical-doc+ (constant).
+one-arg-fn-all-doc+ (constant).
+optimized-types+ (constant).
arg-is-not-array (condition).
arg-out-type-mismatch (condition).
array-type-is-unoptimized (condition).
bad-position-for-out (condition).
condition-arg (generic reader).
condition-arg-type (generic reader).
condition-args (generic reader).
condition-out (generic reader).
condition-out-type (generic reader).
condition-type (generic reader).
define-splice-list-fn (macro).
fixnum-dot (function).
fixnum-hmax (function).
fixnum-hmin (function).
fixnum-mul (function).
fixnum-sum (function).
normalize-arguments/bitwise (function).
normalize-arguments/cmp (function).
normalize-arguments/dmas (function).
one-arg-fn/all (compiler macro).
out-unknown-at-compile-time (condition).
parametric-type-symbol-p (function).
test-copy (function).
two-arg-fn/comparison (compiler macro).
two-arg-fn/logical (compiler macro).
two-arg-fn/non-comparison (compiler macro).
numericals/basic-mathVectorized basic math functionality for CL:ARRAY
* (compiler macro).
* (function).
+ (compiler macro).
+ (function).
- (compiler macro).
- (function).
/ (compiler macro).
/ (function).
/= (function).
< (function).
<= (function).
= (function).
> (function).
>= (function).
abs (compiler macro).
abs! (compiler macro).
add (compiler macro).
add (function).
add! (compiler macro).
arg-maximum (compiler macro).
arg-minimum (compiler macro).
astype (compiler macro).
copy (compiler macro).
divide (compiler macro).
divide (function).
divide! (compiler macro).
fceiling (compiler macro).
fceiling (function).
fceiling! (compiler macro).
ffloor (compiler macro).
ffloor (function).
ffloor! (compiler macro).
fround (compiler macro).
fround (function).
fround! (compiler macro).
ftruncate (compiler macro).
ftruncate (function).
ftruncate! (compiler macro).
logand (function).
logior (function).
lognot (compiler macro).
logxor (function).
maximum (compiler macro).
minimum (compiler macro).
multiply (compiler macro).
multiply (function).
multiply! (compiler macro).
subtract (compiler macro).
subtract (function).
subtract! (compiler macro).
sum (compiler macro).
two-arg-/= (compiler macro).
two-arg-/= (function).
two-arg-< (compiler macro).
two-arg-< (function).
two-arg-<= (compiler macro).
two-arg-<= (function).
two-arg-= (compiler macro).
two-arg-= (function).
two-arg-> (compiler macro).
two-arg-> (function).
two-arg->= (compiler macro).
two-arg->= (function).
two-arg-logand (compiler macro).
two-arg-logand (function).
two-arg-logior (compiler macro).
two-arg-logior (function).
two-arg-logxor (compiler macro).
two-arg-logxor (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
If bound, this is the default value of the ELEMENT-TYPE or TYPE argument.
Overrides *ARRAY-ELEMENT-TYPE-ALIST*.
Is overriden by explicitly passing an ELEMENT-TYPE or TYPE argument.
An ALIST mapping package to the default element-type used in that package.
(Inspired from SWANK:*READTABLE-ALIST*)
Overrides none.
Is overriden by *ARRAY-ELEMENT-TYPE* when bound, or by explicitly passing an
ELEMENT-TYPE or TYPE argument.
Dummy variable provided so that code written for NUMERICALS may be easily upgradeable to DENSE-NUMERICALS
If non-NIL, operations automatically perform broadcasting as necessary. If NIL, broadcasting is expected to be performed by the user. Such strictness can be helpful to locate bugs.
Used for converting non-float arrays to float arrays for floating-point operations like trigonometric functions.
Inlining is usually necessary for smaller arrays; for such arrays multithreading
becomes unnecessary. If this parameter is non-NIL, code using multithreading
would be emitted; otherwise, the code would be skipped.
This is only relevant for transcendental functions which uses lparallel for multithreading.
The lower bound of the array size beyond which LPARALLEL is used for distributing
[transcendental] operations across multiple threads.
NOTE: It is not defined if this bound is inclusive or exclusive.
Defines translation from lisp-name to the corresponding C functions.
These can be accessed by the C-NAME function.
SB : signed-byte
UB: unsigned-byte
Each element of BINDINGS is of the form (VAR ARRAY-EXPR &OPTIONAL ELEMENT-TYPE)
Each bindings is of the form (ELT-VAR ARRAY-EXPR &OPTIONAL ELT-TYPE).
Each bindings is of the form (PTR-VAR ELT-SIZE INNER-STRIDE-VAR ARRAY-EXPR).
OPERATOR should be a symbol bound to a function which takes
the following positional arguments:
size of the first array after it is reduced to the appropriate rank,
in succession, a pointer to an array, and dimensions of the reduced array, for each of the array
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
Returns two values:
The first value is a generalized boolean indicating whether the two dimensions are broadcast compatible.
The second value is the dimensions of the array resulting from the broadcast.
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
LAMBDA-LIST: (ARRAY-LIKES &KEY OUT)
Accessor function for arrays with semantics similar to numpy’s indexing semantics.
See https://numpy.org/doc/stable/user/basics.indexing.html
[Enhanced] Lambda List: (array &rest subscripts &key out)
Each element of SUBSCRIPTS can be
- either an integer denoting the position within the axis which is to be indexed
- or a list of the form (&OPTIONAL START &KEY END STEP) with each of START END
STEP being integers if supplied. START denotes the start position within the
axis, END denotes the ending position within the axis, STEP denotes at what
distance within the axis the next element should come after the previous,
starting from START
Each of the SUBSCRIPTS, START, END, STEP can also be negative integers, in which
case the last element along the axis is given the index -1, the second last is
given the index -2 and so on. Thus, ‘(aref ... ’(-1 :step -1))‘ can reverse a one
dimensional array.
Like, CL:AREF or ABSTRACT-ARRAYS:AREF, returns the element corresponding to SUBSCRIPTS
if all the subscripts are integers and there as many subscripts
as the rank of the array.
The performance of this function is slightly different for ‘cl:array‘ compared
to ‘dense-arrays:array‘. In particular, numpy-like indexing requires
multidimensional offsets. ‘cl:array‘ only have a single dimensional offset,
thus, when using ‘aref*‘ a copy of the ‘cl:array‘ is created. The copy may be
made into a preallocated array supplied using the ‘:out‘ keyword argument. In
contrast, because ‘dense-arrays:array‘ support multidimensional offsets and
strides, merely a wrapper object (a "view") is created. A view is a window
into the original array and thus avoids copying the elements of the original
array. This occurs when the number (aka length) of SUBSCRIPTS were less than the
array’s rank, or if some of the SUBSCRIPTS were lists described above.
Examples illustrating the numpy-equivalent indexes:
a[::] (aref a nil)
a[::2] (aref a ’(0 :step 2))
a[3, ::-1] (aref a 3 ’(-1 :step -1))
a[3::, -1] (aref a ’(3) -1)
The SUBSCRIPTS can also be integer or boolean arrays, denoting which elements
to select from each of the axes. But in this case the corresponding elements
of the array are copied over into a new array.
Returns two values:
The first value is a generalized boolean indicating whether the dimensions can be broadcasted.
The second value is the dimension of the array resulting from the broadcast.
ARGS: (&rest array-dimensions &key (type default-element-type))
Examples:
(empty 2 3)
(empty ’(5 5))
(empty 3 3 :type ’fixnum)
Fill each location in ARRAY with VALUE
Lambda List: (shape &key value (type default-element-type))
ARGS: (&rest array-dimensions &key (type default-element-type))
Examples:
(ones 2 3)
(ones ’(5 5))
(ones 3 3 :type ’fixnum)
Each element of the ALIST should be
(LISP-NAME &REST C-NAMES)
The order of C names should be the same as for DEFINE-C-TRANSLATION
Lambda List: (shape &key (type default-element-type) (min 0) (max 1))
See https://numpy.org/doc/stable/reference/generated/numpy.transpose.html
ARGS: (&rest array-dimensions &key (type default-element-type))
Examples:
(zeros 2 3)
(zeros ’(5 5))
(zeros 3 3 :type ’fixnum)
suboptimal-polymorph-note.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
pf-compiler-macro.
Example: (1 2 3 :a 2 :b 3) => ((1 2 3) :a 2 :b 3)
arg-is-not-array)) ¶arg.
arg-out-type-mismatch)) ¶arg.
arg-is-not-array)) ¶arg-out-type-mismatch)) ¶bad-position-for-out)) ¶args.
out-unknown-at-compile-time)) ¶args.
incompatible-broadcast-dimensions)) ¶incompatible-broadcast-dimensions)) ¶arg-out-type-mismatch)) ¶out.
arg-out-type-mismatch)) ¶array-type-is-unoptimized)) ¶type.
optimization-failure-note.
:arg
This slot is read-only.
:arg-type
This slot is read-only.
:out
This slot is read-only.
:out-type
This slot is read-only.
optimization-failure-note.
peltadot/types-core.
:type
This slot is read-only.
optimization-failure-note.
:args
This slot is read-only.
optimization-failure-note.
:args
This slot is read-only.
| Jump to: | %
*
+
-
/
<
=
>
A B C D E F G I L M N O P Q R S T U V W Z |
|---|
| Jump to: | %
*
+
-
/
<
=
>
A B C D E F G I L M N O P Q R S T U V W Z |
|---|
| Jump to: | *
+
A C D O P S T |
|---|
| Jump to: | *
+
A C D O P S T |
|---|
| Jump to: | A B C D E F G I L M N O P Q R S T U V |
|---|
| Jump to: | A B C D E F G I L M N O P Q R S T U V |
|---|