Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
ChemistryFunctions
Guides
Wolfram Chemistry Functions
Symbols
AlkaneName
AlkaneQ
AtomChirality
AtomSelector3D
AtomSelector
BohrModelPlot
BondStereo
ChemicalFormulaQ
ChemicalReactionQ
ConstitutionalIsomersQ
DiastereomersQ
EmbeddedMoleculeQ
EmpiricalFormula
EmptyMoleculeQ
EnantiomersQ
EpimersQ
FormatMoleculesAsGraphics
HydrocarbonQ
ImportComputationalChemistryData
IonCounts
MoleculeDelete
MoleculeGridPlot3D
MoleculeGridPlot
MoleculeJoin
MoleculeManipulate3D
MoleculeManipulate
MoleculeMirrorPlot3D
MoleculePatternQ
MoleculePlotOptions
MoleculeScaffold
MoleculeSubstructureMatches
PatternReactionQ
PeriodicTablePlot
RandomAlkane
RandomMolecule
RingMoleculeQ
RingPattern
SmilesPlot
StereoisomersQ
WolframChemistry`ChemistryFunctions`
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
Q
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
Q
[
f
]
r
e
t
u
r
n
s
T
r
u
e
i
f
f
i
s
a
v
a
l
i
d
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
o
b
j
e
c
t
a
n
d
F
a
l
s
e
o
t
h
e
r
w
i
s
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
3
)
Basic Examples
(
2
)
A string is not a valid ChemicalFormula object:
I
n
[
1
]
:
=
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
Q
[
"
C
H
3
"
]
O
u
t
[
1
]
=
F
a
l
s
e
I
n
[
2
]
:
=
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
Q
C
H
3
O
u
t
[
2
]
=
T
r
u
e
When given invalid input,
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
will return unevaluated, as is common in Wolfram Language functions:
I
n
[
1
]
:
=
f
o
r
m
1
=
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
[
"
X
^
n
"
]
O
u
t
[
1
]
=
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
[
X
^
n
]
I
n
[
2
]
:
=
f
o
r
m
2
=
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
[
"
C
6
H
5
C
H
[
C
H
(
C
H
3
)
N
(
C
H
3
)
2
]
O
H
"
]
O
u
t
[
2
]
=
C
6
H
5
C
H
(
C
H
(
C
H
3
)
N
(
C
H
3
)
2
)
O
H
Both the valid and invalid formula have the head
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
:
I
n
[
3
]
:
=
M
a
t
c
h
Q
[
#
,
_
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
]
&
/
@
{
f
o
r
m
1
,
f
o
r
m
2
}
O
u
t
[
3
]
=
{
T
r
u
e
,
T
r
u
e
}
Use a PatternTest to differentiate valid from invalid chemical formulas:
I
n
[
4
]
:
=
M
a
t
c
h
Q
#
,
_
?
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
Q
&
/
@
{
f
o
r
m
1
,
f
o
r
m
2
}
O
u
t
[
4
]
=
{
F
a
l
s
e
,
T
r
u
e
}
A
p
p
l
i
c
a
t
i
o
n
s
(
1
)
S
e
e
A
l
s
o
C
h
e
m
i
c
a
l
F
o
r
m
u
l
a
▪
M
o
l
e
c
u
l
e
Q
▪
C
h
e
m
i
c
a
l
R
e
a
c
t
i
o
n
Q
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
W
o
l
f
r
a
m
C
h
e
m
i
s
t
r
y
F
u
n
c
t
i
o
n
s
"
"