nalgebra::base::default_allocator - Rust
Description: The default matrix data storage allocator.
Keywords: rust, rustlang, rust-lang, default_allocator

# Module nalgebra::base::default_allocator

source ·
Expand description

The default matrix data storage allocator.

This will use stack-allocated buffers for matrices with dimensions known at compile-time, and heap-allocated buffers for matrices with at least one dimension unknown at compile-time.

## Structs

DefaultAllocator
An allocator based on `ArrayStorage` and `VecStorage` for statically-sized and dynamically-sized matrices respectively.