File: igorpro

package info (click to toggle)
ruby-rouge 4.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,844 kB
  • sloc: ruby: 38,489; sed: 2,071; perl: 152; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#pragma TextEncoding = "UTF-8"
#pragma rtGlobals=3		// Use modern global access method and strict wave access.

Function/WAVE MakeWave(name)
	String name

	Make/N=(8,8) root:$name/WAVE=wv = p^2 + q^2
	return wv
End