Module:TA4TK:myTest: Difference between revisions

From MaRDI portal
Koprucki (talk | contribs)
No edit summary
Koprucki (talk | contribs)
No edit summary
Line 6: Line 6:
local str = "Hello World!"
local str = "Hello World!"
return str
end
p.schroedinger = function ( frame )
local str = "\\mathrm i\\hbar \frac{d}{dt} |\\Psi(t)\rangle = \\hat{H} |\\Psi(t)\rangle"
return str
return str

Revision as of 10:09, 17 December 2024

Documentation for this module may be created at Module:TA4TK:myTest/doc

-- Main table to hold all functions

local p = {}

p.hello = function( frame )
	
	local str = "Hello World!"
	
	return str
end

p.schroedinger = function ( frame )

	local str = "\\mathrm i\\hbar \frac{d}{dt} |\\Psi(t)\rangle = \\hat{H} |\\Psi(t)\rangle"
	
	return str
end

return p