uncomplicate.neanderthal.integer

Contains type-specific primitive integer functions, equivalents of functions from the uncomplicate.neanderthal.core namespace. Typically, you would want to require this namespace if you need to compute matrices that contain longs and/or ints. Please keep in mind that most of higher-level BLAS functions are supported for integers. For example, operations such as matrix multiplication is not supported for integers, nor it makes much sense in general case for big matrices.

Example

(ns test
  (:require [uncomplicate.neanderthal
            [core :refer :all :exclude [entry entry! dot nrm2 asum sum]]
            [integer :refer :all]]))

amax

(amax x)

Primitive wrapper of uncomplicate.neanderthal.core/amax.

asum

(asum x)

Primitive wrapper of uncomplicate.neanderthal.core/asum.

dot

(dot x y)

Primitive wrapper of uncomplicate.neanderthal.core/dot.

entry

(entry x i)(entry a i j)

The primitive, much faster, version of uncomplicate.neanderthal.core/entry.

entry!

(entry! x val)(entry! x i val)(entry! a i j val)

The primitive, much faster, version of uncomplicate.neanderthal.core/entry!.

nrm2

(nrm2 x)

Primitive wrapper of uncomplicate.neanderthal.core/nrm2.

sum

(sum x)

Primitive wrapper of uncomplicate.neanderthal.core/sum.