Trait light_curve_dmdt::GridTrait
source · pub trait GridTrait<T>: Clone + Debug + Send + Syncwhere
T: Copy,{
fn get_borders(&self) -> &Array1<T>;
fn idx(&self, x: T) -> CellIndex;
fn cell_count(&self) -> usize { ... }
fn get_start(&self) -> T { ... }
fn get_end(&self) -> T { ... }
}
Expand description
Grid trait for dm or dt axis
Required Methods§
sourcefn get_borders(&self) -> &Array1<T>
fn get_borders(&self) -> &Array1<T>
Cell borders coordinates, cell_count() + 1 length Array1
Provided Methods§
sourcefn cell_count(&self) -> usize
fn cell_count(&self) -> usize
Number of cells