math-base-special-atan2d

Compute the angle in the plane (in degrees) between the positive x-axis and the ray from (0,0) to the point (x,y).

https://github.com/deusallrising/math-base-special-atan2d

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary

Keywords

arctangent atan atan2 atan2d inverse javascript mathematics nodejs number quotient stdlib trig trigonometry value

Keywords from Contributors

iterator tokenizer normal name memoization pair delimited capitals abbreviate expected
Last synced: 6 months ago · JSON representation ·

Repository

Compute the angle in the plane (in degrees) between the positive x-axis and the ray from (0,0) to the point (x,y).

Basic Info
  • Host: GitHub
  • Owner: Deusallrising
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 240 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
arctangent atan atan2 atan2d inverse javascript mathematics nodejs number quotient stdlib trig trigonometry value
Created 11 months ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

```markdown

🧮 Math Base Special Atan2d

Compute the angle in the plane (in degrees) between the positive x-axis and the ray from (0,0) to the point (x,y).

Atan2d Visualization

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Examples
  5. Contributing
  6. License
  7. Contact

Features

  • Calculate the angle in degrees for any point in 2D space.
  • Works seamlessly with JavaScript and Node.js.
  • Utilizes trigonometric functions to provide accurate results.
  • Lightweight and easy to integrate into existing projects.
  • Follows standard mathematical practices for computing angles.

Installation

To install the package, you can use npm or yarn.

Using npm:

bash npm install math-base-special-atan2d

Using yarn:

bash yarn add math-base-special-atan2d

Usage

After installing the package, you can import it into your project.

```javascript const atan2d = require('math-base-special-atan2d');

// Compute angle const angle = atan2d(y, x); console.log(The angle is: ${angle} degrees); ```

This function accepts two parameters: y and x, which represent the coordinates of the point in the 2D plane.

Examples

Here are a few examples of how to use the function:

Example 1: Positive Coordinates

javascript const angle1 = atan2d(1, 1); console.log(angle1); // Output: 45 degrees

Example 2: Negative Coordinates

javascript const angle2 = atan2d(-1, -1); console.log(angle2); // Output: -135 degrees

Example 3: Mixed Coordinates

javascript const angle3 = atan2d(-1, 1); console.log(angle3); // Output: -45 degrees

Example 4: Axis-aligned Points

```javascript const angle4 = atan2d(0, 1); console.log(angle4); // Output: 0 degrees

const angle5 = atan2d(1, 0); console.log(angle5); // Output: 90 degrees ```

Contributing

We welcome contributions! If you want to improve the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a pull request.

License

This project is licensed under the MIT License. Feel free to use and modify it as you see fit.

Contact

If you have any questions or need support, feel free to reach out:

Releases

For the latest version and updates, check out the Releases section. You can download and execute the files from there.

Latest Release

Topics

This repository covers the following topics:

  • Arctangent
  • Atan
  • Atan2
  • Atan2d
  • Inverse
  • JavaScript
  • Math
  • Mathematics
  • Node.js
  • Number
  • Quotient
  • Standard Library
  • Trigonometry
  • Value

Additional Resources

Thank you for checking out Math Base Special Atan2d! Happy coding! 😊 ```

Owner

  • Login: Deusallrising
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
title: stdlib
message: >-
  If you use this software, please cite it using the
  metadata from this file.

type: software

authors:
  - name: The Stdlib Authors
    url: https://github.com/stdlib-js/stdlib/graphs/contributors

repository-code: https://github.com/stdlib-js/stdlib
url: https://stdlib.io

abstract: |
  Standard library for JavaScript and Node.js.

keywords:
  - JavaScript
  - Node.js
  - TypeScript
  - standard library
  - scientific computing
  - numerical computing
  - statistical computing

license: Apache-2.0 AND BSL-1.0

date-released: 2016

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 2
  • Total Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
stdlib-bot n****y@s****o 1
Deusallrising m****3@o****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

benchmark/julia/REQUIRE julia
  • BenchmarkTools 0.5.0
  • julia 1.5
test/fixtures/julia/REQUIRE julia
  • JSON 0.21
  • julia 1.5
package.json npm
  • @stdlib/bench-harness ^0.2.2 development
  • @stdlib/console-log-each-map github:stdlib-js/console-log-each-map#main development
  • @stdlib/constants-float64-eps ^0.2.2 development
  • @stdlib/constants-float64-ninf ^0.2.2 development
  • @stdlib/constants-float64-pinf ^0.2.2 development
  • @stdlib/math-base-assert-is-nan ^0.2.2 development
  • @stdlib/math-base-assert-is-negative-zero ^0.2.2 development
  • @stdlib/math-base-assert-is-positive-zero ^0.2.2 development
  • @stdlib/math-base-special-abs ^0.2.2 development
  • @stdlib/random-array-uniform ^0.2.1 development
  • @stdlib/utils-try-require ^0.2.2 development
  • istanbul ^0.4.1 development
  • tap-min git+https://github.com/Planeshifter/tap-min.git development
  • tape git+https://github.com/kgryte/tape.git#fix/globby development
  • @stdlib/math-base-napi-binary ^0.3.0
  • @stdlib/math-base-special-atan2 ^0.3.0
  • @stdlib/math-base-special-rad2deg ^0.2.3
  • @stdlib/utils-library-manifest ^0.2.2