Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

sicmutils.env

The purpose of these definitions is to let the import of sicmutils.env bring all the functions in the book into scope without qualification, so you can just start working with examples.

The purpose of these definitions is to let the import of sicmutils.env
bring all the functions in the book into scope without qualification,
so you can just start working with examples.
raw docstring

*clj/s≠

clj
(* & args)
cljs
source (clj)source (cljs)

+clj/s≠

clj
(+ & args)
cljs
source (clj)source (cljs)

-clj/s≠

clj
(- & args)
cljs
source (clj)source (cljs)

->infixclj/s≠

clj

Converts an S-expression to printable infix form. Numeric exponents are written as superscripts. Partial derivatives get subscripts.

Converts an S-expression to printable infix form. Numeric exponents are
written as superscripts. Partial derivatives get subscripts.
source (clj)source (cljs)raw docstring

/clj/s≠

clj
(/ & args)
cljs
source (clj)source (cljs)

absclj/s≠multimethod

clj

generic abs

generic abs
source (clj)source (cljs)raw docstring

acosclj/s≠multimethod

clj

generic acos

generic acos
source (clj)source (cljs)raw docstring

alternate-anglesclj/s

source (clj)source (cljs)

angleclj/s≠

clj
(angle a)
cljs
source (clj)source (cljs)

asinclj/s≠multimethod

clj

generic asin

generic asin
source (clj)source (cljs)raw docstring

atanclj/s≠multimethod

clj

generic atan

generic atan
source (clj)source (cljs)raw docstring

basis->basis-over-mapclj/s≠

clj
(basis->basis-over-map mu:N->M basis-on-M)
cljs
source (clj)source (cljs)

basis->oneform-basisclj/s≠

clj
(basis->oneform-basis b)

Extract the dual basis from the given basis object.

Extract the dual basis from the given basis object.
cljs
source (clj)source (cljs)raw docstring

basis->vector-basisclj/s≠

clj
(basis->vector-basis b)

Extract the vector basis from the given basis object.

Extract the vector basis from the given basis object.
cljs
source (clj)source (cljs)raw docstring

bootstrap-repl!cljmacro

(bootstrap-repl!)

Bootstraps a repl or Clojure namespace by requiring all public vars from sicmutils.env. From (This will only work at a repl in Clojurescript.)

Bootstraps a repl or Clojure namespace by requiring all public vars from
sicmutils.env. From (This will only work at a repl in Clojurescript.)
sourceraw docstring

Cartan-transformclj/s≠

clj
(Cartan-transform cartan basis-prime)
cljs
source (clj)source (cljs)

chartclj/s≠

clj
(chart coordinate-system)
cljs
source (clj)source (cljs)

Christoffel->Cartanclj/s≠

clj
(Christoffel->Cartan Christoffel)
cljs
source (clj)source (cljs)

column-matrixclj/s

source

commutatorclj/s≠

clj
(commutator o p)
cljs
source (clj)source (cljs)

compatible-shapeclj/s≠

clj
(compatible-shape s)

Return an object compatible for multiplication with the given one, with the slots filled with gensyms.

Return an object compatible for multiplication with the given one, with
the slots filled with gensyms.
cljs
source (clj)source (cljs)raw docstring

complexclj/s≠

clj
(complex re)
(complex re im)

Construct a complex number from real, or real and imaginary, components.

Construct a complex number from real, or real and imaginary, components.
cljs
source (clj)source (cljs)raw docstring

componentclj/s≠

clj
(component & indices)

Given an access chain (a sequence of indices), return a function of structures that will retrieve that corresponding element.

Given an access chain (a sequence of indices), return a function of
structures that will retrieve that corresponding element.
cljs
source (clj)source (cljs)raw docstring

components->oneform-fieldclj/s≠

clj
(components->oneform-field components coordinate-system & [name])
cljs
source (clj)source (cljs)

components->vector-fieldclj/s≠

clj
(components->vector-field components coordinate-system & [name])
cljs
source (clj)source (cljs)

composeclj/s≠

clj
(compose & fns)

Compose is like Clojure's standard comp, but for this system we like to know the arity of our functions, so that we can calculate their derivatives with structure, etc. The arity of a composition is simply the arity of its rightmost (that is, first to be applied) function term.

Compose is like Clojure's standard comp, but for this system we
like to know the arity of our functions, so that we can calculate
their derivatives with structure, etc. The arity of a composition is
simply the arity of its rightmost (that is, first to be applied)
function term.
cljs
source (clj)source (cljs)raw docstring

compositional-canonical?clj/s≠

clj
(compositional-canonical? C H)

p.324

p.324
cljs
source (clj)source (cljs)raw docstring

conjugateclj/s≠

clj
(conjugate a)
cljs
source (clj)source (cljs)

coordinateclj/s≠

clj
(coordinate local)

A convenience function on local tuples. A local tuple describes the state of a system at a particular time: [t, q, D q, D^2 q] representing time, position, velocity (and optionally acceleration etc.) Returns the q element, which is expected to be a mapping from time to a structure of coordinates

A convenience function on local tuples. A local tuple describes
the state of a system at a particular time: [t, q, D q, D^2 q]
representing time, position, velocity (and optionally acceleration
etc.) Returns the q element, which is expected to be a mapping
from time to a structure of coordinates
cljs
source (clj)source (cljs)raw docstring

coordinate-system->basisclj/s≠

clj
(coordinate-system->basis coordinate-system)

Return the standard basis object for the coordinate system.

Return the standard basis object for the coordinate system.
cljs
source (clj)source (cljs)raw docstring

coordinate-system->oneform-basisclj/s≠

clj
(coordinate-system->oneform-basis coordinate-system)
cljs
source (clj)source (cljs)

coordinate-system->vector-basisclj/s≠

clj
(coordinate-system->vector-basis coordinate-system)
cljs
source (clj)source (cljs)

coordinate-tupleclj/s≠

clj
(coordinate-tuple & xs)
cljs
source (clj)source (cljs)

coordinatizeclj/s≠

clj
(coordinatize v coordinate-system)
cljs
source (clj)source (cljs)

cosclj/s≠multimethod

clj

generic cos

generic cos
source (clj)source (cljs)raw docstring

cotclj/s

source

covariant-derivativeclj/s≠

clj
(covariant-derivative Cartan)
(covariant-derivative Cartan map)
cljs
source (clj)source (cljs)

cross-productclj/s≠multimethod

clj

generic cross-product

generic cross-product
source (clj)source (cljs)raw docstring

cscclj/s

source

cubeclj/s≠multimethod

clj

generic cube

generic cube
source (clj)source (cljs)raw docstring

Dclj/s≠

clj

Derivative operator. Produces a function whose value at some point can multiply an increment in the arguments, to produce the best linear estimate of the increment in the function value.

Derivative operator. Produces a function whose value at some point can
multiply an increment in the arguments, to produce the best linear estimate
of the increment in the function value.
source (clj)source (cljs)raw docstring

definite-integralclj/s≠

clj
(definite-integral f a b)
(definite-integral f
                   a
                   b
                   {:keys [method compile? info?]
                    :or {method :open compile? false info? false}
                    :as opts})

Evaluates the definite integral of integrand f across the interval $a, b$. Optionally accepts a dictionary opts of customizing options; All opts will be passed through to the supplied integrate functions.

If you'd like more control, or to retrieve the integration function directly without looking it up via :method each time, see get-integrator.

All supplied options are passed through to the underlying integrator; see the specific integrator for information on what options are available.

Keyword arguments:

:method: Specifies the integration method used. Must be

  • a keyword naming one of the available methods in available-methods
  • a function with the proper integrator signature
  • a dictionary of integrator options with a :method key

Defaults to :open, which specifies an adaptive bulirsch-stoer quadrature method.

:compile? If true, the generic function will be simplified and compiled before execution. (Clojure only for now.) Defaults to false.

:info? If true, definite-integral will return a map of integration information returned by the underlying integrator. Else, returns an estimate of the definite integral.

Evaluates the definite integral of integrand `f` across the interval $a, b$.
Optionally accepts a dictionary `opts` of customizing options; All `opts` will
be passed through to the supplied `integrate` functions.

If you'd like more control, or to retrieve the integration function directly
without looking it up via `:method` each time, see `get-integrator`.

All supplied options are passed through to the underlying integrator; see the
specific integrator for information on what options are available.

## Keyword arguments:

`:method`: Specifies the integration method used. Must be

- a keyword naming one of the available methods in `available-methods`
- a function with the proper integrator signature
- a dictionary of integrator options with a `:method` key

Defaults to `:open`, which specifies an adaptive bulirsch-stoer quadrature method.

`:compile?` If true, the generic function will be simplified and compiled
before execution. (Clojure only for now.) Defaults to false.

`:info?` If true, `definite-integral` will return a map of integration
information returned by the underlying integrator. Else, returns an estimate
of the definite integral.
cljs
source (clj)source (cljs)raw docstring

determinantclj/s≠multimethod

clj

generic determinant

generic determinant
source (clj)source (cljs)raw docstring

differentialclj/s≠

clj
(differential mu:N->M)

FDG p.72

FDG p.72
cljs
source (clj)source (cljs)raw docstring

downclj/s≠

clj
(down & xs)

Construct a down (covariant) tuple from the arguments.

Construct a down (covariant) tuple from the arguments.
cljs
source (clj)source (cljs)raw docstring

elliptic-fclj/s≠

clj
(elliptic-f phi k)
cljs
source (clj)source (cljs)

Euler-anglesclj/s

source (clj)source (cljs)

Euler-Lagrange-operatorclj/s≠

clj
(Euler-Lagrange-operator L)
cljs
source (clj)source (cljs)

evolutionclj/s≠

clj
(evolution order)

We can use the coordinatized vector field to build an evolution along an integral curve.

We can use the coordinatized vector field to build an evolution along an
integral curve.
cljs
source (clj)source (cljs)raw docstring

evolveclj/s≠

clj
(evolve state-derivative & state-derivative-args)

evolve takes a state derivative function constructor and its arguments, and returns an integrator via make-integrator.

In particular, the returned function accepts a callback function which will be invoked at intermediate grid points of the integration.

evolve takes a state derivative function constructor and its arguments, and
returns an integrator via make-integrator.

In particular, the returned function accepts a callback function which will be
invoked at intermediate grid points of the integration.
cljs
source (clj)source (cljs)raw docstring

expclj/s≠multimethod

clj

generic exp

generic exp
source (clj)source (cljs)raw docstring

exptclj/s≠multimethod

clj

generic expt

generic expt
source (clj)source (cljs)raw docstring

F->Cclj/s≠

clj
(F->C F)
cljs
source (clj)source (cljs)

F->CTclj/s≠

clj
(F->CT F)

A transformation of configuration coordinates F to a procedure implementing a transformation of phase-space coordinates (p. 320)

A transformation of configuration coordinates F to a procedure
implementing a transformation of phase-space coordinates (p. 320)
cljs
source (clj)source (cljs)raw docstring

find-pathclj/s≠

clj
(find-path Lagrangian t0 q0 t1 q1 n & {:keys [observe]})

SICM p. 23. The optional parameter values is a callback which will report intermediate points of the minimization.

SICM p. 23. The optional parameter values is a callback which will report
intermediate points of the minimization.
cljs
source (clj)source (cljs)raw docstring

form-field->form-field-over-mapclj/s≠

clj
(form-field->form-field-over-map mu:N->M)
cljs
source (clj)source (cljs)

Gammaclj/s≠

clj
(Gamma q)
(Gamma q n)

Gamma takes a path function (from time to coordinates) to a state function (from time to local tuple).

Gamma takes a path function (from time to coordinates) to a state
function (from time to local tuple).
cljs
source (clj)source (cljs)raw docstring

Gamma-barclj/s≠

clj
(Gamma-bar f)
cljs
source (clj)source (cljs)

Hamilton-equationsclj/s≠

clj
(Hamilton-equations Hamiltonian)
cljs
source (clj)source (cljs)

Hamiltonianclj/s≠

clj
(Hamiltonian & n)

Return SICM-style function signature for a Hamiltonian with n degrees of freedom (or 1 if n is not given). Useful for constructing Hamiltonian literal functions.

Return SICM-style function signature for a Hamiltonian with n
degrees of freedom (or 1 if n is not given). Useful for constructing
Hamiltonian literal functions.
cljs
source (clj)source (cljs)raw docstring

Hamiltonian->state-derivativeclj/s≠

clj
(Hamiltonian->state-derivative Hamiltonian)
cljs
source (clj)source (cljs)

imag-partclj/s≠

clj
(imag-part a)
cljs
source (clj)source (cljs)

integrate-state-derivativeclj/s≠

clj
(integrate-state-derivative state-derivative
                            state-derivative-args
                            initial-state
                            t1
                            dt)

A wrapper for evolve, which is more convenient when you just want a vector of (time, state) pairs over the integration interval instead of having to deal with a callback. Integrates the supplied state derivative (and its argument package) from [0 to t1] in steps of size dt

A wrapper for evolve, which is more convenient when you just
want a vector of (time, state) pairs over the integration interval
instead of having to deal with a callback. Integrates the supplied
state derivative (and its argument package) from [0 to t1] in steps
of size dt
cljs
source (clj)source (cljs)raw docstring

interior-productclj/s≠

clj
(interior-product V)
cljs
source (clj)source (cljs)

invertclj/s≠multimethod

clj

generic invert

generic invert
source (clj)source (cljs)raw docstring

iterated-mapclj/s≠

clj
(iterated-map f n)

f is a function of (x y continue fail), which calls continue with the values of x' y' that follow x y in the mapping. Returns a map of the same shape that iterates the iterated map n times before invoking the continuation, or invokes the fail continuation if the inner map fails.

f is a function of (x y continue fail), which calls continue with
the values of x' y' that follow x y in the mapping. Returns a map of
the same shape that iterates the iterated map n times before
invoking the continuation, or invokes the fail continuation if the
inner map fails.
cljs
source (clj)source (cljs)raw docstring

Jacobianclj/s≠

clj
(Jacobian to-basis from-basis)

Compute the Jacobian of transition from from-basis to to-basis.

Compute the Jacobian of transition from from-basis to to-basis.
cljs
source (clj)source (cljs)raw docstring

Lagrange-equationsclj/s≠

clj
(Lagrange-equations Lagrangian)
cljs
source (clj)source (cljs)

Lagrange-equations-first-orderclj/s≠

clj
(Lagrange-equations-first-order L)
cljs
source (clj)source (cljs)

Lagrange-interpolation-functionclj/s≠

clj
(Lagrange-interpolation-function ys xs)
cljs
source (clj)source (cljs)

Lagrangian->energyclj/s≠

clj
(Lagrangian->energy L)
cljs
source (clj)source (cljs)

Lagrangian->Hamiltonianclj/s

source (clj)source (cljs)

Lagrangian->state-derivativeclj/s≠

clj
(Lagrangian->state-derivative L)

The state derivative of a Lagrangian is a function carrying a state tuple to its time derivative.

The state derivative of a Lagrangian is a function carrying a state
tuple to its time derivative.
cljs
source (clj)source (cljs)raw docstring

Lagrangian-actionclj/s≠

clj
(Lagrangian-action L q t1 t2)
cljs
source (clj)source (cljs)

Legendre-transformclj/s

source (clj)source (cljs)

let-coordinatescljmacro

(let-coordinates bindings & body)

Example: (let-coordinates [[x y] R2-rect [r theta] R2-polar] body...)

Example:
(let-coordinates [[x y] R2-rect
                  [r theta] R2-polar]
  body...)
sourceraw docstring

Lie-derivativeclj/s≠multimethod

clj

generic Lie-derivative

generic Lie-derivative
source (clj)source (cljs)raw docstring

Lie-transformclj/s≠

clj
(Lie-transform H t)

p. 428

p. 428
cljs
source (clj)source (cljs)raw docstring

linear-interpolantsclj/s≠

clj
(linear-interpolants x0 x1 n)
cljs
source (clj)source (cljs)

literal-functionclj/smacro

(literal-function f)
(literal-function f sicm-signature)
(literal-function f domain range)
source

literal-manifold-functionclj/s≠

clj
(literal-manifold-function name coordinate-system)
cljs
source (clj)source (cljs)

literal-manifold-mapclj/s≠

clj
(literal-manifold-map name source target)
cljs
source (clj)source (cljs)

literal-oneform-fieldclj/s≠

clj
(literal-oneform-field name coordinate-system)
cljs
source (clj)source (cljs)

literal-vector-fieldclj/s≠

clj
(literal-vector-field name coordinate-system)
cljs
source (clj)source (cljs)

logclj/s≠multimethod

clj

generic log

generic log
source (clj)source (cljs)raw docstring

m->sclj/s≠

clj
(m->s ls m rs)

Convert the matrix m into a structure S, guided by the requirement that (* ls S rs) should be a scalar

Convert the matrix m into a structure S, guided by the requirement that (* ls S rs)
should be a scalar
cljs
source (clj)source (cljs)raw docstring

m:dimensionclj/s

source

m:transposeclj/s

source

magnitudeclj/s≠multimethod

clj

generic magnitude

generic magnitude
source (clj)source (cljs)raw docstring

make-Christoffelclj/s≠

clj
(make-Christoffel symbols basis)
cljs
source (clj)source (cljs)

maprclj/s≠

clj
(mapr f & structures)

Return a structure with the same shape as s but with f applied to each primitive (that is, not structural) component.

Return a structure with the same shape as s but with f applied to
each primitive (that is, not structural) component.
cljs
source (clj)source (cljs)raw docstring

matrix-by-rowsclj/s

source

minimizeclj/s≠

clj
(minimize f a b)
(minimize f a b observe)

Find the minimum of the function f: R -> R in the interval [a,b]. If observe is supplied, will be invoked with the iteration count and the values of x and f(x) at each search step.

Find the minimum of the function f: R -> R in the interval [a,b]. If
observe is supplied, will be invoked with the iteration count and the
values of x and f(x) at each search step.
cljs
source (clj)source (cljs)raw docstring

momentumclj/s≠

clj
(momentum H-state)

See coordinate: this returns the momentum element of a Hammilton state tuple (by convention, the element at index 2).

See coordinate: this returns the momentum element of a
Hammilton state tuple (by convention, the element at index 2).
cljs
source (clj)source (cljs)raw docstring

momentum-tupleclj/s≠

clj
(momentum-tuple & ps)
cljs
source (clj)source (cljs)

negateclj/s≠multimethod

clj

generic negate

generic negate
source (clj)source (cljs)raw docstring

orientationclj/s≠

clj
(orientation s)

Return the orientation of s, either ::up or ::down.

Return the orientation of s, either ::up or ::down.
cljs
source (clj)source (cljs)raw docstring

osculating-pathclj/s≠

clj
(osculating-path state0)

Given a state tuple (of finite length), reconstitutes the initial segment of the Taylor series corresponding to the state tuple data as a function of t. Time is measured beginning at the point of time specified in the input state tuple.

Given a state tuple (of finite length), reconstitutes the initial
segment of the Taylor series corresponding to the state tuple data
as a function of t.  Time is measured beginning at the point of time
specified in the input state tuple.
cljs
source (clj)source (cljs)raw docstring

p->rclj/s≠

clj
(p->r [_ [r φ]])

SICM p. 47. Polar to rectangular coordinates of state.

SICM p. 47. Polar to rectangular coordinates of state.
cljs
source (clj)source (cljs)raw docstring

partialclj/s

(partial & selectors)

A shim. Dispatches to partial differentiation when all the arguments are integers; falls back to the core meaning (partial function application) otherwise.

A shim. Dispatches to partial differentiation when all the arguments
are integers; falls back to the core meaning (partial function application)
otherwise.
sourceraw docstring

piclj/s

source

pointclj/s≠

clj
(point coordinate-system)
cljs
source (clj)source (cljs)

Poisson-bracketclj/s≠

clj
(Poisson-bracket f g)
cljs
source (clj)source (cljs)

polar-canonicalclj/s≠

clj
(polar-canonical alpha)

p.327

p.327
cljs
source (clj)source (cljs)raw docstring

power-seriesclj/s

source

principal-valueclj/s

source

source

pullbackclj/s≠

clj
(pullback mu:N->M)
(pullback mu:N->M mu-inverse:M->N)
cljs
source (clj)source (cljs)

pushforward-vectorclj/s≠

clj
(pushforward-vector mu:N->M mu-inverse:M->N)
cljs
source (clj)source (cljs)

qp-submatrixclj/s

source

real-partclj/s≠

clj
(real-part a)
cljs
source (clj)source (cljs)

refclj/s

(ref a & as)

A shim so that ref can act like nth in SICM contexts, as clojure core ref elsewhere.

A shim so that ref can act like nth in SICM contexts, as clojure
core ref elsewhere.
sourceraw docstring

Rxclj/s≠

clj
(Rx α)

Returns a function which rotates a vector α radians about the x axis.

Returns a function which rotates a vector α radians about the x axis.
cljs
source (clj)source (cljs)raw docstring

Ryclj/s≠

clj
(Ry α)

Returns a function which rotates a vector α radians about the y axis.

Returns a function which rotates a vector α radians about the y axis.
cljs
source (clj)source (cljs)raw docstring

Rzclj/s≠

clj
(Rz α)

Returns a function which rotates a vector α radians about the z axis.

Returns a function which rotates a vector α radians about the z axis.
cljs
source (clj)source (cljs)raw docstring

s->mclj/s≠

clj
(s->m ls ms rs)

Convert the structure ms, which would be a scalar if the (compatible) multiplication (* ls ms rs) were performed, to a matrix.

Convert the structure ms, which would be a scalar if the (compatible) multiplication
(* ls ms rs) were performed, to a matrix.
cljs
source (clj)source (cljs)raw docstring

s->rclj/s≠

clj
(s->r [_ [r θ φ] _])

SICM p. 83

SICM p. 83
cljs
source (clj)source (cljs)raw docstring

S2-sphericalclj/s

source (clj)source (cljs)

S2-stereographicclj/s

source (clj)source (cljs)

secclj/s

source

seriesclj/s

source

series:sumclj/s

source

sicmutils-repl-initclj

(sicmutils-repl-init)
source

simplifyclj/smultimethod

source (clj)source (cljs)

sinclj/s≠multimethod

clj

generic sin

generic sin
source (clj)source (cljs)raw docstring

sqrtclj/s≠multimethod

clj

generic sqrt

generic sqrt
source (clj)source (cljs)raw docstring

squareclj/s≠multimethod

clj

generic square

generic square
source (clj)source (cljs)raw docstring

standard-mapclj/s≠

clj
(standard-map K)
cljs
source (clj)source (cljs)

state->tclj/s≠

clj
(state->t s)

Extract the time slot from a state tuple

Extract the time slot from a state tuple
cljs
source (clj)source (cljs)raw docstring

state-advancerclj/s≠

clj
(state-advancer state-derivative & state-derivative-args)

state-advancer takes a state derivative function constructor followed by the arguments to construct it with. The state derivative function is constructed and an integrator is produced which takes:

  • initial state
  • target time

as arguments. Optionally, supply an options map with these optional fields:

:compile?: If true, the ODE solver will compile your state function.

:epsilon: The maximum error tolerance allowed by the ODE solver, both relative and absolute.

Returns the final state.

The state derivative is expected to map a structure to a structure of the same shape, and is required to have the time parameter as the first element.

state-advancer takes a state derivative function constructor followed by the
arguments to construct it with. The state derivative function is constructed
and an integrator is produced which takes:

- initial state
- target time

as arguments. Optionally, supply an options map with these optional fields:

`:compile?`: If true, the ODE solver will compile your state function.

`:epsilon`: The maximum error tolerance allowed by the ODE solver, both
relative and absolute.

Returns the final state.

The state derivative is expected to map a structure to a structure of the same
shape, and is required to have the time parameter as the first element.
cljs
source (clj)source (cljs)raw docstring

structure->vectorclj/s≠

clj
(structure->vector s)

Return the structure in unoriented vector form.

Return the structure in unoriented vector form.
cljs
source (clj)source (cljs)raw docstring

structure?clj/s≠

clj
(structure? s)

True if s is a structure.

True if s is a structure.
cljs
source (clj)source (cljs)raw docstring

symplectic-transform?clj/s≠

clj
(symplectic-transform? C)

p. 334

p. 334
cljs
source (clj)source (cljs)raw docstring

symplectic-unitclj/s≠

clj
(symplectic-unit n)

p. 334 (used, but not defined there)

p. 334 (used, but not defined there)
cljs
source (clj)source (cljs)raw docstring

tanclj/s≠multimethod

clj

generic tan

generic tan
source (clj)source (cljs)raw docstring

tex$clj/s

(tex$ expr)

Render expression in a form convenient for rendering with clojupyter. In this case, we want the TeX material wrapped with dollar signs.

Render expression in a form convenient for rendering with clojupyter.
In this case, we want the TeX material wrapped with dollar signs.
sourceraw docstring

tex$$clj/s

(tex$$ expr)

Render expression in a form convenient for rendering with clojupyter. In this case, we want the TeX material wrapped with dollar signs.

Render expression in a form convenient for rendering with clojupyter.
In this case, we want the TeX material wrapped with dollar signs.
sourceraw docstring

time-independent-canonical?clj/s≠

clj
(time-independent-canonical? C)

p.326

p.326
cljs
source (clj)source (cljs)raw docstring

transposeclj/s≠multimethod

clj

generic transpose

generic transpose
source (clj)source (cljs)raw docstring

upclj/s≠

clj
(up & xs)

Construct an up (contravariant) tuple from the arguments.

Construct an up (contravariant) tuple from the arguments.
cljs
source (clj)source (cljs)raw docstring

up?clj/s≠

clj
(up? s)

True if s in an up structure.

True if s in an up structure.
cljs
source (clj)source (cljs)raw docstring

using-coordinatescljmacro

(using-coordinates coordinate-prototype coordinate-system & body)

Example: (using-coordinates (up x y) R2-rect body...)

Note: this is just a macro wrapping let-coordinates, the use of which is preferred.

Example:
  (using-coordinates (up x y) R2-rect
    body...)

Note: this is just a macro wrapping let-coordinates, the use of which is
preferred.
sourceraw docstring

vector->downclj/s≠

clj
(vector->down v)

Form a down-tuple from a vector.

Form a down-tuple from a vector.
cljs
source (clj)source (cljs)raw docstring

vector->upclj/s≠

clj
(vector->up v)

Form an up-tuple from a vector.

Form an up-tuple from a vector.
cljs
source (clj)source (cljs)raw docstring

vector-basis->dualclj/s≠

clj
(vector-basis->dual vector-basis coordinate-system)
cljs
source (clj)source (cljs)

vector-field->componentsclj/s≠

clj
(vector-field->components vf coordinate-system)
cljs
source (clj)source (cljs)

vector-field->vector-field-over-mapclj/s≠

clj
(vector-field->vector-field-over-map mu:N->M)

FDG p.72

FDG p.72
cljs
source (clj)source (cljs)raw docstring

velocityclj/s≠

clj
(velocity local)

See coordinate: this returns the velocity element of a local tuple (by convention, the 2nd element).

See coordinate: this returns the velocity element of a local
tuple (by convention, the 2nd element).
cljs
source (clj)source (cljs)raw docstring

velocity-tupleclj/s

source (clj)source (cljs)

wedgeclj/s≠

clj
(wedge & fs)
cljs
source (clj)source (cljs)

with-literal-functionsclj/smacro

(with-literal-functions & args)
source

zero?clj/s

source

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

× close