You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local exports = {}
local function trim(str)
return str:gsub("^%s*", ""):gsub("%s*$", "")
end
local anchor_template = [[<span id="field_$name"></span>]]
local name_template = [[<code>$name</code>]]
local template = trim [=[
=== Column fields $colanchors ===
Column fields in the form <code>c''N''</code> ($colnames) read the values in the specified column as a {{type|Vector$T}}.
The field produces the same result as an equivalent call to [[#getColumn|<code>getColumn(n)</code>]].
Column fields are also available by indexing by the column number alone (i.e. <code>mat[1]</code>.)
=== Row fields $rowanchors ===
Row fields in the form <code>r''N''</code> ($rownames) read the values in the specified row as a {{type|Vector$T}}.
The field produces the same result as an equivalent call to [[#getRow|<code>getRow(n)</code>]].
000
1:0
Template used on this page:
Return to Module:MatrixFields.