Skip to content

Conversation

@william-hazem
Copy link

@william-hazem william-hazem commented Oct 13, 2021

Added Cramer's Algorithm for a 3x3 Matrix

  • Cramer's Alg implementation based on <matrix_3x3> data struct

Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! Thanks for submitting a PR! 😄 Please fix clang-tidy warnings.
Let us know if you need any help here or in our Discord server. 🙂

@Panquesito7 Panquesito7 added Autochecks are failing Failing CI Auto-checks Changes requested enhancement New feature or request Proper Documentation Required requested to write the documentation properly labels Oct 13, 2021
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 😄 👍
Please make separate PRs for each algorithm: one for the factiorial_n.c file, one for the matrix_3.c file, etc.

/* Testing function output*/
assert(factorial(0) == 1);
assert(factorial(1) == 1);
assert(factorial(5) == 120);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
assert(factorial(5) == 120);
assert(factorial(5) == 120);
std::cout << "All tests have successfully passed!\n";

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 40, std::cout is from iostream header, i'll change to printf function from stdio.h definition.

william-hazem and others added 15 commits October 15, 2021 21:21
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
* added Conversion/decimal_to_anybase.c

* Added Converstions/decimal_to_any_base.c

* Enhencement of decimal_to_any_base.c

* Update conversions/decimal_to_any_base.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update conversions/decimal_to_any_base.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* Update conversions/decimal_to_any_base.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update conversions/decimal_to_any_base.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* text enhencement and debugging

* comments norming

* builtin int types declacration changed into arch optimized int types

* comments norming

* Adding booleans and int types normalization

* Translation of the program into a function and tests added

* Commentary rewriting in decimal_to_anybase and code beautify

* added 1 comments in main and code beautify

* Commentary norming

* Code norming

* Apply suggestions from code review

Co-authored-by: Votre Nom <Vous@exemple.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
@william-hazem william-hazem mentioned this pull request Oct 16, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Autochecks are failing Failing CI Auto-checks Changes requested enhancement New feature or request Proper Documentation Required requested to write the documentation properly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants