(components->oneform-field components coordinate-system & [name])(coordinate-basis-oneform-field coordinate-system name & i)(coordinate-basis-oneform-field-procedure coordinate-system & i)(coordinate-basis-oneform-fields coordinate-system)(coordinate-name->ff-name n)From the name of a coordinate, produce the name of the coordinate basis one-form field (as a symbol)
From the name of a coordinate, produce the name of the coordinate basis one-form field (as a symbol)
(exterior-derivative-procedure kform)(form-field? f)(function->oneform-field f)(get-rank f)(literal-oneform-field name coordinate-system)(oneform-field->components form coordinate-system)(oneform-field-procedure components coordinate-system)(oneform-field? f)(permutation-sequence as)This is an unusual way to go about this in a functional language, but it's fun. Produces an iterable sequence developing the permutations of the input sequence of objects (which are considered distinct) in church-bell-changes order, that is, each permutation differs from the previous by a transposition of adjacent elements (Algorithm P from §7.2.1.2 of Knuth). This has the side-effect of arranging for the parity of the generated permutations to alternate; the first permutation yielded is the identity permutation (which of course is even). Inside, there is a great deal of mutable state, but this cannot be observed by the user.
This is an unusual way to go about this in a functional language, but it's fun. Produces an iterable sequence developing the permutations of the input sequence of objects (which are considered distinct) in church-bell-changes order, that is, each permutation differs from the previous by a transposition of adjacent elements (Algorithm P from §7.2.1.2 of Knuth). This has the side-effect of arranging for the parity of the generated permutations to alternate; the first permutation yielded is the identity permutation (which of course is even). Inside, there is a great deal of mutable state, but this cannot be observed by the user.
(procedure->nform-field proc n name)(procedure->oneform-field fp name)(wedge & fs)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |