6 Контейнеры данных
Octave поддерживает три различных механизма для хранения данных произвольных типов в одной переменной: структуры, подобные структурам в C и индексируемые по именованным полям; объекты containers.Map, хранящие данные в виде пар «ключ/значение»; и массивы ячеек, в которых каждый элемент может иметь собственный тип данных и форму. Несколько входных аргументов и возвращаемых значений функций организуются в ещё один контейнер данных — список, разделённый запятыми.
© 1996–2026 The Octave Project Developers
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://docs.octave.org/v9.4.0/Data-Containers.html