====== Integral ======
###
table of double, read only
###
###
If //G// is a spectrum object //G.Integral// returns a list of length //G.N// stating the integral of the spectrum $-\frac{1}{\pi}\int_{-\infty}^{\infty}G(\omega)\mathrm{d}\omega$. Note that this value is independent of //G.Emin// and //G.Emax// and includes spectral weight outside the region stored in the spectral object. The integral is calculated during the creation of the spectral object and carried on during manipulation.
###
===== Example =====
###
Print the integral of the spectra calculated in the [[documentation:language_reference:objects:spectra:start|definitions file]] for spectra.
###
==== Input ====
dofile("definitions.Quanty")
print(G.Integral)
==== Result ====
{ 2.85 , 1.2 , 1.65 }
===== Available functions =====
{{indexmenu>../functions/#1}}
===== Available methods =====
{{indexmenu>../methods/#1}}
===== Available properties =====
{{indexmenu>.#1}}