Skip to content

cgore/clojure-rosenbrock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rosenbrock

Clojars Project

A Clojure library for implementing the Rosenbrock function.

https://en.wikipedia.org/wiki/Rosenbrock_function

Usage

Add the following to your project.clj:

[com.cgore/rosenbrock "0.1.0"]

And then in your actual code:

(ns your.cool.code
  (:require [rosenbrock.core :as rosenbrock]))

(let [x 12.2
      y 14.779]
  (rosenbrock/original x y))

(let [a 12
      b 147
      x 12.2
      y 14.779]
  (rosenbrock/original a b x y))

(let [a 12
      b 147
      x 12.2
      y 14.779
      o2 (partial rosenbrock/original a b)]
  (o2 x y))

License

Copyright © 2019 Christopher Mark Gore, Soli Deo Gloria, all rights reserved.

This program and the accompanying materials are made available under the terms of the Apache License Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0.txt

About

A Clojure library for implementing the Rosenbrock function.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors