Difference between revisions of "Isnucleus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     verdict=isnucleus(spin_spec)
 
     verdict=isnucleus(spin_spec)
  
==Arguments==
+
==Parameters==
  
 
     spin_spec - a character string
 
     spin_spec - a character string

Revision as of 18:49, 5 June 2026

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

Syntax

    verdict=isnucleus(spin_spec)

Parameters

    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