8000 GitHub - Gowtham-mg/scicalc: Scicalc for OCG
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gowtham-mg/scicalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scicalc

Technical description

  • flutter_riverpod - state management solution
  • few packages like petitparser, expressions and others to parse and evaluate the input expression.

Features

Basic Calculation

basic calc screenshot

We can perform basic calculations such as addition, subtration, multiplication and division of numbers


Advanced Calculation

advanced calc screenshot Supported operations:

  • () - Grouping of a huge expression like programming languages which gives result by evaluating based on BODMAS rule
  • sin - Sine
  • cos - Cosine
  • tan - Tan
  • ln - Natural Logarithm
  • log - Logarithm
  • X^ - Power of X
  • x^3 - Cube of x
  • x! - Factorial of x
  • x^-1 - X Power of -1
  • √½ - sqrt of 1/2
  • √ - performs square root operation
  • π - inserts value of pi = (22/7) or 3.14
  • +, - , *, /, % - Performs addition, subtraction, multiplication, division, modulo.

Other features

The calc screen is just a pageview which we can slide and choose any other options to to change the view of calc to the selected option.

advanced calc screenshot

If basic option is shown, the option will be advanced or if it is advanced, the option will be basic

BMI Calcuator:

This BMI calculator's design is inspired from Angela Yu's BMI calculator.

Input screen

bmi calc input screenshot

Result screen

bmi calc result screenshot

Speed, Distance & Temperature calculation

Speed distance and temperature conversion UI looks almost same, with two dropdowns for from and to conversion and on value changed from one input box, we can get the result on the other and vice versa too.

distance calc screenshot

Matrix-Operations

Matrix-Transposition

We need to select the dimension of our matrix from the dropdown and enter the matrix values in the input box as comma-separated. For Eg: A 2*2 matrix values can be 1,2,3,4 or any 4 values and on result is tapped, the result is shown below the result button.

Supported matrix operations in Matrix-transposition mode:


  • Matrix Transposition
  • Matrix row-wise reduce
  • Matrix column-wise reduce
  • Sum of matrix elements
  • Product of matrix elements
  • Max value of Matrix
  • Min value of Matrix

matrix-transposition screenshot


Supported Matrix operations:


  • Add Two Matrix
  • Add Matrix & Scalar
  • Multiply Matrix & vector
  • Multiply two Matrix
  • Multiply Matrix & Scalar
  • Element-wise Matrix Product
  • Element-wise Matrix Subtraction

matrix-operation screenshot

About

Scicalc for OCG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0