aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-11-11 21:23:31 -0500
committerFranklin Wei <me@fwei.tk>2018-11-11 21:23:31 -0500
commitb79dbbe6f8514469c07695a6f85e555332e56ca1 (patch)
tree745c925d7018727071e06768ce563008cf53e6b5 /README.md
downloadcircgraph-b79dbbe6f8514469c07695a6f85e555332e56ca1.zip
circgraph-b79dbbe6f8514469c07695a6f85e555332e56ca1.tar.gz
circgraph-b79dbbe6f8514469c07695a6f85e555332e56ca1.tar.bz2
circgraph-b79dbbe6f8514469c07695a6f85e555332e56ca1.tar.xz
Initial commit
A mostly functional proof-of-concept
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..de2f5e7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# circgraph
+
+This is a tool for calculating equivalent
+resistances/impedances/capacitances for a circuit (represented as a
+graph, hence "circuit graph"), written in C++.
+
+# Motivation
+
+This program exists for three reasons: boredom, a desire to brush up
+on my C++, and -- most importantly -- laziness. Why do tedious
+arithmetic when you can spend hours writing a program to do it for
+you?
+
+# Usage
+
+Compile with:
+
+```
+g++ main.cpp -o circgraph
+```
+
+`circgraph` takes input from stdin in the following format:
+
+<source_node> <sink_node>
+<node1> [<neighbor1> <resistance2>]...
+<node2>
+...
+<noden>
+
+See the `testX.txt` files for more.