Crate lib

source ·

Structs

  • A dataframe struct similar to pythons pandas dataframe but with less functionality and only for integers The dataframe is stored as a vector of vectors The first vector contains the column names The rest of the vectors contain the data The data is stored as a vector of vectors
  • Equation struct that can be used to solve equations with two numbers and an operator (+, -, *, /, %, ^) Sol is the solution to the equation and is calculated when get_sol() is called.
  • EquationF is an equation similar to Equation, but with f64 values. Sol is calculated when get_sol() is called.
  • ZeroEquation is an equation with a list of values on one side and a solution on the other. Similar to Equation, but with a list of values (in a Vec) that will add up to the solution (or be subtracted if the number is negative). Sol is set to 0 and values can be moved to the solution side of the equation with move_to_sol().

Functions