Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the pol2cart functionality for Symbolic compatibility #1319

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

Sonu0305
Copy link
Contributor

@Sonu0305 Sonu0305 commented Jan 16, 2025

Partial Completion of #865

  • Added a new pol2cart.m file in the @sym directory
  • Updated the INDEX
  • Added see also pol2cart in the cart2pol.m file

@Sonu0305
Copy link
Contributor Author

Hi @cbm755 ,
Could you please review this when you have a chance, Thank You.

% ! [x_2, y_2, z_2] = pol2cart (theta, r, z);
% ! assert (isequal (x_2, r .* cos (theta)));
% ! assert (isequal (y_2, r .* sin (theta)));
% ! assert (isequal (z_2, z * ones (2, 2)));
Copy link
Collaborator

Choose a reason for hiding this comment

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

minor formatting issue here? no space between % and `!~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed, I overlooked it, sorry.

@cbm755
Copy link
Collaborator

cbm755 commented Jan 18, 2025

looks good to me! minor clean up and then happy to merge!

@Sonu0305
Copy link
Contributor Author

looks good to me! minor clean up and then happy to merge!

@cbm755
Done, cleaned up the space between % and !,
Thank You.

@cbm755 cbm755 merged commit 0fe0f07 into gnu-octave:main Jan 20, 2025
31 checks passed
@Sonu0305 Sonu0305 deleted the fix#865 branch January 20, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants