Kigubkur 0.2.0

Released under the Propietary Public Domain Software (without source) License

ki-gub-kúr

ki-gub-kúr (transliteration of the Sumerian cuneiform signs 𒆠 𒁺 𒉽 and translation ki-gub ↔ state [CONDITION] and kúr ↔ variable [CHANGING]) is a Clojure (pure) library with its basis on basic matrix/vector operations aimed at state-variable approach to problem solving.

>Installation

Download kigubkur-0.2.0.jar and make it as a dependency in your project by moving the downloaded file into the directory ~/<<project-name>>/resources/ and make it as a dependency in your project as follows.

>For Leiningen

In ~/<<project-name>>/project.clj file insert

:dependencies [[kigubkur "0.2.0"]]

Run the command

lein repl

This will create ~/.m2/repository/kigubkur/kigubkur/0.2.0/. Therefore, copy the downloaded jar file into the created directory

cp ~/path/to/downloaded/kigubkur-0.2.0.jar ~/.m2/repository/kigubkur/kigubkur/0.2.0/kigubkur-0.2.0.jar

Run lein repl again to confirm the installation.

>For vanilla Clojure

In ~/<<project-name>>/deps.edn file insert

{:deps
      {db/driver {:local/root "/path/to/db/driver.jar"}}}

Topics

Namespaces

kigubkur.constants

kigubkur.construct.blocking

Construct a block from a kigubkur© matrix or its inverse (unblock).

Public variables and functions:

kigubkur.construct.colon

Construct a Clojure vector for a given interval.

Public variables and functions:

kigubkur.construct.insert

Construct a kigubkur© matrix by injection.

Public variables and functions:

kigubkur.construct.merge

Construct a kigubkur© matrix by assimilation.

Public variables and functions:

kigubkur.construct.pick

Construct a kigubkur© matrix or a number by selecting from a kigubkur© matrix.

Public variables and functions:

kigubkur.construct.reshape

Construct a kigubkur© matrix by reshaping a kigubkur© matrix into the desired order [m n].

Public variables and functions:

kigubkur.core

Default namespace containing most of the kigubkur© functions.

Public variables and functions:

kigubkur.datafun.maximum

Maximum function

Public variables and functions:

kigubkur.datafun.minimum

Minimum function

Public variables and functions:

kigubkur.datafun.sum

Sum function

Public variables and functions:

kigubkur.dig.index

Indexing function returns (if found) the index of a scalar element in a kigubkur© matrix (or block). Note that the index follows kigubkur© indexing strategy; rows indices follow 1, …, m and column indices follow 1, …, n. Thus, index starts from 1 and NOT from 0.

Public variables and functions:

kigubkur.dig.order

Dig into a kigubkur© matrix (or block) by getting its order (m × n).

Public variables and functions:

kigubkur.dig.viewer

Dig into a kigubkur© matrix by visualizing it.

Public variables and functions:

kigubkur.elfun.ceil

Elementary Function: ceiling function, ⌈x⌉ = smallest integer ≥ x.

Public variables and functions:

kigubkur.elfun.cube

Elementary Function: cubing function.

Public variables and functions:

kigubkur.elfun.exp

Elementary Function: exponential function.

Public variables and functions:

kigubkur.elfun.floor

Elementary Function: floor function, ⌊x⌋ = greatest integer ≤ x.

Public variables and functions:

kigubkur.elfun.heaviside

Elementary Function: Heaviside functions.

Public variables and functions:

kigubkur.elfun.logarithm

Elementary Function: Logarithm functions.

Public variables and functions:

kigubkur.elfun.reciprocal

Elementary Function: reciprocal of a number or all the elements (numbers) of a kigubkur© matrix (block included).

Public variables and functions:

kigubkur.elfun.signum

Elementary Function: Signum or sign function.

Public variables and functions:

kigubkur.elfun.square

Elementary Function: squaring function.

Public variables and functions:

kigubkur.elfun.squareroot

Elementary Function: squareroot function.

Public variables and functions:

kigubkur.elmat.eye

Elementary Matrix: kigubkur© matrix of all 1 in diagonal, [[1ii]]m × n.

Public variables and functions:

kigubkur.elmat.ones

Elementary Matrix: kigubkur© matrix of all ones [[1]]m × n.

Public variables and functions:

kigubkur.elmat.random

Elementary Matrix: kigubkur© matrix of all random elements [[rij]]m × n

Public variables and functions:

kigubkur.elmat.zeros

Elementary Matrix: kigubkur© matrix of all zeros [[0]]m × n

Public variables and functions:

kigubkur.io.readers

I/O: Reading function

Public variables and functions:

kigubkur.io.writers

I/O: Writing function

Public variables and functions:

kigubkur.matfun.inverse

xys

Public variables and functions:

    kigubkur.mod.absolute

    Modify: to absolute value of a number or all the elements (numbers) of a kigubkur© matrix.

    Public variables and functions:

    kigubkur.mod.changesign

    Modify: to opposite sign of a number or all the elements (numbers) of a kigubkur© matrix (block included).

    Public variables and functions:

    kigubkur.mod.coerce

    Modify: to coerce the number type of a number or all the elements (numbers) of a kigubkur© matrix (block included).

    Public variables and functions:

    kigubkur.mod.transpose

    Modify: to transpose kigubkur© matrix (block included)

    Public variables and functions:

    kigubkur.op.edivide

    Operate: element-wise division (applicable to blocks).

    Public variables and functions:

    kigubkur.op.epower

    Operate: element-wise exponentiation (applicable to blocks).

    Public variables and functions:

    kigubkur.op.etimes

    Operate: element-wise multiplication (applicable to blocks).

    Public variables and functions:

    kigubkur.op.minus

    Operate: subtraction (applicable to blocks).

    Public variables and functions:

    kigubkur.op.mtimes

    Operate: matrix multiplication (applicable to blocks).

    Public variables and functions:

    kigubkur.op.plus

    Operate: addition (applicable to blocks).

    Public variables and functions:

    kigubkur.pred.ecompare

    Predicate: for element-wise comparisons of kigubkur© matrices (or blocks).

    Public variables and functions:

    kigubkur.pred.elementary

    Predicate: for elementary checks.

    Public variables and functions:

    kigubkur.pred.type-base

    Predicate: for core kigubkur© matrix; [[mij]]m × n.

    kigubkur.pred.type-special

    Predicate: for special matrices defined in kigubkur©.