Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Setting and Getting Variable Values in Dynamic Programming - Mark II

Dyalog User Meetings via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Watch a 12-minute conference talk from Dyalog '24 exploring an evolved approach to variable assignment and value retrieval in APL programming. Learn about ⎕VSET and ⎕VGET, two improved solutions that address readability, performance, and safety concerns in handling variables with dynamic names. Discover practical applications including namespace manipulation, handling missing values, converting between tables and namespaces, and managing optional globals. Follow along with detailed syntax explanations and performance analyses while exploring various use cases such as setting default arguments for ambivalent functions, constructing namespaces from multiple sources, and populating class fields from name-value pairs.

Syllabus

Motivations
Set: current "state of the art"
⎕VSET: syntax and performance analysis
Get: current "state of the art"
⎕VGET: syntax and performance analysis
⎕VSET in detail
⎕VGET in detail
Source and target flexibility
⎕NS extension
Get variables from array of variable names
Set variables with array of name-value pairs
Set default left argument for an ambivalent tradfn
Base a new namespace on two source namespaces
Query data objects where some have missing values
Construct a namesoace from names and values
Populate class fields from name-value pairs
Convert table to namespace
Convert namespace to table
Check value of an optional global
Summary

Taught by

Dyalog User Meetings

Reviews

Start your review of Setting and Getting Variable Values in Dynamic Programming - Mark II

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.