Trivial.Chemistry
2.0.0
.NET 5.0
.NET Core 3.1
.NET Standard 2.0
.NET Framework 4.6.1
Suggested Alternatives
Additional Details
Please update to the latest version.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Trivial.Chemistry --version 2.0.0
NuGet\Install-Package Trivial.Chemistry -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Trivial.Chemistry" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Trivial.Chemistry --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Trivial.Chemistry, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Trivial.Chemistry as a Cake Addin
#addin nuget:?package=Trivial.Chemistry&version=2.0.0
// Install Trivial.Chemistry as a Cake Tool
#tool nuget:?package=Trivial.Chemistry&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This library includes the basic chemistry models.
using Trivial.Chemistry;
Element
You can get the element from periodic table by its symbol or atomic numbers.
var oxygen = ChemicalElement.Get(8);
var gold = ChemicalElement.Get("Au");
var carbon = ChemicalElement.C;
Isotope
And you can create an isotope from an element.
var diplogen = ChemicalElement.H.Isotope(2);
Molecular formula
You can parse a molecular formula.
var carbonicAcid = MolecularFormula.Parse("H2CO3");
Or create a molecular formula by merging elements and other molecular formulas.
var sulfuricAcid = ChemicalElement.H * 2 + ChemicalElement.S + ChemicalElement.O * 4;
var ethanol = MolecularFormula.Parse("CH3") + MolecularFormula.Parse("CH2") + MolecularFormula.Parse("OH");
var iron = (MolecularFormula)ChemicalElement.Fe;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Trivial (>= 3.8.0)
-
.NETFramework 4.6.1
- System.Text.Json (>= 5.0.2)
- Trivial (>= 3.8.0)
-
.NETFramework 4.8
- System.Text.Json (>= 5.0.2)
- Trivial (>= 3.8.0)
-
.NETStandard 2.0
- System.Text.Json (>= 5.0.2)
- Trivial (>= 3.8.0)
-
net5.0
- Trivial (>= 3.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
7.1.0 | 53 | 5/8/2023 | |
7.0.0 | 193 | 1/20/2023 | |
6.6.0 | 255 | 11/9/2022 | |
6.5.0 | 335 | 6/28/2022 | |
6.4.0 | 358 | 4/14/2022 | |
6.3.0 | 339 | 3/8/2022 | |
6.2.0 | 347 | 1/30/2022 | |
6.1.0 | 352 | 1/23/2022 | |
6.0.0 | 186 | 1/1/2022 | |
5.2.0 | 201 | 12/15/2021 | |
5.1.0 | 198 | 12/2/2021 | |
5.0.0 | 197 | 11/27/2021 | |
4.0.0 | 225 | 11/9/2021 | |
4.0.0-preview4 | 204 | 10/13/2021 | |
4.0.0-preview3 | 149 | 9/15/2021 | |
4.0.0-preview2 | 157 | 8/11/2021 | |
4.0.0-preview1 | 201 | 6/18/2021 | |
3.9.0 | 191 | 12/15/2021 | |
3.0.0 | 228 | 11/9/2021 | |
2.4.0 | 281 | 5/30/2021 | |
2.3.0 | 282 | 5/23/2021 | |
2.2.0 | 357 | 5/19/2021 | |
2.1.0 | 476 | 5/17/2021 | |
2.0.0 | 597 | 5/16/2021 | |
1.0.1 | 516 | 5/13/2021 | |
1.0.0 | 487 | 5/13/2021 |