isnucleus.m

From Spinach Documentation Wiki
Revision as of 11:59, 28 July 2023 by Kuprov (talk | contribs)
Jump to: navigation, search

Returns true if the particle specification is not an electron, a neutron, a muon, or a ghost.

Syntax

    verdict=isnucleus(spin_spec)

Arguments

    spin_spec - a character string

Outputs

    verdict - true for a nucleus known to Spinach, false
              for an electron, a muon, a neutron, or a ghost

See also

spin.m, gtensorof.m

Spin system specification


Version 2.8, authors: Ilya Kuprov