uncomplicate.neanderthal.real

Contains type-specific primitive floating point functions, equivalents of functions from the uncomplicate.neanderthal.core namespace. Typically, you would want to require this namespace if you need to compute real matrices containing doubles and/or floats.

Example

(ns test
  (:require [uncomplicate.neanderthal
            [core :refer :all :exclude [entry entry! dot nrm2 asum sum]]
            [real :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!.

ls-residual

(ls-residual a b)

Computes the residual sum of squares for the solution of a linear system returned by uncomplicate.neanderthal.linalg/ls! (Linear Least Squares (LLS) problem).

nrm2

(nrm2 x)

Primitive wrapper of uncomplicate.neanderthal.core/nrm2.

sum

(sum x)

Primitive wrapper of uncomplicate.neanderthal.core/sum.