Liking cljdoc? Tell your friends :D

sicmutils.numsymb

Implementations of the generic operations for numeric types that have optimizations available, and for the general symbolic case.

Implementations of the generic operations for numeric types that have
optimizations available, and for the general symbolic case.
raw docstring

*incremental-simplifier*clj/s

When bound to a simplifier (a function from symbolic expression => symbolic expression), this simplifier will be called after every operation performed on sicmutils.abstract.number instances.

nil by default.

When bound to a simplifier (a function from symbolic expression =>
symbolic expression), this simplifier will be called after every operation
performed on `sicmutils.abstract.number` instances.

`nil` by default.
sourceraw docstring

arctan?clj/s

source

derivative?clj/s

source

dot-productclj/s

(dot-product z1 z2)

Returns the symbolic dot product of the two supplied numbers z1 and z2.

If both are numbers, defers to sicmutils.generic/dot-product. Else, returns

$$\Re(z_1)\Re(z_2) + \Im(z_1)\Im(z_2)$$

Returns the symbolic dot product of the two supplied numbers `z1` and `z2`.

If both are numbers, defers to [[sicmutils.generic/dot-product]]. Else,
returns

$$\Re(z_1)\Re(z_2) + \Im(z_1)\Im(z_2)$$
sourceraw docstring

expt?clj/s

source

iterated-derivative?clj/s

(iterated-derivative? expr)
source

operandsclj/s

source

operatorclj/s

source

product?clj/s

source

quotient?clj/s

source

sqrtclj/s

Square root implementation that attempts to preserve exact numbers wherever possible. If the incoming value is not exact, simply computes sqrt.

Square root implementation that attempts to preserve exact numbers wherever
possible. If the incoming value is not exact, simply computes sqrt.
sourceraw docstring

sqrt?clj/s

source

sum?clj/s

source

symbolic-operatorclj/s

(symbolic-operator s)

Given a symbol (like '+) returns an applicable operator if there is a corresponding symbolic operator construction available.

Given a symbol (like `'+`) returns an applicable operator if there is a
corresponding symbolic operator construction available.
sourceraw docstring

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

× close