# Scenic v0.10.2 Scenic.Math View Source

Helper functions that support Scenic mathematical operations.

The math functions are fairly straightforward. When performance is needed some have been broken out into a NIF.

The NIF functions are currently written for compatibility over top speed and as such, there is an opportunity to further improve them by calling out to CPU-specific vector instructions in the future.

# Link to this section Summary

# Link to this section Types

Link to this type

# line() View Source

Link to this type
# matrix()
View Source

# matrix()
View Source
matrix() :: binary()

matrix() :: binary()

Link to this type
# matrix_list()
View Source

# matrix_list()
View Source
matrix_list() :: [number()]

matrix_list() :: [number()]

Link to this type

# point() View Source

Link to this type

# quad() View Source

Link to this type

# triangle() View Source

Link to this type