John Benediktsson
e15d2775ae
html.streams: fix tests.
2020-04-11 20:35:44 -05:00
John Benediktsson
fac013d307
html.templates: adding t:script and t:write-script.
2020-04-11 20:35:35 -05:00
John Benediktsson
6643e97b2c
help.html: more responsive help docs.
2020-04-11 20:35:34 -05:00
John Benediktsson
a9d7d39425
html.streams: monospace uses pre-wrap, wrap-margin sets width.
2020-04-11 20:35:33 -05:00
Cat Stevens
1e5bd820f8
math.matrices: fix/rename mnorm, update all norms
...
closes #2244
- `mnorm` has been renamed to `normalize-matrix`
to reflect what it actually does, which
is normalize a matrix, not find a norm
of a matrix.
- `mnorm` is no longer a word defined here.
- bugfix: previously, `normalize-matrix` found
the supremum of a matrix (`mmax`),
before taking the supremum's absolute
value (`abs`) and dividing the matrix
by it (`m/n`).
for matrices containing only negative
values and 0, the supremum is 0, and
a `div-by-zero` error was thrown.
`normalize-matrix` has been fixed to
first `abs` all the matrix elements,
and then find the supremum and divide,
it also receieved a zero-matrix? guard
for optimization and preventing
`div-by-zero`.
- new alias: `hilbert-schmidt-norm` for
`frobenius-norm`, to go along with
`math.matrices.extras.<hilbert-matrix>`
and improve searchability by physicists.
- new word: `matrix-p-norm`, written as an
analogue of `math.vectors.p-norm`.
- new word: `matrix-p-q-norm`, which generalizes
entrywise matrix norm over the L^p,q
vector space.
- new word: `matrix-p-norm-entrywise`:
`matrix-p-norm`'s fallback
for p =/= 1, 2, inf; analogue of
`math.vectors.p-norm-default`.
- all norm words have gotten new docs,
`zero-matrix?` guards as an optimisation,
and most have gotten new tests.
2020-04-11 20:35:32 -05:00
John Benediktsson
4e97e9a8fb
prettyprint.backend: make +nil+ render as L{ }.
2020-04-11 20:35:27 -05:00
John Benediktsson
0cc900e917
ui.gadgets.paragraphs: need to merge height/metrics.
...
Sometimes cap-height is false and we handle that differently.
2020-04-11 20:35:23 -05:00
John Benediktsson
3b9567c3e9
help.html: default font size should be 12pt, less line-height for pre.
2020-04-11 20:35:22 -05:00
John Benediktsson
be0da69091
ui.gadgets.paragraphs: faster pref-dim.
...
Now computing gadget-metrics once, before called (measure-metrics) twice,
the first time adding the result, the second time dropping the top of stack.
2020-04-11 20:35:21 -05:00
John Benediktsson
1384fb8f89
help.html: raise line-height to 150%.
2020-04-11 20:35:18 -05:00
John Benediktsson
cdf7257f1e
help.html: less css reset.
2020-04-11 20:35:14 -05:00
John Benediktsson
170216e4c1
help.html: use protocol agnostic link.
2020-04-11 20:35:10 -05:00
John Benediktsson
364f4facf3
help.html: make these match new wiki css.
2020-04-11 20:35:08 -05:00
John Benediktsson
5b0d28d055
math.vectors: rename "h." to "hdot"
2020-04-11 20:35:03 -05:00
John Benediktsson
3bd9eadd9a
math.vectors.simd: fix typo in simd vdot intrinsic.
2020-04-11 20:35:02 -05:00
John Benediktsson
3f1602add8
math.matrices: rename m./m.v/v.m to mdot/mdotv/vdotm.
2020-04-11 20:35:01 -05:00
John Benediktsson
039d4f0877
math.vectors: rename "v." to "vdot"
2020-04-11 20:35:00 -05:00
John Benediktsson
8aa6afb304
help.markup: make sure lists wrap wider.
2020-04-11 20:35:00 -05:00
John Benediktsson
89056025a7
calendar: remove unnecessary effects on generics.
2020-04-11 20:34:58 -05:00
John Benediktsson
e7d088af63
prettyprint.stylesheet: s/stack-effect-style/base-effect/style/.
2020-04-11 20:34:57 -05:00
John Benediktsson
af44b24fc8
help.markup: cleanup using.
2020-04-11 20:34:56 -05:00
John Benediktsson
59f0d13562
prettyprint.stylesheet: change stack effects to not be green.
2020-04-11 20:34:55 -05:00
John Benediktsson
4d573ed52b
core/basis/extra: update some tags.txt.
2020-04-11 20:34:54 -05:00
John Benediktsson
f703c7aef8
xml.writer: remove M\ number write-xml.
...
This is likely an artifact from when numbers were treated as sequences,
which isn't needed anymore.
2020-04-11 20:34:53 -05:00
John Benediktsson
12664b74ba
help.html: assume even padding started out odd.
2020-04-11 20:34:52 -05:00
John Benediktsson
ba38aba36c
help.html: clone attrs in css-styles-to-classes and double padding.
2020-04-11 20:34:51 -05:00
John Benediktsson
174a0e5808
help.markup: change $breadcrumbs to unicode.
2020-04-11 20:34:51 -05:00
John Benediktsson
87b436eb2a
ui.tools.browser: use unicode next/prev arrows.
2020-04-11 20:34:50 -05:00
John Benediktsson
a4b6397dc8
ui.gadgets.panes: simplify <styled-label>.
2020-04-11 20:34:49 -05:00
John Benediktsson
69d6f7ccfb
html.streams: allow div-css-style to use span-css-style.
2020-04-11 20:34:48 -05:00
John Benediktsson
68d5fc5388
Revert "html.streams: use style-stream."
...
This reverts commit 6f9a7dcc9e .
2020-04-11 20:34:47 -05:00
John Benediktsson
9a820dea2d
lists: check for errors like L{ . 3 }.
2020-04-11 20:34:45 -05:00
John Benediktsson
3758b6319c
lists: make multiple dots a syntax error.
2020-04-11 20:34:44 -05:00
John Benediktsson
451fb09795
help.html: don't use sprintf.
2020-04-11 20:34:43 -05:00
John Benediktsson
75b1fbd6f4
lists: simplify parse-list-literal to fix bootstrap issue.
2020-04-11 20:34:43 -05:00
kusumotonorio
d0bd59ad19
lists.factor: rest: --> .
2020-04-11 20:34:42 -05:00
kusumotonorio
65a131aa1c
lists.factor: Added some vocab
2020-04-11 20:34:41 -05:00
kusumotonorio
9dc71445eb
Supports dotted pair notation
2020-04-11 20:34:40 -05:00
John Benediktsson
c10f947814
Revert "help.markup: separate examples using newlines."
...
This reverts commit 76fcbdc690 .
2020-04-11 20:34:39 -05:00
John Benediktsson
559b959e07
help.stylesheet: make some fonts bigger.
2020-04-11 20:34:38 -05:00
John Benediktsson
984a24ab07
help: simplify navigation-table.
2020-04-11 20:34:37 -05:00
John Benediktsson
81d8ecffb5
help.markup: separate examples using newlines.
2020-04-11 20:34:36 -05:00
John Benediktsson
3eaf7b81bc
ui.tools.browser: change $navigation to not use title-style.
2020-04-11 20:34:36 -05:00
John Benediktsson
612a6999c9
ui.gadgets.panes: change approach to nested-pane-stream.
2020-04-11 20:34:35 -05:00
John Benediktsson
2b2eb4be59
io.styles: change style-stream to inherit all styles by default.
2020-04-11 20:34:34 -05:00
John Benediktsson
dbfca14c8a
ui.tools.error-list: adding table header emphasis.
2020-04-11 20:34:33 -05:00
Doug Coleman
4520c7c110
syndication: Property can be present but f, handle this.
...
Test case:
"http://www.spreaker.com/show/2952221/episodes/feed " http-get nip parse-feed
2020-04-11 20:34:32 -05:00
John Benediktsson
6cd7a6077f
help.html: cleanup stylesheet a bit.
2020-04-11 20:34:30 -05:00
John Benediktsson
bd7cf53e62
help.html: change fixed font-size to relative.
2020-04-11 20:34:29 -05:00
John Benediktsson
773811b66d
help.markup: adding a $slots word to document slots, use it.
2020-04-11 20:34:27 -05:00