isnucleus.m

From Spinach Documentation Wiki
Revision as of 19:25, 1 January 2018 by Kuprov (talk | contribs) (→‎See also)
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


Version 2.1, authors: Ilya Kuprov