Module rstats::triangmat

source ·
Expand description

Associated functions implemented for struct TriangMat

Constants

  • When interpolated, makes following foreground rendering bold blue
  • When interpolated, makes following foreground rendering bold cyan
  • When interpolated, makes following foreground rendering bold green
  • When interpolated, makes following foreground rendering bold magenta
  • When interpolated, makes following foreground rendering bold red
  • Returns the terminal rendering to default
  • When interpolated, makes following foreground rendering bold yellow

Traits

  • Trait to serialize tuples &(T,T) and &(T,T,T) and slices &[T], &[&[T]], &[Vec<T>]. Suitable for printing or writing to files pairs, triplets, all kinds of Vecs and slices and irregularly shaped 2D matrices.
    All are converted into Strings and optionally decorated and coloured. Included are methods and constants to render the resulting String in six primary bold ANSI terminal colours.
  • Methods to manipulate generic Vecs and slices of type &[T]