FSharpBio


Elements

Namespace: FSharpBio

Nested types and modules

TypeDescription
DiIsotopic

Di-isotopic elements consist of two isotopes

Element

Discriminant union type of Mono-,Di-,Tri- and Multi-isotopic elements

MonoIsotopic

Mono-isotopic elements consist of one isotope

MultiIsotopic

Multi-isotopic elements consist of more than three isotopes

TriIsotopic

Tri-isotopic elements consist of three isotopes

ModuleDescription
Table

Functions and values

Function or valueDescription
createDi symbol (x, xcomp) (x1, x1comp)
Signature: symbol:string -> (x:Isotope * xcomp:float) -> (x1:Isotope * x1comp:float) -> DiIsotopic

Create a di-isotopic element

createMono symbol (x, xcomp)
Signature: symbol:string -> (x:Isotope * xcomp:float) -> MonoIsotopic

Create a mono-isotopic element

createMulti (...)
Signature: symbol:string -> (x:Isotope * xcomp:float) -> (x1:Isotope * x1comp:float) -> (x2:Isotope * x2comp:float) -> xl:Isotope [] -> MultiIsotopic

Create a multi-isotopic element

createTri (...)
Signature: symbol:string -> (x:Isotope * xcomp:float) -> (x1:Isotope * x1comp:float) -> (x2:Isotope * x2comp:float) -> TriIsotopic

Create a three-isotopic element

getMainIsotope elem
Signature: elem:Element -> Isotope

Returns the main isotop of an Element

getSinglePhiL elem v l
Signature: elem:Element -> v:float -> l:float -> float
getSinglePhiM elem v l
Signature: elem:Element -> v:float -> l:float -> float
Fork me on GitHub