Skip to content

Matrix class : Update Print() class #46

Description

@JuliusDiestra

Update marsvin::Matrix::Print() method so all the matrix entries are printed with the same number of decimals.

Features:

  • If number of decimals is not mentioned, then 2 decimals are used.
  • To set the decimals, an input in the marsvin::Matrix::Print(int number_of_decimals) method can be added.
  • Consider using: std::setprecision(number_of_decimals).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions