Accessor ROW-MAJOR-AREF
row-major-aref array index => element
(setf (row-major-aref array index) new-element)
array - 配列
index - arrayの有効な配列のrow-majorインデックス
element, new-element - オブジェクト
配列をrow-majorの順番に要素が配置されているようなvectorであると考え、 指定したindexで参照されるvectorの要素を返却します。
row-major-arefはsetfでの使用が有効です。
なし。
なし。
なし。
なし。
(row-major-aref array index) ==
(aref (make-array (array-total-size array)
:displaced-to array
:element-type (array-element-type array))
index)(aref array i1 i2 ...) ==
(row-major-aref array (array-row-major-index array i1 i2))