From 26445d6c246ae42372d83ff07bc233a84a5c7092 Mon Sep 17 00:00:00 2001 From: blob1807 <12388588+blob1807@users.noreply.github.com> Date: Sat, 26 Jul 2025 03:52:24 +1000 Subject: [PATCH] Add matrices to `raw_data`'s supported types. --- content/docs/overview.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/content/docs/overview.md b/content/docs/overview.md index 6653798e..6f3d15e5 100644 --- a/content/docs/overview.md +++ b/content/docs/overview.md @@ -2666,11 +2666,12 @@ Procedures (Runtime Level) (all square matrix procedures) in `core:math/linalg`: [raw_data](https://pkg.odin-lang.org/base/builtin/#raw_data) is a built-in procedure which returns the underlying data of a built-in data type as a [Multi-Pointer](#multi-pointers). ```odin -raw_data([]$E) -> [^]E // slices -raw_data([dynamic]$E) -> [^]E // dynamic arrays -raw_data(^[$N]$E) -> [^]E // fixed array and enumerated arrays -raw_data(^#simd[$N]$E) -> [^]E // simd vectors -raw_data(string) -> [^]byte // +raw_data([]$E) -> [^]E // slices +raw_data([dynamic]$E) -> [^]E // dynamic arrays +raw_data(^[$N]$E) -> [^]E // fixed array and enumerated arrays +raw_data(^#simd[$N]$E) -> [^]E // simd vectors +raw_data(^matrix[$I, $J]$E) -> [^]E // matrices +raw_data(string) -> [^]byte // ``` ## `using` statement