summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/various/compose-examples.cir
diff options
context:
space:
mode:
authorrahulp132020-03-03 05:31:58 +0530
committerrahulp132020-03-03 05:31:58 +0530
commitdfc268e0863c913a1b8726cd54eea3b40caf7c67 (patch)
tree1cd82634684da5ae86b558d44756189e080545d4 /Windows/spice/examples/various/compose-examples.cir
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/various/compose-examples.cir')
-rw-r--r--Windows/spice/examples/various/compose-examples.cir32
1 files changed, 32 insertions, 0 deletions
diff --git a/Windows/spice/examples/various/compose-examples.cir b/Windows/spice/examples/various/compose-examples.cir
new file mode 100644
index 00000000..25206cee
--- /dev/null
+++ b/Windows/spice/examples/various/compose-examples.cir
@@ -0,0 +1,32 @@
+compose examples
+
+.control
+compose vec1 values (-3) (-5) 4 6
+echo $&vec1
+echo
+compose vec2 values (-3) (-5*PI) 4 6*e
+echo $&vec2
+echo
+compose vec3 start=-3 stop=7 step = 2
+echo $&vec3
+echo
+compose vec4 start=-3 stop=7 step = 2 lin=19
+*warning, step is ignored
+echo $&vec4
+echo
+compose vec5 dec=3 start=0.1 stop=10
+echo $&vec5
+echo
+compose vec6 dec=3 start=-0.1 stop=10
+*error, value is negative
+echo $&vec6
+echo
+compose vec7 log=3 start=0.1 stop=10
+echo $&vec7
+echo
+compose vec8 gauss=10 mean=1 sd=0.2
+echo $&vec8
+echo
+.endc
+
+.end