Liking cljdoc? Tell your friends :D
Clojure only.

diman.buckingham.dimensional-matrix

Contains function

  • generate-dimmat

Given

(def varpars [ {:symbol "x", :quantity "length"}
               {:symbol "v", :quantity "velocity"}
               {:symbol "t", :quantity "time"}
               {:symbol "a", :quantity "acceleration"} ])

to get the dimensional matrix of the system containing (only) the above dimensional quantities

=> (generate-dimmat varpars)
[[1N 1N 0 1N] [0 -1N 1N -2N]]
Contains function

 - `generate-dimmat`

Given
```
(def varpars [ {:symbol "x", :quantity "length"}
               {:symbol "v", :quantity "velocity"}
               {:symbol "t", :quantity "time"}
               {:symbol "a", :quantity "acceleration"} ])
```
to get the [dimensional matrix](https://neuralgraphs.com/lectures/diman/lectp8.html#p4_thispage) of the system containing (only) the above dimensional quantities
```
=> (generate-dimmat varpars)
[[1N 1N 0 1N] [0 -1N 1N -2N]]
```
raw docstring

generate-dimmatclj

(generate-dimmat varpars)
source

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

× close