Difference between revisions of "Isnucleus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
Line 19: Line 19:
  
 
[[Spin system specification]]
 
[[Spin system specification]]
 
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 12:26, 25 April 2026

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