JuliaWSAggregate EΒΆ

jwsagg.spad line 1 [edit on github]

Julia Wolfram Symbolic aggregate (WS list) using Wolfram Symbolic Transport Protocol.

#: % -> JuliaWSInteger

\#(agg) returns the length of agg. 0 if it is a scalar, an index for example.

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

accumulate: % -> % if E has JuliaWSNumber

accumulate(agg)

append: (%, E) -> %

append(l, elt) appends elt to the list l.

coerce: % -> JuliaWSExpression

coerce(agg) coerces agg to a JuliaWSExpression.

coerce: % -> OutputForm

from CoercibleTo OutputForm

coerce: List E -> %

coerce(list) tries to coerce list as a JuliaWSAggregate.

convert: % -> String

from ConvertibleTo String

delete: (%, JuliaWSList JuliaWSInteger) -> %

delete(l, inds) deletes element(s) of the list l at index(es) inds.

differences: % -> % if E has JuliaWSNumber

differences(agg)

dimensions: % -> JuliaWSList JuliaWSInteger

dimensions(agg) returns dimensions of agg.

elt: (%, Integer) -> E

elt(agg,i) returns the i-th element.

extract: (%, JuliaWSExpression) -> %

extract(agg, parts) extracts parts of agg.

first: % -> E

first(agg) returns the first element of agg.

insert: (%, E, JuliaWSInteger) -> %

insert(l, elt, ind) inserts elt to the list l at index ind.

intersection: (%, %) -> %

intersection(agg1, agg2) is the intersection set operator.

jlAbout: % -> Void

from JuliaObjectType

jlApply: (String, %) -> %

from JuliaObjectType

jlApply: (String, %, %) -> %

from JuliaObjectType

jlApply: (String, %, %, %) -> %

from JuliaObjectType

jlApply: (String, %, %, %, %) -> %

from JuliaObjectType

jlApply: (String, %, %, %, %, %) -> %

from JuliaObjectType

jlApply: (String, %, %, %, %, %, %) -> %

from JuliaObjectType

jlEval: % -> %

from JuliaWSObject

jlHead: % -> JuliaWSSymbol

from JuliaWSObject

jlId: % -> String

from JuliaObjectType

jlNumeric: % -> %

from JuliaWSObject

jlNumeric: (%, PositiveInteger) -> %

from JuliaWSObject

jlRef: % -> SExpression

from JuliaObjectType

jlref: String -> %

from JuliaObjectType

jlSymbolic: % -> String

from JuliaWSObject

jlType: % -> String

from JuliaObjectType

join: (%, %) -> %

join(agg1, agg2) join the two aggreagtes agg1 and agg2.

jWSAggregate: List E -> %

jWSAggregate(list) constructs agg as a JuliaWSAggregate.

jWSInterpret: (String, String) -> %

from JuliaWSObject

last: % -> E

last(agg) returns the last element of agg.

latex: % -> String

from SetCategory

length: % -> JuliaWSInteger

length(agg) returns the length of agg. 0 if it is a scalar, an index for example.

mutable?: % -> Boolean

from JuliaObjectType

nothing?: % -> Boolean

from JuliaObjectType

part: (%, JuliaWSInteger) -> E

part(agg,i) returns the i-th element.

prepend: (%, E) -> %

prepend(l, elt) prepends elt to the list l.

qelt: (%, Integer) -> E

qelt(agg,i) returns the i-th element. No checks are done at the FriCAS level.

qsetelt!: (%, Integer, E) -> %

qsetelt!(l,i,elem) returns l with i-th element replaced by elem. No checks are done at the FriCAS level.

qsetelt: (%, Integer, E) -> %

qsetelt(l,i,elem) returns a copy of l with i-th element replaced by the element elem. No checks are done at the FriCAS level.

removeDuplicates: % -> %

removeDuplicates(agg) removes duplicate elements.

replacePart: (%, %) -> %

replacePart(expr, part) replaces expr using rule(s) expressing position(s).

rest: % -> %

rest(agg) returns agg without the first element.

reverse: % -> %

reverse(agg) reverses the elements of agg.

reverse: (%, JuliaWSInteger) -> %

reverse(agg, lev) reverses the elements of agg at level lev.

reverse: (%, JuliaWSList JuliaWSInteger) -> %

reverse(agg, levels) reverses the elements of agg using levels.

riffle: (%, %) -> %

riffle(agg, elts) riffles (interleaves) element(s) elts i.e. insert them.

riffle: (%, %, %) -> %

riffle(agg, elts, inds) riffles (interleaves) element(s) elts i.e. insert them. If inds is {min, max, n} insert at position min, min+n, min+2n..max.

setelt!: (%, Integer, E) -> %

setelt!(l,i,elem) returns l with i-th element replaced by elem.

setelt: (%, Integer, E) -> %

setelt(l,i,elem) returns a copy of l with i-th element replaced by the element elem.

setIntersection: (%, %) -> %

intersection(agg1, agg2) is the intersection set operator.

sort: % -> %

sort(agg) returns agg in sorted order. For complex numbers, sorts them by their real part first.

sorted?: % -> Boolean

sorted?(agg) checks whether agg is sorted or not.

string: % -> String

from JuliaObjectType

take: (%, Integer) -> %

take(l,i) returns the first i-th elements.

take: (%, JuliaWSList JuliaWSInteger) -> %

take(l,i) returns the first i-th elements.

toString: % -> String

from JuliaWSObject

total: % -> E if E has JuliaWSNumber

total(agg) returns the sum of the elements in agg.

union: (%, %) -> %

union(agg1, agg2) is the union set operator. Elements are sorted on output.

BasicType

CoercibleTo OutputForm

ConvertibleTo String

JuliaObjectType

JuliaType

JuliaWSObject

SetCategory