Liking cljdoc? Tell your friends :D

org.clojars.punit-naik.clj-ml.utils.linear-algebra


eval-fnclj

(eval-fn eq x)

Evaluates a function ax^n+bx^n-1+...+z represented by a collection of it's coefficients [a b ... z] at the value x

Evaluates a function ax^n+bx^n-1+...+z represented by a collection of it's coefficients [a b ... z]
at the value `x`
sourceraw docstring

factorsclj

(factors num)
(factors num decimal?)

Finds all the factors of a number

Finds all the factors of a number
sourceraw docstring

find-all-possible-solutionsclj

(find-all-possible-solutions coefficients)

Given the a to z terms of the euqation ax ^n+....+z=0 as a collection This function finds all the possible roots of this equation

Given the a to z terms of the euqation ax ^n+....+z=0 as a collection
This function finds all the possible roots of this equation
sourceraw docstring

isa-solution?clj

(isa-solution? coefficients root)

Given the a to z terms of the quadratic euqation ax^n+....+z=0 as a collection And the root, this function checks if the same root is a solution for the euqation or not And returns the new reduced equation for finding the remaining roots using Synthetic Division

Given the a to z terms of the quadratic euqation ax^n+....+z=0 as a collection
And the root, this function checks if the same root is a solution for the euqation or not
And returns the new reduced equation for finding the remaining roots using Synthetic Division
sourceraw docstring

newtons-methodclj

(newtons-method eq eq-deriv precision x-0)

Uses Newton's method t find the root of an equation ax^n+bx^n-1+...+z Represented as a collection of it's coefficients [a b ... z] It selects a root for precision upto the number set by the arg precision

Uses Newton's method t find the root of an equation ax^n+bx^n-1+...+z
Represented as a collection of it's coefficients [a b ... z]
It selects a root for precision upto the number set by the arg `precision`
sourceraw docstring

solve-equationcljmultimethod

Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation

Given the a to z terms of the euqation ax^n+....+z=0
This returns all the roots for the equation
sourceraw docstring

solve-equation-newtons-methodclj

(solve-equation-newtons-method coefficients)

Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using newton's method

Given the a to z terms of the euqation ax^n+....+z=0
This returns all the roots for the equation using newton's method
sourceraw docstring

solve-equation-synthetic-divisionclj

(solve-equation-synthetic-division coefficients)

Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using synthetic division

Given the a to z terms of the euqation ax^n+....+z=0
This returns all the roots for the equation using synthetic division
sourceraw docstring

solve-quadratic-equationclj

(solve-quadratic-equation {:keys [a b c]})

Given the a,b and c terms of the quadratic euqation ax^2+bx+c=0 This returns a pair of solutions for x

Given the a,b and c terms of the quadratic euqation ax^2+bx+c=0
This returns a pair of solutions for x
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close