Giter VIP home page Giter VIP logo

lines's Introduction

Lines development has ended. This is because of my work on other projects, namely Saucedacity. I encourage you to go check it out in addition to what else I might be working on.

As for the future of Lines, v3.1 is the last version, from the latest (and last) commit. Additionally, support requests regarding Lines will be ignored,


Lines

The Swiss Army Knife for linear graphs.

NOTE: Lines is NOT graphing calculator. It does not make a graph using an equation from your answer or by inputting one in the calculator.

What is Lines

Lines is a basic calculator that calculates the slope, y-intercept, and equation for a linear graph. However, Lines can do many more things too.

System Requirements

  • Lines is guaranteed to work on Linux and Windows
  • The binaries provided are 64-bit only

Compiling

  • Prior to Lines v3.1b1, you need boost installed for building Lines.

Features

  • You can find a graph's equation, y-intercept, and slope using two coordinate points
  • You can find a graph's equation and y-intercept using the slope and one coordinate point
  • You can generate coordinate points 2 different ways. More information is can be found at the Wiki.

For more information on Lines, see the Lines Wiki.

Contributing

For information on contributing, see CONTRIBUTING.md.

License

Lines is currently licensed under the GPL, version 3 or later.

lines's People

Contributors

generic-pers0n avatar

lines's Issues

[Experimental] Add support for arbitrary arithmetic

Is your feature request related to a problem? Please describe.

Generally, Lines is basic. Along with that comes the limitations of precision as well. While the default amount of precision is good enough for most people, it could be possible to expand on this some more.

Describe the solution you'd like

A solution to this issue is to add support for arbitrary arithmetic. This would enable for better precision, gives a more precise answer, and allows for inputs to be even more precise as well.

As for any extra dependencies, there would most likely be none, for I'm leaning towards using Boost for arbitrary arithmetic operations

Describe alternatives you've considered

An alternative to consider is changing the default data types for floats and integers used in Lines and liblines. Internally, they would all be switched to int64_t (for integers) and long double (for floating points. This should be more suitable for some people, but still has its limitations.

Additional context

An additional thing to add is that the user can compile Lines with or without support for arbitrary precision. Default builds, as I suggest, should come with just regular precision.

Also, as one final thing, this would mean in increase in the minimum required version of Boost. Currently, we require at least Boost 1.50. With added arbitrary arithmetic, this would result in a requirement of Boost 1.53. However, at the same time, I'm also recommending that (as a build requirement) that you use Boost 1.53 (or any later version) when making Lines for that same purpose. The probably that we'll go with Boost is very high.

Segmentation fault error when running 'gencoor' with no subcommands.

UPDATE: This issue is technically closed. Everything has been fixed since v3.1-dev1

Describe the bug

This bug was previously known before this issue was created. I am posting this issue so that it is publicly known

Whenever you would run the 'gencoor' command without any subcommands, it would produce a segmentation fault error on Linux.

To Reproduce

Steps to reproduce the behavior:

  1. Start Lines
  2. Run 'gencoor' at the command line

Expected behavior

What was supposed to happen here is what gencoor default does. In fact, that's the only reason why gencoor default is there: to circumvent this bug.

Desktop (please complete the following information):**

  • OS: Any (Linux, Windows, it's a general issue).
  • Version [e.g. v3.0]

Additional context

  • This issue is expected to be fixed in the next version of Lines.

Fraction support in inputs

Fraction support in inputs will be a major convenience. By adding fraction support, it will help simplify some complex numbers you would normally have to put in as a rounded version.

I am already aware of this and will some day add fraction support to inputs for Lines.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.