镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add .cis() methods for Float and Complex<Float> - #154

Open
PaulXiCao wants to merge 2 commits into
rust-num:mainfrom
PaulXiCao:iss136-cis
Open

PaulXiCao wants to merge 2 commits into
rust-num:mainfrom
PaulXiCao:iss136-cis

Conversation

@PaulXiCao

Copy link
Copy Markdown

Closes #136 .

This adds the .cis() method for Float and Complex<Float>.

Adding it as a trait-based method allows for overloading compared to a free standing implementation.

The Float version was already available as a free standing function. It could be discussed if it should be deprecated/removed infavour of the method version. (Maybe part of a separate issue/pr?)

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.

Proposal: Add complex cis function

1 participant