Skip to content
MARPLE Documentation
System Features
Initializing search
romilly/marple
MARPLE Documentation
romilly/marple
Home
Demos
Getting Started
Getting Started
Installation
The REPL
Your First Session
Tutorials
Tutorials
For Beginners
For Beginners
Arrays — Scalars, Vectors, Matrices
Scalar Functions and Scalar Extension
Reduce and Scan
Reshape and Iota — Building Arrays
Reading APL Right to Left
Writing Your First Dfn
For APL Programmers
For APL Programmers
MARPLE for Dyalog Users
MARPLE for J Users
MARPLE for GNU APL Users
Intermediate Topics
Intermediate Topics
The Rank Operator Step by Step
Indexing with From
Direct Functions in Depth
Direct Operators
Workspaces and Namespaces
Worked Examples
Worked Examples
Data Processing — CSV Pipeline
Statistics
Text Processing
Matrix Maths
Game of Life
How-To Guides
How-To Guides
Working with Arrays
Working with Arrays
How to select rows, columns, and elements
How to reshape and ravel arrays
How to transpose a matrix
How to sort a vector
How to concatenate arrays
How to filter (compress) an array
Using the Rank Operator
Using the Rank Operator
How to apply a function to each row
How to apply a function to each column
How to apply a function to each matrix in a 3D array
How to pair cells from two arrays
How to replace bracket-axis with rank
Strings and Text
Strings and Text
How to work with character arrays
How to split and join strings
How to trim whitespace
How to use escape sequences
File I/O
File I/O
How to read a text file
How to write a text file
How to read a file into a matrix
Error Handling
Error Handling
How to catch errors with ea
How to check error codes with en
How to write tests that expect errors
Namespaces and Imports
Namespaces and Imports
How to organise code with workspaces
How to import standard library functions
How to create your own library
Calling Python from APL
Calling Python from APL
How to use I-Beam
How to write a Python function for MARPLE
How to wrap a Python library for MARPLE
Performance
Performance
How to enable or disable the NumPy backend
How to check which backend is active
Tips for writing fast MARPLE code
Reference
Reference
Primitive Functions
Primitive Functions
Arithmetic
Comparison
Boolean
Structural
Mixed
Scalar Extension
Operators
Operators
Reduce
Scan
First-Axis Reduce and Scan
Outer Product
Inner Product
Rank
I-Beam
Direct Definition
Direct Definition
Dfns
Dops
Guards
Recursion
Array Model
Array Model
Shape, Rank, and Depth
Index Origin
Empty Arrays
Fill Elements
Indexing
Indexing
From
Bracket Indexing
Indexed Assignment
System Features
System Features
System Variables
System Commands
Standard Library
Standard Library
$:io — File I/O
$:str — Strings
$:sys — System
$:error — Error Handling
Glyph Input
Error Messages
Grammar
Explanation
Explanation
Why MARPLE Exists
How MARPLE Differs from Other APLs
The Rank Operator — History and Significance
Leading-Axis Theory
Direct Definition — Why Not Tradfns
The Python Connection
Troubleshooting
Troubleshooting
Common Errors
Common Mistakes
REPL Issues
Performance Issues
FAQ
Appendices
Appendices
Glossary
Further Reading
Changelog
Contributing
System Features
¶
System Variables
—
⎕IO
,
⎕CT
,
⎕PP
System Commands
—
)off
,
)save
,
)load
, etc.
Back to top