diff --git a/consts.html b/consts.html index 6f501faab..7e9944908 100644 --- a/consts.html +++ b/consts.html @@ -36,7 +36,7 @@
vsl
- 0.1.50 ed3acac + 0.1.50 8db2300
Constants

This module provides a collection of physical constants in -

+
  • README
  • Constants
  • diff --git a/deriv.html b/deriv.html index 5bb7086ac..42efb4d98 100644 --- a/deriv.html +++ b/deriv.html @@ -36,7 +36,7 @@
    vsl
    - 0.1.50 ed3acac + 0.1.50 8db2300
    🚀 Numerical Differentiation

    This module provides functions for com -

    +
    • README
    • fn backward
        diff --git a/diff.html b/diff.html index 53c46e69b..ef805f387 100644 --- a/diff.html +++ b/diff.html @@ -36,7 +36,7 @@
        vsl
        - 0.1.50 ed3acac + 0.1.50 8db2300
        🧮 Numerical Differentiation

        This module equips you with powerful f -

        +
        • README
        • fn backward
            diff --git a/dist.html b/dist.html index 363ddb535..4125300a1 100644 --- a/dist.html +++ b/dist.html @@ -36,7 +36,7 @@
            vsl
            - 0.1.50 ed3acac + 0.1.50 8db2300
            Probability Distributions algorithms

            This module provides functions f -

            +
            • README
            • fn build_text_hist
                diff --git a/doc.css b/doc.css index bfa76839f..82c272eaa 100644 --- a/doc.css +++ b/doc.css @@ -36,6 +36,8 @@ --attribute-deprecated-background-color: #f59f0b48; --attribute-deprecated-text-color: #92400e; --attribute-text-color: #000000cf; + --table-header-line-color: #2c3e64; + --table-background-color: #edf2f7; } html.dark { --background-color: #1a202c; @@ -73,6 +75,8 @@ html.dark { --attribute-background-color: #ffffff20; --attribute-text-color: #ffffffaf; --attribute-deprecated-text-color: #fef3c7; + --table-header-line-color: #cbd5e0; + --table-background-color: #2d3748; } html.dark .dark-icon { display: none; @@ -619,6 +623,7 @@ code { pre { overflow: auto; margin: 0; + position: relative; } .namespace { opacity: 0.7; @@ -665,6 +670,31 @@ pre { margin: 0 0 0.4rem 0; } +table { + border: 1px solid var(--table-background-color); + border-collapse: collapse; +} +table tr td, +table tr th { + padding: 4px 8px; +} +table tr th { + background-color: var(--table-background-color); +} +tr:nth-child(even) { + background-color: var(--table-background-color); +} + +button.copy { + border: none; + background-color: transparent; + position: absolute; + font-size: 12px; + top: 5px; + right: 5px; + color: var(--ref-symbol-hover-color); +} + /* Medium screen and up */ @media (min-width: 768px) { *::-webkit-scrollbar { diff --git a/doc.js b/doc.js index 04319f256..30be98228 100644 --- a/doc.js +++ b/doc.js @@ -7,6 +7,7 @@ setupScrollSpy(); setupSearch(); setupCollapse(); + setupCodeCopy(); })(); function setupScrollSpy() { @@ -300,3 +301,27 @@ function debounce(func, timeout) { timer = setTimeout(next, timeout > 0 ? timeout : 300); }; } + +function setupCodeCopy() { + const pres = document.querySelectorAll('pre:not(.signature)'); + pres.forEach((pre) => { + const tempDiv = document.createElement('button'); + tempDiv.className = 'copy'; + tempDiv.innerHTML = + ''; + tempDiv.addEventListener('click', (e) => { + const parent = e.target; + var code = tempDiv.parentElement.querySelector('code'); + let i = Array.from(code.childNodes) + .map((r) => r.textContent) + .join(''); + navigator.clipboard.writeText(i); + var tmp = tempDiv.innerHTML; + tempDiv.innerHTML = 'Copied'; + window.setTimeout(function () { + tempDiv.innerHTML = tmp; + }, 1000); + }); + pre.insertAdjacentElement('afterbegin', tempDiv); + }); +} diff --git a/easings.html b/easings.html index 2d0f28625..d80599dd0 100644 --- a/easings.html +++ b/easings.html @@ -36,7 +36,7 @@
                vsl
                - 0.1.50 ed3acac + 0.1.50 8db2300
                Easing Functions

                This is a pure V module that provides easing functio -

                +
                • README
                • fn animate
                    diff --git a/errors.html b/errors.html index 487f7ad05..46cf6f700 100644 --- a/errors.html +++ b/errors.html @@ -36,7 +36,7 @@
                    vsl
                    - 0.1.50 ed3acac + 0.1.50 8db2300
                    - +
                    • fn error
                      diff --git a/fft.html b/fft.html index 877aae56f..6433e1c7f 100644 --- a/fft.html +++ b/fft.html @@ -36,7 +36,7 @@
                      vsl
                      - 0.1.50 ed3acac + 0.1.50 8db2300
                      Fast Fourier Transform

                      The fft package is a wrapper of t -

                      +
                      • README
                      • fn backward_fft
                          diff --git a/fit.html b/fit.html index c78a7a201..387d8963d 100644 --- a/fit.html +++ b/fit.html @@ -36,7 +36,7 @@
                          vsl
                          - 0.1.50 ed3acac + 0.1.50 8db2300
                          - +
                          • fn linear
                            diff --git a/float.float32.html b/float.float32.html index c38dd138a..6d5da8a58 100644 --- a/float.float32.html +++ b/float.float32.html @@ -36,7 +36,7 @@
                            vsl
                            - 0.1.50 ed3acac + 0.1.50 8db2300
                            - +
                            • fn arrays_tolerance
                              diff --git a/float.float64.html b/float.float64.html index f946dc2fd..d26c79b36 100644 --- a/float.float64.html +++ b/float.float64.html @@ -36,7 +36,7 @@
                              vsl
                              - 0.1.50 ed3acac + 0.1.50 8db2300
                              - +
                              • fn alike
                                diff --git a/fun.html b/fun.html index 6ee2df178..ddc2a5199 100644 --- a/fun.html +++ b/fun.html @@ -36,7 +36,7 @@
                                vsl
                                - 0.1.50 ed3acac + 0.1.50 8db2300
                                -

                                fn bessel_y1 #

                                +

                                fn bessel_y1 #

                                 fn bessel_y1(x f64) f64

                                bessel_y1 returns the order-one Bessel function of the second kind.

                                special cases are: bessel_y1(+inf) = 0 bessel_y1(0) = -inf bessel_y1(x < 0) = nan bessel_y1(nan) = nan

                                @@ -236,7 +236,7 @@
                                -

                                fn bessel_yn #

                                +

                                fn bessel_yn #

                                 fn bessel_yn(n_ int, x f64) f64

                                bessel_yn returns the order-n Bessel function of the second kind.

                                special cases are: bessel_yn(n, +inf) = 0 bessel_yn(n ≥ 0, 0) = -inf bessel_yn(n < 0, 0) = +inf if n is odd, -inf if n is even bessel_yn(n, x < 0) = nan bessel_yn(n, nan) = nan

                                @@ -324,7 +324,7 @@
                                -

                                fn erfc #

                                +

                                fn erfc #

                                 fn erfc(x_ f64) f64

                                erfc returns the complementary error function of x.

                                special cases are: erfc(+inf) = 0 erfc(-inf) = 2 erfc(nan) = nan

                                @@ -484,7 +484,7 @@
                                -

                                fn pone #

                                +

                                fn pone #

                                 fn pone(x f64) f64

                                For x >= 8, the asymptotic expansions of pone is 1 + 15/128 s2 - 4725/215 s4 - ..., where s = 1/x. We approximate pone by pone(x) = 1 + (R/S) where R = pr0 + pr1*s2 + pr2s**4 + ... + pr5s10 S = 1 + ps0*s2 + ... + ps4*s10 and | pone(x)-1-R/S | <= 2(-60.06)

                                @@ -524,7 +524,7 @@
                                -

                                fn pzero #

                                +

                                fn pzero #

                                 fn pzero(x f64) f64

                                The asymptotic expansions of pzero is 1 - 9/128 s2 + 11025/98304 s4 - ..., where s = 1/x. For x >= 2, We approximate pzero by pzero(x) = 1 + (R/S) where R = pj0r0 + pR1s**2 + pR2s4 + ... + pR5*s10 S = 1 + pj0s0s**2 + ... + pS4s**10 and | pzero(x)-1-R/S | <= 2 ** ( -60.26)

                                @@ -532,7 +532,7 @@
                                -

                                fn qone #

                                +

                                fn qone #

                                 fn qone(x f64) f64

                                For x >= 8, the asymptotic expansions of qone is 3/8 s - 105/1024 s3 - ..., where s = 1/x. We approximate qone by qone(x) = s*(0.375 + (R/S)) where R = qr1*s2 + qr2s**4 + ... + qr5s10 S = 1 + qs1*s2 + ... + qs6*s12 and | qone(x)/s -0.375-R/S | <= 2(-61.13)

                                @@ -540,7 +540,7 @@
                                -

                                fn qzero #

                                +

                                fn qzero #

                                 fn qzero(x f64) f64

                                For x >= 8, the asymptotic expansions of qzero is -1/8 s + 75/1024 s3 - ..., where s = 1/x. We approximate pzero by qzero(x) = s*(-1.25 + (R/S)) where R = qj0r0 + qR1*s2 + qR2s**4 + ... + qR5s10 S = 1 + qj0s0*s2 + ... + qS5*s12 and | qzero(x)/s +1.25-R/S | <= 2(-61.22)

                                @@ -974,7 +974,7 @@
                                - +
                                • fn atan2p
                                  diff --git a/func.html b/func.html index 48077d166..5655f171d 100644 --- a/func.html +++ b/func.html @@ -36,7 +36,7 @@
                                  vsl
                                  - 0.1.50 ed3acac + 0.1.50 8db2300
                                  - +
                                  • fn Fn.new
                                    diff --git a/gm.html b/gm.html index 13d340a5a..28ac8ce77 100644 --- a/gm.html +++ b/gm.html @@ -36,7 +36,7 @@
                                    vsl
                                    - 0.1.50 ed3acac + 0.1.50 8db2300
                                    Geometry algorithms and structures

                                    This package provides some functio -

                                    +
                                    • README
                                    • Constants
                                    • diff --git a/graph.html b/graph.html index bdce2f6fa..93b5be145 100644 --- a/graph.html +++ b/graph.html @@ -36,7 +36,7 @@
                                      vsl
                                      - 0.1.50 ed3acac + 0.1.50 8db2300
                                      Graph theory structures and algorithms

                                      This package implements algori -

                                      +
                                      • README
                                      • fn Graph.new
                                          diff --git a/index.html b/index.html index 63b9dbdbc..027414b74 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@
                                          vsl
                                          - 0.1.50 ed3acac + 0.1.50 8db2300
                                          - +
                                          diff --git a/inout.h5.html b/inout.h5.html index 539c872e7..cbee1be56 100644 --- a/inout.h5.html +++ b/inout.h5.html @@ -36,7 +36,7 @@
                                          vsl
                                          - 0.1.50 ed3acac + 0.1.50 8db2300
                                          HDF5

                                          The functions described in this chapter will read or write data -

                                          +
                                          • README
                                          • fn open_file
                                              diff --git a/internal.dataset.html b/internal.dataset.html index e5e3a9551..034994717 100644 --- a/internal.dataset.html +++ b/internal.dataset.html @@ -36,7 +36,7 @@
                                              vsl
                                              - 0.1.50 ed3acac + 0.1.50 8db2300
                                              - +
                                              diff --git a/internal.prec.html b/internal.prec.html index 41a63c60b..c1611d109 100644 --- a/internal.prec.html +++ b/internal.prec.html @@ -36,7 +36,7 @@
                                              vsl
                                              - 0.1.50 ed3acac + 0.1.50 8db2300
                                              - +
                                              diff --git a/iter.html b/iter.html index e9a1405e3..d6c1ed546 100644 --- a/iter.html +++ b/iter.html @@ -36,7 +36,7 @@
                                              vsl
                                              - 0.1.50 ed3acac + 0.1.50 8db2300
                                              LogIter.new returns an iterator of len numbers evenly spaced on - +
                                              • README
                                              • fn combinations
                                                  diff --git a/la.html b/la.html index 8da0eddae..8029a083c 100644 --- a/la.html +++ b/la.html @@ -36,7 +36,7 @@
                                                  vsl
                                                  - 0.1.50 ed3acac + 0.1.50 8db2300
                                                  - +
                                                  • fn den_solve
                                                    diff --git a/ml.html b/ml.html index c4c585e4a..3574e8ef5 100644 --- a/ml.html +++ b/ml.html @@ -36,7 +36,7 @@
                                                    vsl
                                                    - 0.1.50 ed3acac + 0.1.50 8db2300
                                                    VSL Machine Learning (vsl.ml)

                                                    VSL aims to provide a robust set of too -

                                                    +
                                                    • README
                                                    • fn Data.from_raw_x
                                                        diff --git a/ml.nlp.html b/ml.nlp.html index b98cfaf3f..bcf8e4c2b 100644 --- a/ml.nlp.html +++ b/ml.nlp.html @@ -36,7 +36,7 @@
                                                        vsl
                                                        - 0.1.50 ed3acac + 0.1.50 8db2300
                                                        Natural Language Processing Tools

                                                        This submodule offers tools for Nat -

                                                        +
                                                        • README
                                                        • Constants
                                                        • diff --git a/mpi.html b/mpi.html index ce539f714..e4438a039 100644 --- a/mpi.html +++ b/mpi.html @@ -36,7 +36,7 @@
                                                          vsl
                                                          - 0.1.50 ed3acac + 0.1.50 8db2300
                                                          Message Passing Interface for parallel computing

                                                          The mpi -

                                                          +
                                                          • README
                                                          • fn finalize
                                                              diff --git a/noise.html b/noise.html index c64c0e5e4..e7ece6665 100644 --- a/noise.html +++ b/noise.html @@ -36,7 +36,7 @@
                                                              vsl
                                                              - 0.1.50 ed3acac + 0.1.50 8db2300
                                                              noise

                                                              This module aims to to implement noise algorithms.

                                                              It use

                                                               struct Generator {
                                                               mut:
                                                              -	perm []int = rand.shuffle_clone(noise.permutations) or { panic(err) }
                                                              +	perm []int = rand.shuffle_clone(permutations) or { panic(err) }
                                                               }

                                                              Generator is a struct holding the permutation table used in perlin and simplex noise

                                                              @@ -255,7 +255,7 @@

                                                              noise

                                                              This module aims to to implement noise algorithms.

                                                              It use -

                                                              +
                                                              • README
                                                              • fn Generator.new
                                                                  diff --git a/plot.html b/plot.html index fa14b5f6d..2b54534a1 100644 --- a/plot.html +++ b/plot.html @@ -36,7 +36,7 @@
                                                                  vsl
                                                                  - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                  VSL Plot

                                                                  This library implements high-level functions to generate plo -

                                                                  +
                                                                  • README
                                                                  • fn Plot.new
                                                                      diff --git a/poly.html b/poly.html index a123f202b..c2867c493 100644 --- a/poly.html +++ b/poly.html @@ -36,7 +36,7 @@
                                                                      vsl
                                                                      - 0.1.50 ed3acac + 0.1.50 8db2300

                                                                      poly #

                                                                      -

                                                                      Polynomials

                                                                      This chapter describes functions for evaluating and solving polynomials. There are routines for finding real and complex roots of quadratic and cubic equations using analytic methods. An iterative polynomial solver is also available for finding the roots of general polynomials with real coefficients (of any order). The functions are declared in the module vsl.poly.

                                                                      Polynomial Evaluation

                                                                      fn eval(c []f64, x f64) f64

                                                                      The functions described here evaluate the polynomial

                                                                      P(x) = c[0] + c[1] x + c[2] x^2 + . . . + c[len-1] x^(len-1)

                                                                      using Horner's method for stability.

                                                                      fn eval_derivs(c []f64, x f64, lenres u64) []f64

                                                                      This function evaluates a polynomial and its derivatives, storing the results in the array res of size lenres. The output array contains the values of d^k P(x)/d x^k for the specified value of x, starting with k = 0.

                                                                      Quadratic Equations

                                                                      fn solve_quadratic(a f64, b f64, c f64) []f64

                                                                      This function finds the real roots of the quadratic equation,

                                                                      a x^2 + b x + c = 0

                                                                      The number of real roots (either zero, one or two) is returned, and their locations are returned as [ x0, x1 ]. If no real roots are found then [] is returned. If one real root is found (i.e. if a=0) then it is returned as [ x0 ]. When two real roots are found they are returned as [ x0, x1 ] in ascending order. The case of coincident roots is not considered special. For example (x-1)^2=0 will have two roots, which happen to have exactly equal values.

                                                                      The number of roots found depends on the sign of the discriminant b^2 - 4 a c. This will be subject to rounding and cancellation errors when computed in double precision, and will also be subject to errors if the coefficients of the polynomial are inexact. These errors may cause a discrete change in the number of roots. However, for polynomials with small integer coefficients the discriminant can always be computed exactly.

                                                                      Cubic Equations

                                                                      fn solve_cubic(a f64, b f64, c f64) []f64

                                                                      This function finds the real roots of the cubic equation,

                                                                      x^3 + a x^2 + b x + c = 0

                                                                      with a leading coefficient of unity. The number of real roots (either one or three) is returned, and their locations are returned as [ x0, x1, x2 ]. If one real root is found then only [ x0 ] is returned. When three real roots are found they are returned as [ x0, x1, x2 ] in ascending order. The case of coincident roots is not considered special. For example, the equation (x-1)^3=0 will have three roots with exactly equal values. As in the quadratic case, finite precision may cause equal or closely-spaced real roots to move off the real axis into the complex plane, leading to a discrete change in the number of real roots.

                                                                      Companion Matrix

                                                                      fn companion_matrix(a []f64) [][]f64

                                                                      Creates a companion matrix for the polynomial

                                                                      P(x) = a_n * x^n + a_{n-1} * x^{n-1} + ... + a_1 * x + a_0

                                                                      The companion matrix C is defined as:

                                                                      [0 0 0 ... 0 -a_0/a_n]
                                                                      -[1 0 0 ... 0 -a_1/a_n]
                                                                      -[0 1 0 ... 0 -a_2/a_n]
                                                                      -[. . . ... . ........]
                                                                      -[0 0 0 ... 1 -a_{n-1}/a_n]

                                                                      Balanced Companion Matrix

                                                                      fn balance_companion_matrix(cm [][]f64) [][]f64

                                                                      Balances a companion matrix C to improve numerical stability. It uses an iterative scaling process to make the row and column norms as close to each other as possible. The output is a balanced matrix B such that D^(-1)CD = B, where D is a diagonal matrix.

                                                                      Polynomial Operations

                                                                      fn add(a []f64, b []f64) []f64

                                                                      Adds two polynomials:

                                                                      (a_n * x^n + ... + a_0) + (b_m * x^m + ... + b_0)

                                                                      Returns the result as [a_0 + b_0, a_1 + b_1, ..., a_k + b_k ...].

                                                                      fn subtract(a []f64, b []f64) []f64

                                                                      Subtracts two polynomials:

                                                                      (a_n * x^n + ... + a_0) - (b_m * x^m + ... + b_0)

                                                                      Returns the result as [a_0 - b_0, a_1 - b_1, ..., a_k - b_k, ...].

                                                                      fn multiply(a []f64, b []f64) []f64

                                                                      Multiplies two polynomials:

                                                                      (a_n * x^n + ... + a_0) * (b_m * x^m + ... + b_0)

                                                                      Returns the result as [c_0, c_1, ..., c_{n+m}] where c_k = ∑_{i+j=k} a_i * b_j.

                                                                      fn divide(a []f64, b []f64) ([]f64, []f64)

                                                                      Divides two polynomials:

                                                                      (a_n * x^n + ... + a_0) / (b_m * x^m + ... + b_0)

                                                                      Uses polynomial long division algorithm. Returns (q, r) where q is the quotient and r is the remainder such that a(x) = b(x) * q(x) + r(x) and degree(r) < degree(b).

                                                                      +

                                                                      Polynomials

                                                                      This chapter describes functions for evaluating and solving polynomials. There are routines for finding real and complex roots of quadratic and cubic equations using analytic methods. An iterative polynomial solver is also available for finding the roots of general polynomials with real coefficients (of any order). The functions are declared in the module vsl.poly.

                                                                      Polynomial Evaluation

                                                                      fn eval(c []f64, x f64) f64

                                                                      The functions described here evaluate the polynomial

                                                                      P(x) = c[0] + c[1] x + c[2] x^2 + . . . + c[len-1] x^(len-1)

                                                                      using Horner's method for stability.

                                                                      fn eval_derivs(c []f64, x f64, lenres u64) []f64

                                                                      This function evaluates a polynomial and its derivatives, storing the results in the array res of size lenres. The output array contains the values of d^k P(x)/d x^k for the specified value of x, starting with k = 0.

                                                                      Quadratic Equations

                                                                      fn solve_quadratic(a f64, b f64, c f64) []f64

                                                                      This function finds the real roots of the quadratic equation,

                                                                      a x^2 + b x + c = 0

                                                                      The number of real roots (either zero, one or two) is returned, and their locations are returned as [ x0, x1 ]. If no real roots are found then [] is returned. If one real root is found (i.e. if a=0) then it is returned as [ x0 ]. When two real roots are found they are returned as [ x0, x1 ] in ascending order. The case of coincident roots is not considered special. For example (x-1)^2=0 will have two roots, which happen to have exactly equal values.

                                                                      The number of roots found depends on the sign of the discriminant b^2 - 4 a c. This will be subject to rounding and cancellation errors when computed in double precision, and will also be subject to errors if the coefficients of the polynomial are inexact. These errors may cause a discrete change in the number of roots. However, for polynomials with small integer coefficients the discriminant can always be computed exactly.

                                                                      Cubic Equations

                                                                      fn solve_cubic(a f64, b f64, c f64) []f64

                                                                      This function finds the real roots of the cubic equation,

                                                                      x^3 + a x^2 + b x + c = 0

                                                                      with a leading coefficient of unity. The number of real roots (either one or three) is returned, and their locations are returned as [ x0, x1, x2 ]. If one real root is found then only [ x0 ] is returned. When three real roots are found they are returned as [ x0, x1, x2 ] in ascending order. The case of coincident roots is not considered special. For example, the equation (x-1)^3=0 will have three roots with exactly equal values. As in the quadratic case, finite precision may cause equal or closely-spaced real roots to move off the real axis into the complex plane, leading to a discrete change in the number of real roots.

                                                                      Companion Matrix

                                                                      fn companion_matrix(a []f64) [][]f64

                                                                      Creates a companion matrix for the polynomial

                                                                      P(x) = a_n * x^n + a_{n-1} * x^{n-1} + ... + a_1 * x + a_0

                                                                      The companion matrix C is defined as:

                                                                      [0 0 0 ... 0 -a_0/a_n]
                                                                      +[1 0 0 ... 0 -a_1/a_n]
                                                                      +[0 1 0 ... 0 -a_2/a_n]
                                                                      +[. . . ... . ........]
                                                                      +[0 0 0 ... 1 -a_{n-1}/a_n]
                                                                      +

                                                                      Balanced Companion Matrix

                                                                      fn balance_companion_matrix(cm [][]f64) [][]f64

                                                                      Balances a companion matrix C to improve numerical stability. It uses an iterative scaling process to make the row and column norms as close to each other as possible. The output is a balanced matrix B such that D^(-1)CD = B, where D is a diagonal matrix.

                                                                      Polynomial Operations

                                                                      fn add(a []f64, b []f64) []f64

                                                                      Adds two polynomials:

                                                                      (a_n * x^n + ... + a_0) + (b_m * x^m + ... + b_0)

                                                                      Returns the result as [a_0 + b_0, a_1 + b_1, ..., a_k + b_k ...].

                                                                      fn subtract(a []f64, b []f64) []f64

                                                                      Subtracts two polynomials:

                                                                      (a_n * x^n + ... + a_0) - (b_m * x^m + ... + b_0)

                                                                      Returns the result as [a_0 - b_0, a_1 - b_1, ..., a_k - b_k, ...].

                                                                      fn multiply(a []f64, b []f64) []f64

                                                                      Multiplies two polynomials:

                                                                      (a_n * x^n + ... + a_0) * (b_m * x^m + ... + b_0)

                                                                      Returns the result as [c_0, c_1, ..., c_{n+m}] where c_k = ∑_{i+j=k} a_i * b_j.

                                                                      fn divide(a []f64, b []f64) ([]f64, []f64)

                                                                      Divides two polynomials:

                                                                      (a_n * x^n + ... + a_0) / (b_m * x^m + ... + b_0)

                                                                      Uses polynomial long division algorithm. Returns (q, r) where q is the quotient and r is the remainder such that a(x) = b(x) * q(x) + r(x) and degree(r) < degree(b).

                                                                      @@ -264,7 +265,7 @@

                                                                      Polynomials

                                                                      This chapter describes functions for evaluating and solvi -

                                                                      +
                                                                      • README
                                                                      • fn add
                                                                          diff --git a/prime.html b/prime.html index 0468b5e0e..07ff0bfb4 100644 --- a/prime.html +++ b/prime.html @@ -36,7 +36,7 @@
                                                                          vsl
                                                                          - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                          - +
                                                                          • fn is_prime
                                                                            diff --git a/quaternion.html b/quaternion.html index 4f71e3ea2..137243b16 100644 --- a/quaternion.html +++ b/quaternion.html @@ -36,7 +36,7 @@
                                                                            vsl
                                                                            - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                            Quaternions

                                                                            The functions provided by this module add support for qua -

                                                                            +
                                                                            • README
                                                                            • fn from_axis_anglef3
                                                                                diff --git a/roots.html b/roots.html index 626eeb154..a76d8813b 100644 --- a/roots.html +++ b/roots.html @@ -36,7 +36,7 @@
                                                                                vsl
                                                                                - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                One Dimensional Root-Finding

                                                                                The module vsl.roots contai -

                                                                                +
                                                                                • README
                                                                                • fn newton
                                                                                    diff --git a/util.html b/util.html index 35dded09c..5d1bbf187 100644 --- a/util.html +++ b/util.html @@ -36,7 +36,7 @@
                                                                                    vsl
                                                                                    - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                    - +
                                                                                    • fn arange
                                                                                      diff --git a/vcl.html b/vcl.html index 990c29b2f..be9bbe50a 100644 --- a/vcl.html +++ b/vcl.html @@ -36,7 +36,7 @@
                                                                                      vsl
                                                                                      - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      interface IImage #

                                                                                      +

                                                                                      interface IImage #

                                                                                       interface IImage {
                                                                                       	width       int
                                                                                      @@ -468,7 +468,7 @@ 

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      fn (Device) from_image #

                                                                                      +

                                                                                      fn (Device) from_image #

                                                                                       fn (d &Device) from_image(img IImage) !&Image

                                                                                      from_image creates new Image and copies data from Image

                                                                                      @@ -476,7 +476,7 @@

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      fn (Device) image #

                                                                                      +

                                                                                      fn (Device) image #

                                                                                       fn (d &Device) image(@type ImageChannelOrder, bounds Rect) !&Image

                                                                                      image allocates an image buffer

                                                                                      @@ -556,7 +556,7 @@

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      struct Image #

                                                                                      +

                                                                                      struct Image #

                                                                                       struct Image {
                                                                                       	format   ClImageFormat
                                                                                      @@ -573,7 +573,7 @@ 

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      fn (Image) release #

                                                                                      +

                                                                                      fn (Image) release #

                                                                                       fn (mut img Image) release() !

                                                                                      release releases the buffer on the device

                                                                                      @@ -581,7 +581,7 @@

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      -

                                                                                      fn (Image) data #

                                                                                      +

                                                                                      fn (Image) data #

                                                                                       fn (image &Image) data() !IImage
                                                                                      @@ -651,7 +651,8 @@

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      @[params]
                                                                                       struct Rect {
                                                                                      -pub: // pixel need integers
                                                                                      +pub:
                                                                                      +	// pixel need integers
                                                                                       	x      f32
                                                                                       	y      f32
                                                                                       	width  f32
                                                                                      @@ -694,7 +695,7 @@ 

                                                                                      V Computing Language

                                                                                      VCL is a high level way of writing programs with

                                                                                      - +
                                                                                      • README
                                                                                      • fn error_from_code
                                                                                          diff --git a/vcl.internal.dl.html b/vcl.internal.dl.html index 26b273384..cc56105ce 100644 --- a/vcl.internal.dl.html +++ b/vcl.internal.dl.html @@ -36,7 +36,7 @@
                                                                                          vsl
                                                                                          - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                          - +
                                                                                          • Constants
                                                                                          • fn get_sym
                                                                                              diff --git a/vlas.html b/vlas.html index 5bc5f669c..800ff17ee 100644 --- a/vlas.html +++ b/vlas.html @@ -36,7 +36,7 @@
                                                                                              vsl
                                                                                              - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                              V Linear Algebra System

                                                                                              This package implements BLAS and LAPACKE func -

                                                                                              +
                                                                                              • README
                                                                                              • fn c_trans
                                                                                                  diff --git a/vlas.internal.blas.html b/vlas.internal.blas.html index f08702689..b4cfb42db 100644 --- a/vlas.internal.blas.html +++ b/vlas.internal.blas.html @@ -36,7 +36,7 @@
                                                                                                  vsl
                                                                                                  - 0.1.50 ed3acac + 0.1.50 8db2300
                                                                                                  - +