Skip to content

Commit 053340f

Browse files
authored
Merge pull request #297 from blob1807/master
Add matrices to `raw_data`'s supported types.
2 parents 8ef83cf + 26445d6 commit 053340f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

content/docs/overview.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2669,11 +2669,12 @@ Procedures (Runtime Level) (all square matrix procedures) in `core:math/linalg`:
26692669
[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).
26702670

26712671
```odin
2672-
raw_data([]$E) -> [^]E // slices
2673-
raw_data([dynamic]$E) -> [^]E // dynamic arrays
2674-
raw_data(^[$N]$E) -> [^]E // fixed array and enumerated arrays
2675-
raw_data(^#simd[$N]$E) -> [^]E // simd vectors
2676-
raw_data(string) -> [^]byte //
2672+
raw_data([]$E) -> [^]E // slices
2673+
raw_data([dynamic]$E) -> [^]E // dynamic arrays
2674+
raw_data(^[$N]$E) -> [^]E // fixed array and enumerated arrays
2675+
raw_data(^#simd[$N]$E) -> [^]E // simd vectors
2676+
raw_data(^matrix[$I, $J]$E) -> [^]E // matrices
2677+
raw_data(string) -> [^]byte //
26772678
```
26782679

26792680
## `using` statement

0 commit comments

Comments
 (0)