examples: add most docstrings

This commit is contained in:
Michael McLoughlin
2018-12-27 23:09:44 -08:00
parent 9f5277bf8e
commit 2ffc7d7fd5
18 changed files with 43 additions and 23 deletions

View File

@@ -2,8 +2,11 @@
package complex
func Real(x complex128) float64
// Real returns the real part of z.
func Real(z complex128) float64
func Imag(x complex128) float64
// Imag returns the imaginary part of z.
func Imag(z complex128) float64
func Norm(x complex128) float64
// Norm returns the complex norm of z.
func Norm(z complex128) float64