Liking cljdoc? Tell your friends :D

sicmutils.generic

The home of most of the SICMUtils extensible generic operations. The bulk of the others live in sicmutils.value.

See the Generics cljdocs for a detailed discussion of how to use and extend the generic operations defined in sicmutils.generic and sicmutils.value.

The home of most of the SICMUtils extensible generic operations. The bulk of
the others live in [[sicmutils.value]].

See [the `Generics`
cljdocs](https://cljdoc.org/d/sicmutils/sicmutils/CURRENT/doc/basics/generics)
for a detailed discussion of how to use and extend the generic operations
defined in [[sicmutils.generic]] and [[sicmutils.value]].
raw docstring

*clj/s

(* & args)
source

+clj/s

(+ & args)
source

-clj/s

(- & args)
source

/clj/s

(/ & args)
source

absclj/smultimethod

(abs a)

generic abs

generic abs
sourceraw docstring

acosclj/smultimethod

(acos a)

generic acos

generic acos
sourceraw docstring

acoshclj/smultimethod

(acosh a)

generic acosh

generic acosh
sourceraw docstring

addclj/smultimethod

(add a b)

generic add.

Returns the sum of arguments a and b.

See + for a variadic version of add.

generic add.

Returns the sum of arguments `a` and `b`.

See [[+]] for a variadic version of [[add]].
sourceraw docstring

angleclj/smultimethod

(angle a)

generic angle

generic angle
sourceraw docstring

asinclj/smultimethod

(asin a)

generic asin

generic asin
sourceraw docstring

asinhclj/smultimethod

(asinh a)

generic asinh

generic asinh
sourceraw docstring

atanclj/smultimethod

(atan a)
(atan a b)

generic atan

generic atan
sourceraw docstring

atanhclj/smultimethod

(atanh a)

generic atanh

generic atanh
sourceraw docstring

conjugateclj/smultimethod

(conjugate a)

generic conjugate

generic conjugate
sourceraw docstring

cosclj/smultimethod

(cos a)

generic cos

generic cos
sourceraw docstring

coshclj/smultimethod

(cosh a)

generic cosh

generic cosh
sourceraw docstring

cotclj/smultimethod

(cot a)

generic cot

generic cot
sourceraw docstring

cross-productclj/smultimethod

(cross-product a b)

generic cross-product

generic cross-product
sourceraw docstring

cscclj/smultimethod

(csc a)

generic csc

generic csc
sourceraw docstring

cschclj/smultimethod

(csch a)

generic csch

generic csch
sourceraw docstring

cubeclj/smultimethod

(cube a)

generic cube

generic cube
sourceraw docstring

determinantclj/smultimethod

(determinant a)

generic determinant

generic determinant
sourceraw docstring

dimensionclj/smultimethod

(dimension a)

generic dimension

generic dimension
sourceraw docstring

divclj/smultimethod

(div a b)

generic div

generic div
sourceraw docstring

divideclj/s

source

dot-productclj/smultimethod

(dot-product a b)

generic dot-product

generic dot-product
sourceraw docstring

exact-divideclj/smultimethod

(exact-divide a b)

generic exact-divide

generic exact-divide
sourceraw docstring

expclj/smultimethod

(exp a)

generic exp.

Returns the base-e exponential of x. Equivalent to (expt e x), given some properly-defined e symbol.

generic exp.

Returns the base-e exponential of `x`. Equivalent to `(expt e x)`, given
  some properly-defined `e` symbol.
sourceraw docstring

exp10clj/smultimethod

(exp10 a)

generic exp10.

Returns the base-10 exponential of x. Equivalent to (expt 10 x).

generic exp10.

Returns the base-10 exponential of `x`. Equivalent to `(expt 10 x)`.
sourceraw docstring

exp2clj/smultimethod

(exp2 a)

generic exp2.

Returns the base-2 exponential of x. Equivalent to (expt 2 x).

generic exp2.

Returns the base-2 exponential of `x`. Equivalent to `(expt 2 x)`.
sourceraw docstring

exptclj/smultimethod

(expt a b)

generic expt

generic expt
sourceraw docstring

factorialclj/s

(factorial n)

Returns the factorial of n, ie, the product of 1 to n inclusive.

Returns the factorial of `n`, ie, the product of 1 to n inclusive.
sourceraw docstring

gcdclj/smultimethod

(gcd a b)

generic gcd.

Returns the greatest common divisor of the two inputs a and b.

generic gcd.

Returns the [greatest common
  divisor](https://en.wikipedia.org/wiki/Greatest_common_divisor) of the two
  inputs `a` and `b`.
sourceraw docstring

imag-partclj/smultimethod

(imag-part a)

generic imag-part

generic imag-part
sourceraw docstring

inner-productclj/smultimethod

(inner-product a b)

generic inner-product

generic inner-product
sourceraw docstring

invertclj/smultimethod

(invert a)

generic invert

generic invert
sourceraw docstring

lcmclj/smultimethod

(lcm a b)

generic lcm.

Returns the least common multiple of the two inputs a and b.

generic lcm.

Returns the [least common
  multiple](https://en.wikipedia.org/wiki/Least_common_multiple) of the two
  inputs `a` and `b`.
sourceraw docstring

Lie-derivativeclj/smultimethod

(Lie-derivative a)

generic Lie-derivative

generic Lie-derivative
sourceraw docstring

logclj/smultimethod

(log a)

generic log.

Returns the natural logarithm of x.

generic log.

Returns the natural logarithm of `x`.
sourceraw docstring

log10clj/smultimethod

(log10 a)

generic log10.

Returns the base-10 logarithm of x, ie, $log_10(x)$.

generic log10.

Returns the base-10 logarithm of `x`, ie, $log_10(x)$.
sourceraw docstring

log2clj/smultimethod

(log2 a)

generic log2.

Returns the base-2 logarithm of x, ie, $log_2(x)$.

generic log2.

Returns the base-2 logarithm of `x`, ie, $log_2(x)$.
sourceraw docstring

magnitudeclj/smultimethod

(magnitude a)

generic magnitude

generic magnitude
sourceraw docstring

make-polarclj/smultimethod

(make-polar a b)

generic make-polar

generic make-polar
sourceraw docstring

make-rectangularclj/smultimethod

(make-rectangular a b)

generic make-rectangular

generic make-rectangular
sourceraw docstring

moduloclj/smultimethod

(modulo a b)

generic modulo

generic modulo
sourceraw docstring

mulclj/smultimethod

(mul a b)

generic mul.

Returns the product of a and b.

See * for a variadic version of mul.

generic mul.

Returns the product of `a` and `b`.

See [[*]] for a variadic version of [[mul]].
sourceraw docstring

negateclj/smultimethod

(negate a)

generic negate.

Returns the negation of a. Equivalent to ([[sub]] 0 a).

generic negate.

Returns the negation of `a`. Equivalent to `([[sub]] 0 a)`.
sourceraw docstring

negative?clj/smultimethod

(negative? a)

generic negative?.

Returns true if the argument a is less than ([[value/zero-like]] a), false otherwise. The default implementation depends on a proper Comparable implementation on the type.`

generic negative?.

Returns true if the argument `a` is less than `([[value/zero-like]] a)`,
  false otherwise. The default implementation depends on a proper Comparable
  implementation on the type.`
sourceraw docstring

outer-productclj/smultimethod

(outer-product a b)

generic outer-product

generic outer-product
sourceraw docstring

partial-derivativeclj/smultimethod

source

quotientclj/smultimethod

(quotient a b)

generic quotient

generic quotient
sourceraw docstring

real-partclj/smultimethod

(real-part a)

generic real-part

generic real-part
sourceraw docstring

remainderclj/smultimethod

(remainder a b)

generic remainder

generic remainder
sourceraw docstring

secclj/smultimethod

(sec a)

generic sec

generic sec
sourceraw docstring

sechclj/smultimethod

(sech a)

generic sech

generic sech
sourceraw docstring

simplifyclj/smultimethod

source

sinclj/smultimethod

(sin a)

generic sin

generic sin
sourceraw docstring

sinhclj/smultimethod

(sinh a)

generic sinh

generic sinh
sourceraw docstring

sqrtclj/smultimethod

(sqrt a)

generic sqrt

generic sqrt
sourceraw docstring

squareclj/smultimethod

(square a)

generic square

generic square
sourceraw docstring

subclj/smultimethod

(sub a b)

generic sub.

Returns the difference of a and b. Equivalent to ([[add]] a ([[negate]] b)).

See - for a variadic version of sub.

generic sub.

Returns the difference of `a` and `b`. Equivalent to `([[add]] a ([[negate]]
  b))`.

See [[-]] for a variadic version of [[sub]].
sourceraw docstring

tanclj/smultimethod

(tan a)

generic tan

generic tan
sourceraw docstring

tanhclj/smultimethod

(tanh a)

generic tanh

generic tanh
sourceraw docstring

traceclj/smultimethod

(trace a)

generic trace

generic trace
sourceraw docstring

transposeclj/smultimethod

(transpose a)

generic transpose

generic transpose
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close