Liking cljdoc? Tell your friends :D

emmy.calculus.indexed

This namespace implements minimal support for indexed objects and typed functions.

This namespace implements minimal support for indexed objects and typed
functions.
raw docstring

argument-typesclj/s

(argument-types f)

Given an operator or function f, returns its registered vector of argument types, or [] if none exist.

argument types are, for example,

[::ff/oneform-field ::vf/vector-field ::vf/vector-field]

for a Christoffel-2, which takes one oneform field and two vector fields.

Given an operator or function `f`, returns its registered vector of argument
types, or `[]` if none exist.

argument types are, for example,

```clojure
[::ff/oneform-field ::vf/vector-field ::vf/vector-field]
```

for a `Christoffel-2`, which takes one oneform field and two vector fields.
sourceraw docstring

contractclj/s

(contract T u d n)
source

index-typesclj/s

(index-types f)

Given an operator or function f, returns its registered vector of index types, or [] if none exist.

index types are, for example,

['up 'down 'down]

for a Christoffel-2, which takes one oneform field and two vector fields.

Given an operator or function `f`, returns its registered vector of index
types, or `[]` if none exist.

index types are, for example,

```clojure
['up 'down 'down]
```

for a `Christoffel-2`, which takes one oneform field and two vector fields.
sourceraw docstring

indexed->typedclj/s

(indexed->typed indexed basis)
source

outer-productclj/s

(outer-product T1 T2)
source

structure->typedclj/s

(structure->typed coeff-functions basis)
source

typed->indexedclj/s

(typed->indexed f basis)
source

typed->structureclj/s

(typed->structure T basis)
source

with-argument-typesclj/s

(with-argument-types f types)

Given some operator or function f, returns a copy of f with the supplied argument types types registered in its metadata (if a function) or context (if an operator).

Retrieve these types with argument-types.

Given some operator or function `f`, returns a copy of `f` with the supplied
argument types `types` registered in its metadata (if a function) or
context (if an operator).

Retrieve these types with [[argument-types]].
sourceraw docstring

with-index-typesclj/s

(with-index-types f types)

Given some operator or function f, returns a copy of f with the supplied index types types registered in its metadata (if a function) or context (if an operator).

Retrieve these types with index-types.

Given some operator or function `f`, returns a copy of `f` with the supplied
index types `types` registered in its metadata (if a function) or
context (if an operator).

Retrieve these types with [[index-types]].
sourceraw docstring

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

× close