Difference between revisions of "Isnucleus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(See also)
Line 1: Line 1:
{{DISPLAYTITLE:isnucleus.m}}
+
{{DISPLAYTITLE:isnucleus.m}} __NOTOC__
 
Returns true if the particle specification is not an electron, a neutron, a muon, or a ghost.
 
Returns true if the particle specification is not an electron, a neutron, a muon, or a ghost.
  
Line 18: Line 18:
 
[[spin.m]], [[gtensorof.m]]
 
[[spin.m]], [[gtensorof.m]]
  
 +
[[Spin system specification]]
  
''Version 2.1, authors: [[Ilya Kuprov]]''
+
 
 +
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 11:59, 28 July 2023

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