|
|
(15 intermediate revisions by 4 users not shown) |
Line 3: |
Line 3: |
| *[[ Z3 | << Z3 Home ]] | | *[[ Z3 | << Z3 Home ]] |
| *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]] | | *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]] |
| + | *[[ Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member Functions]] |
| + | *[[ Z%5E3_Map_Reduce | Map Reduce]] |
| + | |
| + | |
| | | |
| | | |
Line 47: |
Line 51: |
| | | |
| b=a.chunks(10) | | b=a.chunks(10) |
− | b.$$(SUM) | + | </br>b.$$(SUM) |
| | | |
| {| class="wikitable"|- | | {| class="wikitable"|- |
Line 72: |
Line 76: |
| | | |
| | | |
− | *[[ Z3 | << Z3 Home ]]
| |
− | *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]]
| |
− |
| |
− | ==ARRAY FUNCTIONS==
| |
− | A listing of the Array functions are given below:
| |
| | | |
− | Function name Parameter
| |
− | {|border="1" cellpadding="5" cellspacing="0"
| |
− | |-
| |
− | ! Function Name !! Parameters
| |
− | |-
| |
− | | $ ||
| |
− | |-
| |
− | | $$ ||
| |
− | |-
| |
− | | $$$ ||
| |
− | |-
| |
− | | $$F ||
| |
− | |-
| |
− | | $A || Parameter
| |
− | |-
| |
− | | $C ||
| |
− | |-
| |
− | | $CELLS ||
| |
− | |-
| |
− | | $R ||
| |
− | |-
| |
− | | $X ||
| |
− | |-
| |
− | | $_ ||
| |
− | |-
| |
− | | $d ||
| |
− | |-
| |
− | | $diag ||
| |
− | |-
| |
− | | $dth ||
| |
− | |-
| |
− | | $x ||
| |
− | |-
| |
− | | X$ ||
| |
− | |-
| |
− | | ZJSON ||
| |
− | |-
| |
− | | __$ ||
| |
− | |-
| |
− | | ac ||
| |
− | |-
| |
− | | accumulate || Total
| |
− | |-
| |
− | | accumulatewith || CumulateFunction,CurrentResult
| |
− | |-
| |
− | | across || OtherArray, Function
| |
− | |-
| |
− | | add || Thing
| |
− | |-
| |
− | | addcolumn || NumberOfColumns
| |
− | |-
| |
− | | addrow || NumberOfRows
| |
− | |-
| |
− | | addsequence || InFront,StartFrom,OptionalSequenceArray
| |
− | |-
| |
− | | adjoint || Array
| |
− | |-
| |
− | | aggregate || Columns,Function, Params
| |
− | |-
| |
− | | any || Count
| |
− | |-
| |
− | | appendfunction || Function
| |
− | |-
| |
− | | ar ||
| |
− | |-
| |
− | | async || Iterator, CallBack
| |
− | |-
| |
− | | atindex ||
| |
− | |-
| |
− | | atnode || Function,SubtractByArray,ScaleByArray,DoNotShowIndices
| |
− | |-
| |
− | | backward || Function, StartValue
| |
− | |-
| |
− | | bindcolumn ||
| |
− | |-
| |
− | | branch ||
| |
− | |-
| |
− | | branchvalues ||
| |
− | |-
| |
− | | c ||
| |
− | |-
| |
− | | calci ||
| |
− | |-
| |
− | | car ||
| |
− | |-
| |
− | | cartesianproduct || IsWithoutFlatten
| |
− | |-
| |
− | | cdr ||
| |
− | |-
| |
− | | cell || Row, Column, Width, Height
| |
− | |-
| |
− | | cells ||
| |
− | |-
| |
− | | checktype || TypeArray,ForceCheckOnVariables
| |
− | |-
| |
− | | chunks || ChunkSize
| |
− | |-
| |
− | | ci ||
| |
− | |-
| |
− | | clean || Expression, ReplaceWith
| |
− | |-
| |
− | | clear || FillWith
| |
− | |-
| |
− | | clearcopy || FillWith
| |
− | |-
| |
− | | clearrepeats ||
| |
− | |-
| |
− | | clone ||
| |
− | |-
| |
− | | colconcat ||
| |
− | |-
| |
− | | colcount ||
| |
− | |-
| |
− | | collect ||
| |
− | |-
| |
− | | collectasvector ||
| |
− | |-
| |
− | | collectwhile ||
| |
− | |-
| |
− | | collectwhileasvector ||
| |
− | |-
| |
− | | column ||
| |
− | |-
| |
− | | columnconcat ||
| |
− | |-
| |
− | | columns ||
| |
− | |-
| |
− | | compare ||
| |
− | |-
| |
− | | concatall || LimitArray, IncludeEdges
| |
− | |-
| |
− | | converge || Function, NumberOfIterations, Accuracy, Converge
| |
− | |-
| |
− | | copy ||
| |
− | |-
| |
− | | core ||
| |
− | |-
| |
− | | count || FirstLevelOnly
| |
− | |-
| |
− | | crosstab || RowSet, ColSet,PageSet,DataSet
| |
− | |-
| |
− | | cube ||
| |
− | |-
| |
− | | cumcolumn ||
| |
− | |-
| |
− | | cumcolumns ||
| |
− | |-
| |
− | | cumcolumnswith ||
| |
− | |-
| |
− | | cumcolumnwith ||
| |
− | |-
| |
− | | cumrow ||
| |
− | |-
| |
− | | cumrows ||
| |
− | |-
| |
− | | cumrowswith ||
| |
− | |-
| |
− | | cumrowwith ||
| |
− | |-
| |
− | | cumulate ||
| |
− | |-
| |
− | | data ||
| |
− | |-
| |
− | | dc ||
| |
− | |-
| |
− | | deal || Within, ManyInEach
| |
− | |-
| |
− | | deepcopy ||
| |
− | |-
| |
− | | deletecolumn || Where
| |
− | |-
| |
− | | deleterow || Where
| |
− | |-
| |
− | | det || Array
| |
− | |-
| |
− | | determinant ||
| |
− | |-
| |
− | | dim ||
| |
− | |-
| |
− | | div ||
| |
− | |-
| |
− | | divide ||
| |
− | |-
| |
− | | dr ||
| |
− | |-
| |
− | | drop ||
| |
− | |-
| |
− | | dropwhile ||
| |
− | |-
| |
− | | dropwhileasvector ||
| |
− | |-
| |
− | | eighteenth ||
| |
− | |-
| |
− | | eighth ||
| |
− | |-
| |
− | | eleventh ||
| |
− | |-
| |
− | | equal || Array, CheckLength, StartFrom
| |
− | |-
| |
− | | equalvalues || Array, CheckLength, StartFrom
| |
− | |-
| |
− | | eval ||
| |
− | |-
| |
− | | except ||
| |
− | |-
| |
− | | exec ||
| |
− | |-
| |
− | | explode || StartIndex, By, RecurseTillLevel
| |
− | |-
| |
− | | extract ||
| |
− | |-
| |
− | | few ||
| |
− | |-
| |
− | | fifteenth || Function
| |
− | |-
| |
− | | fifth ||
| |
− | |-
| |
− | | fillwith ||
| |
− | |-
| |
− | | filtermatches || MatchIdenticalMatrix, OnlyMatches
| |
− | |-
| |
− | | filteroncolumn || Condition, ExtractColumns, FilterOnColumn
| |
− | |-
| |
− | | filteroncondition || TakeDropOrAllFlag, Function, Parameter
| |
− | |-
| |
− | | filteronrow || Condition, ExtractColumns, FilterOnColumn
| |
− | |-
| |
− | | findcellref || Values
| |
− | |-
| |
− | | first || Count
| |
− | |-
| |
− | | firstelement || Count
| |
− | |-
| |
− | | firsthalf ||
| |
− | |-
| |
− | | fixat || Index,Fix
| |
− | |-
| |
− | | fjoin || HeadLength, JoinString
| |
− | |-
| |
− | | flatten ||
| |
− | |-
| |
− | | flip ||
| |
− | |-
| |
− | | flipparts ||
| |
− | |-
| |
− | | fold || AtFoldValue, AtReverseFoldValue
| |
− | |-
| |
− | | foldl || Function, StartSeed
| |
− | |-
| |
− | | foldr || Function, StartSeed
| |
− | |-
| |
− | | forward || Function, StartValue
| |
− | |-
| |
− | | fourteenth ||
| |
− | |-
| |
− | | fourth ||
| |
− | |-
| |
− | | fourths ||
| |
− | |-
| |
− | | funcjoin || HeadLength, FindString, FirstString, MidString, LastString
| |
− | |-
| |
− | | gettype ||
| |
− | |-
| |
− | | graph || Mode
| |
− | |-
| |
− | | graphin ||
| |
− | |-
| |
− | | half ||
| |
− | |-
| |
− | | halves ||
| |
− | |-
| |
− | | hderef || Array
| |
− | |-
| |
− | | head ||
| |
− | |-
| |
− | | headings ||
| |
− | |-
| |
− | | hindex ||
| |
− | |-
| |
− | | hundredth ||
| |
− | |-
| |
− | | i || PreviousArray
| |
− | |-
| |
− | | ic ||
| |
− | |-
| |
− | | ids ||
| |
− | |-
| |
− | | implode || RecurseTillLevel
| |
− | |-
| |
− | | inc ||
| |
− | |-
| |
− | | include ||
| |
− | |-
| |
− | | indices || Function,SubtractByArray,ScaleByArray,DoNotShowIndices,RowArray
| |
− | |-
| |
− | | injoin || JoinWith
| |
− | |-
| |
− | | insert || Value, AfterLastFlag
| |
− | |-
| |
− | | insertcolumn || Index, NumberOfColumns
| |
− | |-
| |
− | | insertrow || Index, NumberOfRows
| |
− | |-
| |
− | | inverse || Array
| |
− | |-
| |
− | | ir ||
| |
− | |-
| |
− | | is || Thing, IsNot
| |
− | |-
| |
− | | is1d ||
| |
− | |-
| |
− | | is2d ||
| |
− | |-
| |
− | | isFalse ||
| |
− | |-
| |
− | | isTrue ||
| |
− | |-
| |
− | | islikelytype ||
| |
− | |-
| |
− | | isnotnull ||
| |
− | |-
| |
− | | isnull ||
| |
− | |-
| |
− | | istype ||
| |
− | |-
| |
− | | j ||
| |
− | |-
| |
− | | joincolumnswith || ArrayOfJoinCharacters,IsRepeat
| |
− | |-
| |
− | | joinrowswith || ArrayOfJoinCharacters,IsRepeat
| |
− | |-
| |
− | | joinwith ||
| |
− | |-
| |
− | | jq ||
| |
− | |-
| |
− | | keep ||
| |
− | |-
| |
− | | last ||
| |
− | |-
| |
− | | lastelement ||
| |
− | |-
| |
− | | list ||
| |
− | |-
| |
− | | lookup ||
| |
− | |-
| |
− | | make ||
| |
− | |-
| |
− | | make1to2d ||
| |
− | |-
| |
− | | makecore ||
| |
− | |-
| |
− | | makekeyarray ||
| |
− | |-
| |
− | | maplist ||
| |
− | |-
| |
− | | mapper ||
| |
− | |-
| |
− | | maprow ||
| |
− | |-
| |
− | | mask ||
| |
− | |-
| |
− | | match ||
| |
− | |-
| |
− | | matchcolumn ||
| |
− | |-
| |
− | | matchindex ||
| |
− | |-
| |
− | | matchrow ||
| |
− | |-
| |
− | | matchvalue ||
| |
− | |-
| |
− | | merge ||
| |
− | |-
| |
− | | mergecolumns ||
| |
− | |-
| |
− | | mergeio ||
| |
− | |-
| |
− | | mergerows ||
| |
− | |-
| |
− | | mid ||
| |
− | |-
| |
− | | millionth ||
| |
− | |-
| |
− | | multiply ||
| |
− | |-
| |
− | | nicejoin ||
| |
− | |-
| |
− | | nineteenth ||
| |
− | |-
| |
− | | nineth ||
| |
− | |-
| |
− | | nodeindex ||
| |
− | |-
| |
− | | notinclude ||
| |
− | |-
| |
− | | notwithinlimits ||
| |
− | |-
| |
− | | nth ||
| |
− | |-
| |
− | | ntimes ||
| |
− | |-
| |
− | | nullifyobjects ||
| |
− | |-
| |
− | | numbers ||
| |
− | |-
| |
− | | o ||
| |
− | |-
| |
− | | objects ||
| |
− | |-
| |
− | | of ||
| |
− | |-
| |
− | | otherthan ||
| |
− | |-
| |
− | | pack ||
| |
− | |-
| |
− | | pad ||
| |
− | |-
| |
− | | pair ||
| |
− | |-
| |
− | | pairmatch ||
| |
− | |-
| |
− | | partitiononcondition ||
| |
− | |-
| |
− | | parts ||
| |
− | |-
| |
− | | pastefolds ||
| |
− | |-
| |
− | | pick ||
| |
− | |-
| |
− | | pieces ||
| |
− | |-
| |
− | | pip ||
| |
− | |-
| |
− | | pipall ||
| |
− | |-
| |
− | | pipallwithslice ||
| |
− | |-
| |
− | | plot ||
| |
− | |-
| |
− | | prefix ||
| |
− | |-
| |
− | | primitives ||
| |
− | |-
| |
− | | print ||
| |
− | |-
| |
− | | printf ||
| |
− | |-
| |
− | | r ||
| |
− | |-
| |
− | | rand ||
| |
− | |-
| |
− | | random ||
| |
− | |-
| |
− | | remove ||
| |
− | |-
| |
− | | removeByVal ||
| |
− | |-
| |
− | | removeindices ||
| |
− | |-
| |
− | | removewith ||
| |
− | |-
| |
− | | repeatntimes ||
| |
− | |-
| |
− | | replace ||
| |
− | |-
| |
− | | replicate ||
| |
− | |-
| |
− | | rest ||
| |
− | |-
| |
− | | result ||
| |
− | |-
| |
− | | reverselevel ||
| |
− | |-
| |
− | | reversepip ||
| |
− | |-
| |
− | | reversesort ||
| |
− | |-
| |
− | | ri ||
| |
− | |-
| |
− | | rotate ||
| |
− | |-
| |
− | | rotatecolumns ||
| |
− | |-
| |
− | | rotaterows ||
| |
− | |-
| |
− | | row ||
| |
− | |-
| |
− | | rowconcat ||
| |
− | |-
| |
− | | rowcount ||
| |
− | |-
| |
− | | rowlengths ||
| |
− | |-
| |
− | | rowpush ||
| |
− | |-
| |
− | | rows ||
| |
− | |-
| |
− | | rslice ||
| |
− | |-
| |
− | | second ||
| |
− | |-
| |
− | | secondhalf ||
| |
− | |-
| |
− | | seq ||
| |
− | |-
| |
− | | set ||
| |
− | |-
| |
− | | setHeadings ||
| |
− | |-
| |
− | | setaxis ||
| |
− | |-
| |
− | | setcolumn ||
| |
− | |-
| |
− | | setrow ||
| |
− | |-
| |
− | | setunit ||
| |
− | |-
| |
− | | seventeenth ||
| |
− | |-
| |
− | | seventh ||
| |
− | |-
| |
− | | shiftlevel ||
| |
− | |-
| |
− | | shuffle ||
| |
− | |-
| |
− | | sixteenth ||
| |
− | |-
| |
− | | sixth ||
| |
− | |-
| |
− | | size ||
| |
− | |-
| |
− | | size2d ||
| |
− | |-
| |
− | | slices ||
| |
− | |-
| |
− | | slides ||
| |
− | |-
| |
− | | sortrecursively ||
| |
− | |-
| |
− | | sortwith ||
| |
− | |-
| |
− | | specialprint ||
| |
− | |-
| |
− | | spliteach ||
| |
− | |-
| |
− | | splitwhile ||
| |
− | |-
| |
− | | splitwhileasvector ||
| |
− | |-
| |
− | | stringlist ||
| |
− | |-
| |
− | | subtract ||
| |
− | |-
| |
− | | suchthat ||
| |
− | |-
| |
− | | suchthatasvector ||
| |
− | |-
| |
− | | suffix ||
| |
− | |-
| |
− | | t ||
| |
− | |-
| |
− | | table ||
| |
− | |-
| |
− | | tablelookup ||
| |
− | |-
| |
− | | tail ||
| |
− | |-
| |
− | | takewhile ||
| |
− | |-
| |
− | | takewhileasvector ||
| |
− | |-
| |
− | | tenth ||
| |
− | |-
| |
− | | third ||
| |
− | |-
| |
− | | thirds ||
| |
− | |-
| |
− | | thirteenth ||
| |
− | |-
| |
− | | thousandth ||
| |
− | |-
| |
− | | tofunctions ||
| |
− | |-
| |
− | | toobjectformat ||
| |
− | |-
| |
− | | totree ||
| |
− | |-
| |
− | | transpose ||
| |
− | |-
| |
− | | truefalse ||
| |
− | |-
| |
− | | twelfth ||
| |
− | |-
| |
− | | twentieth ||
| |
− | |-
| |
− | | twod ||
| |
− | |-
| |
− | | type ||
| |
− | |-
| |
− | | uncrosstab ||
| |
− | |-
| |
− | | unimplode ||
| |
− | |-
| |
− | | unimplodeleaf ||
| |
− | |-
| |
− | | unitsof ||
| |
− | |-
| |
− | | unwrapleaf ||
| |
− | |-
| |
− | | unzip ||
| |
− | |-
| |
− | | value ||
| |
− | |-
| |
− | | where ||
| |
− | |-
| |
− | | withinlimits ||
| |
− | |-
| |
− | | withouttail ||
| |
− | |-
| |
− | | x$ ||
| |
− | |-
| |
− | | xy ||
| |
− | |-
| |
− | | xypanel ||
| |
− | |-
| |
− | | z3 ||
| |
− | |-
| |
− | | zero ||
| |
− | |-
| |
− | | zip ||
| |
− | |-
| |
− | | zoompip ||
| |
− | |-
| |
− | |㪭㭲 ||
| |
− |
| |
− | |}
| |
| | | |
| | | |
| + | *[[ Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member Functions]] |
| *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]] | | *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]] |
| *[[ Z3 | << Z3 Home ]] | | *[[ Z3 | << Z3 Home ]] |