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]]))
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).