Skip to content

Commit 0873c81

Browse files
committed
Published as an npm package! I will be migrating the python version to another repo.
1 parent d5f6496 commit 0873c81

File tree

12 files changed

+141
-142
lines changed

12 files changed

+141
-142
lines changed

.DS_Store

2 KB
Binary file not shown.

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Bisection-Method
2-
A quick implementation of the Bisection Method in TypeScript and Python.
2+
A quick implementation of the Bisection Method in TypeScript.

dist/bisection.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export declare function bisection(f: ((x: number) => number) | string, min: number, max: number, maxIter?: number, annoyingConsoleLogs?: boolean): number | [number, number] | 'ERROR';
2+
export declare function testBisectionFunction(): void;

dist/bisection.js

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bisection.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { bisection, testBisectionFunction } from './bisection';

dist/index.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.py

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)