ilusm.dev

sci

Scientific computing, matrices, linear algebra, plotting.

Load with: use sci

Quick example

use sci

result = scimt("value", "value")
prn(result)

Functions

Matrix

scimt(rows, cols)

Performs the operation. Takes rows, cols.

sczro(r, c)

Performs the operation. Takes r, c.

scine(r, c)

Creates a new instance. Takes r, c.

scrnd(r, c, lo, hi)

Performs the operation. Takes r, c, lo, hi.

scist(m, r, c, v)

Sets a value or starts a process. Takes m, r, c, v.

scigt(m, r, c)

Performs the operation. Takes m, r, c.

scshp(m)

Performs the operation. Takes m.

Matrix ops

sctrn(m)

Performs the operation. Takes m.

scidd(a, b)

Performs the operation. Takes a, b.

scisb(a, b)

Performs the operation. Takes a, b.

sciml(a, b)

Performs the operation. Takes a, b.

scscl(m, s)

Closes or clears. Takes m, s.

scidv(m, s)

Performs the operation. Takes m, s.

scidt(m)

Performs the operation. Takes m.

scinv(m)

Performs the operation. Takes m.

siegn(m)

Performs the operation. Takes m.

sicvr(m)

Performs the operation. Takes m.

Vector ops

scid0(a, b)

Performs the operation. Takes a, b.

scnr0(v)

Performs the operation. Takes v.

scnrm(v)

Removes an item. Takes v.

sccrs(a, b)

Resets. Takes a, b.

Stats

scimn(v)

Performs the operation. Takes v.

scimd(v)

Performs the operation. Takes v.

scivr(v)

Performs the operation. Takes v.

scst0(v)

Performs the operation. Takes v.

scstd(v, x)

Performs the operation. Takes v, x.

Linear algebra

scisl(a, b)

Performs the operation. Takes a, b.

scilu(a)

Performs the operation. Takes a.

scchl(a)

Performs the operation. Takes a.

sciqr(a)

Performs the operation. Takes a.

FFT

scff1(v)

Performs the operation. Takes v.

scff0(v)

Performs the operation. Takes v.

scfft(m)

Performs the operation. Takes m.

Signal processing

sccnv(a, b)

Performs the operation. Takes a, b.

sccrr(a, b)

Performs the operation. Takes a, b.

scflt(v, b, a)

Performs the operation. Takes v, b, a.

Interpolation

sciln(x, xp, fp)

Performs the operation. Takes x, xp, fp.

sicub(x, xp, fp)

Performs the operation. Takes x, xp, fp.

scspl(x, xp, fp)

Performs the operation. Takes x, xp, fp.

Optimization

scim0(fn, x0, opts)

Performs the operation. Takes fn, x0, opts.

sccrv(x, y, fn, p0)

Performs the operation. Takes x, y, fn, p0.

sclsq(a, b)

Performs the operation. Takes a, b.

Differential equations

scdst(f, y0, t, args)

Sets a value or starts a process. Takes f, y0, t, args.

Plotting

scplt()

Performs the operation.

sclnp(p, x, y, opts)

Performs the operation. Takes p, x, y, opts.

scsct(p, x, y, opts)

Performs the operation. Takes p, x, y, opts.

sicbr(p, labels, vals, opts)

Performs the operation. Takes p, labels, vals, opts.

schst(p, v, bins, opts)

Sets a value or starts a process. Takes p, v, bins, opts.

scshw(p)

Performs the operation. Takes p.

scisv(p, path, fmt)

Performs the operation. Takes p, path, fmt.

scXlb(p, t)

Performs the operation. Takes p, t.

sYlbl(p, t)

Performs the operation. Takes p, t.

sctle(p, t)

Performs the operation. Takes p, t.

siclg(p)

Performs the operation. Takes p.

scgrd(p, on)

Reads data. Takes p, on.

Polynomials

scpl2(coef)

Performs the operation. Takes coef.

scpl1(p, x)

Performs the operation. Takes p, x.

scply(x, y, deg)

Performs the operation. Takes x, y, deg.

scpl0(p)

Performs the operation. Takes p.

Numerical integration

sciqd(fn, a, b)

Performs the operation. Takes fn, a, b.

scdbl(fn, xa, xb, ya, yb)

Performs the operation. Takes fn, xa, xb, ya, yb.

Special functions

cgmma(x)

Performs the operation. Takes x.

scbta(a, b)

Performs the operation. Takes a, b.

cierf(x)

Performs the operation. Takes x.

scbss(n, x)

Performs the operation. Takes n, x.

scbsy(n, x)

Performs the operation. Takes n, x.

Data fitting

scgss(x, y)

Performs the operation. Takes x, y.

cxpft(x, y)

Performs the operation. Takes x, y.

scpwf(x, y)

Performs the operation. Takes x, y.

Notes

  • Scientific computing - statistics, linear algebra, calculus.