antik:5bfba33eb1efbf0cd578b6170447a9a28ebcfb06 commitshttps://gitlab.common-lisp.net/svillemot/antik/-/commits/5bfba33eb1efbf0cd578b6170447a9a28ebcfb062011-12-02T15:58:41-05:00https://gitlab.common-lisp.net/svillemot/antik/-/commit/5bfba33eb1efbf0cd578b6170447a9a28ebcfb06Comparison functions with more than two arguments2011-12-02T15:58:41-05:00Liam M. Healylnp@healy.washington.dc.us
The generic functions for comparison (<, >, etc.) have been renamed to
have an "i" at the end, e.g. "<i". A regular function has been
defined for each that applies the generic function to each adjacent
pair to determine the truth of the set.https://gitlab.common-lisp.net/svillemot/antik/-/commit/5fabe0c0f3dabc553aec5810439679577bfa9e49Relocation generic math functions and methods2011-09-09T23:07:03-04:00Liam M. Healylhealy@common-lisp.net
The definition of generic math functions (addition, multiplication,
etc.) has been moved from grid/generic.lisp to init/generic.lisp, and
so is loaded before grid is loaded, with the methods that use grid
functions moved to grid/functions.lisp. This eliminates two warnings
that were appearing in compilation.https://gitlab.common-lisp.net/svillemot/antik/-/commit/485b39e686718667260881d4245fe9f07602b48aAdd two arguments to atan2011-06-03T10:17:47-04:00Liam M. Healylnp@healy.washington.dc.us
New arguments default and zero-enough to handle case where arctangent
is undefined; if both numerator and denominator are essentially zero
(that is, absolute value less than zero-enough), then return default.https://gitlab.common-lisp.net/svillemot/antik/-/commit/7a3c03e1bf86ca266bff6c6b96e8670a4f416e2fMake (zerop nil) => NIL; export nf-readably2011-03-27T16:41:27-04:00Liam M. Healylhealy@common-lisp.nethttps://gitlab.common-lisp.net/svillemot/antik/-/commit/04b5fef44e717cc30f91396d66f5be850f38aa3bFix incorrect function call in -i t t method2011-03-26T18:13:04-04:00Liam M. Healylhealy@common-lisp.nethttps://gitlab.common-lisp.net/svillemot/antik/-/commit/547719dbd519b0a178217ce5086ed005e948ab50Add hyperbolic trigonometric functions sinh, cosh, tanh2011-03-23T12:26:31-04:00Liam M. Healylnp@healy.washington.dc.ushttps://gitlab.common-lisp.net/svillemot/antik/-/commit/b47cb8b1073a3e7c9175d9044780e110c5ad6c86Grids cannot be scalars in operations with sequences2011-02-21T19:59:06-05:00Liam M. Healylhealy@common-lisp.net
When performing a mathematical operation with a sequence and a
non-sequence, the sequence cannot be a grid. Checking for this
requires relocating generic.lisp with the generic mathematics
definitions to a place in which it will be loaded after grid:gridp is
defined.https://gitlab.common-lisp.net/svillemot/antik/-/commit/a038eb564262071a283ca5f9f23051ec57755c44Move funcall-dyadic2011-02-15T21:35:01-05:00Liam M. Healylhealy@common-lisp.net
Move #'funcall-dyadic to a new file physical-quantities/funcall.lisp
so that it can use gird:grid and grid:gridp, which aren't defined
where it is called, in generic.lisp.https://gitlab.common-lisp.net/svillemot/antik/-/commit/77e61dbe67a79a94328a24adb4de41892779a006Dyadic functions with pq-grid arguments2011-02-13T23:04:51-05:00Liam M. Healylhealy@common-lisp.net
Fixed funcall-dyadic, which is used by basic arithmetic functions like
#'*i, for cases where one or both arguments is a pq-grid. In that
case, the units are simply removed. This is not as good as restoring
the proper units after the calculation completes, but it is a step
towards that goal. New type 'grid:grid.https://gitlab.common-lisp.net/svillemot/antik/-/commit/0a80c2e5ac7fbde33afcf5cafff9da81bc86f50aAvoid infinite recursion in antik:coerce2011-01-18T23:01:55-05:00Liam M. Healylhealy@common-lisp.nethttps://gitlab.common-lisp.net/svillemot/antik/-/commit/f022b844edb440853a62f103d719b218e6d7cecbMathematical functions on grids2011-01-03T22:56:49-05:00Liam M. Healylhealy@common-lisp.net
Define monadic and dyadic with scalar functions on grids. In some
cases, the same result is available for foreign-arrays using GSLL, but
these definitions apply to all grids. Improved formatting in "plain"
style for 2D arrays; does not define ends of rows and columns but also
does not inject TeXisms.https://gitlab.common-lisp.net/svillemot/antik/-/commit/043a16fd5e99ddb30a14cf08df37769956bd25b8Physical quantities with grids2011-01-02T19:11:36-05:00Liam M. Healylhealy@common-lisp.net
Start implementation of physical quantities with grid magnitudes.
Compiles and loads cleanly but mostly non-functional or only
accidentally functional.https://gitlab.common-lisp.net/svillemot/antik/-/commit/1b3c3543e112f0c707706cf4bd8829883f8d93b1Add utility definitions, port more physical-quantities files2010-12-25T12:51:39-05:00Liam M. Healylhealy@common-lisp.nethttps://gitlab.common-lisp.net/svillemot/antik/-/commit/9324e05ed40a30a20d519a066cfcf0bc703a6942Define math functions2010-12-24T13:41:45-05:00Liam M. Healylhealy@common-lisp.net
Define generic simple math functions that have definitions for numbers
in CL, like #'+, #'cos, etc. These call the CL function if the
argument(s) are numbers, but method(s) may be defined for non-numbers
different objects. Define a package antik-user which will import
symbols from antik and other packages, but will be left to the user
for other definitions. Add copyright and license notice.