Cargo Features

[dependencies]
lin_alg = { version = "1.1.4", default-features = false, features = ["no_std", "std", "encode", "cuda", "cuda-12050", "cuda-12060", "cuda-12080", "computer_graphics"] }
default = std

The std feature is set by default whenever lin_alg is added without default-features = false somewhere in the dependency tree.

no_std

Enables libm of num-traits

std default

Enables std of num-traits

Affects util::linspace, util::logspace

encode = bincode
cuda cuda-12050? cuda-12060? cuda-12080?

https://github.com/coreylowman/cudarc/blob/main/Cargo.toml Used internally for feature gates

cuda-12050 = cuda

Enables cuda-12050 of cudarc ^0.13.3

cuda-12060 = cuda

Enables cuda-12060 of cudarc ^0.13.3

cuda-12080 = cuda

Enables cuda-12080 of cudarc ^0.13.3

computer_graphics

The computer_graphics feature enables projection matrices, and other operations used in computer graphics.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bincode encode?
cudarc cuda-12050? cuda-12060? cuda-12080?

Enables cudarc ^0.13.3