Function File: S = abcd(element, value, …)

Create an abcd matrix chain from element/value pairs.

https://en.wikipedia.org/wiki/Ray_transfer_matrix_analysis

Valid elements are:

propagation

value: [distance]

thin-lens

value: [focal_length]

flat-refraction

value: [n1, n2]

curved-refraction

value: [n1, n2, R]

flat-mirror

value: []

curved-mirror

value: [R]

thick-lens

value: [n1, n2, R1, R2, t]

See demo @abcd/trace for examples.

See also: trace.

Package: optics