Cargo Features

Peroxide has no features set by default.

[dependencies]
peroxide = { version = "0.38.1", features = ["O3", "plot", "nc", "parquet", "complex", "parallel", "csv", "serde", "json"] }
O3 = blas, lapack

Affects simpler::SimplerLinearAlgebra.cholesky, matrix::blas_mul, matrix::lapack_dgetrf, matrix::lapack_dgetri, matrix::lapack_dgetrs, matrix::lapack_dgeqrf, matrix::lapack_dgesvd, matrix::lapack_dpotrf, vector::blas_daxpy, vector::blas_daxpy_return, matrix::LinearAlgebra.cholesky

plot = pyo3

Affects util::plot

nc = netcdf

Affects dataframe::WithNetCDF

parquet = arrow2

Affects simpler::SimpleParquet, dataframe::WithParquet

complex = num-complex

Enables cgemm of matrixmultiply

matrixmultiply:

support for complex f32, complex f64

Affects peroxide::complex

parallel = rayon

Affects vector::par_map, vector::par_zip_with, fp::ParallelFPVector, fp::ParallelFPMatrix, math::ParallelVector, math::ParallelNormed, math::ParallelInnerProduct, math::ParallelMatrixProduct, math::ParallelVectorProduct

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.

csv implicit feature

Enables csv

csv:

Fast CSV parsing with support for serde

Affects dataframe::WithCSV

netcdf nc?

Enables netcdf ^0.7

pyo3 plot?

Enables pyo3 ^0.22

blas O3?
lapack O3?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

json implicit feature

Enables json

json:

JSON implementation in Rust

arrow2 parquet?
num-complex complex?
rayon parallel?