Google

Yorick Reference Card

yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

Yorick Language Reference

Creating Arrays

[ obj1, obj2, ..., objN] build an array of N objects
The objI may be arrays to build multi-dimensional arrays.
array(value, dimlist) add dimensions dimlist to value
array(type_name, dimlist) return specified array, all zero
span(start, stop, n) n equal stepped values from start to stop
spanl(start, stop, n) n equal ratio values from start to stop
grow, var, sfx1, sfx2, ... append sfx1, sfx1, etc. to var

These functions may be used to generate multi-dimensional arrays; use help for details.