Crate csta

source ·
Expand description

This file contains the Randomizable trait and the basic vector types with all the operations implemented.

§CSTA

csta is a library for simulating and analyzing complex systems. It is designed to be modular and easy to use.

§Features

Modules§

  • Histogram module.
  • A module containing Indexing utilities for 2D and 3D grids with static dimensions The main purpose of this module is to provide a way to index into a 1D array as if it were a 2D or 3D array And not using x, y, z coordinates, but a single index that is transformed. This is useful for implementing cellular automata and other grid-based algorithms The main advantage of this approach is that it is faster than using a 2D or 3D array And it is more flexible than using a 1D array and manually calculating the index
  • Markov chain-like module
  • Contains the MonteCarlo struct and its implementation. The MonteCarlo struct is a wrapper around rand::Rng and rand::distributions::Distribution<f64>. It is used to generate random data and iterate over it.
  • This module contains the most commonly used types and traits in the library.

Structs§

Traits§

  • Its like Default but it generates a random value on a given distribution.