All Projects → hj-n → c_math_viewer

hj-n / c_math_viewer

Licence: MIT license
Parses, and hovers math formula of c mathematical library functions

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to c math viewer

vsc-material-theme-icons
Material Theme Icons, the most epic icons theme for Visual Studio Code and Material Theme.
Stars: ✭ 90 (+150%)
Mutual labels:  visual-studio-code, visual-studio-extension
vscode-terminal-manager
VSCode Extension to manage Terminals. Lets you add multiple optional terminals and easily switch through them. 🎉
Stars: ✭ 28 (-22.22%)
Mutual labels:  visual-studio-code, visual-studio-extension
Vsc Material Theme
Material Theme, the most epic theme for Visual Studio Code
Stars: ✭ 1,617 (+4391.67%)
Mutual labels:  visual-studio-code, visual-studio-extension
unity-tools
A Visual Studio Code Extension to provide some tools for Unity development
Stars: ✭ 25 (-30.56%)
Mutual labels:  visual-studio-code, visual-studio-extension
Shortcut-Menu-Bar-VSCode-Extension
Add handy buttons like beautify, show opened files, save, toggle terminal, etc to the editor menu bar in VSCode. You can also create your own buttons with custom commands. VSCode Marketplace link: https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
Stars: ✭ 126 (+250%)
Mutual labels:  visual-studio-code, visual-studio-extension
Headwind
An opinionated Tailwind CSS class sorter built for Visual Studio Code
Stars: ✭ 789 (+2091.67%)
Mutual labels:  visual-studio-code, visual-studio-extension
Processing Vscode
A Visual Studio Code extension for the programming language Processing
Stars: ✭ 141 (+291.67%)
Mutual labels:  visual-studio-code, visual-studio-extension
ScoreCardModel
Score card model for Credit Scoring System.
Stars: ✭ 105 (+191.67%)
Mutual labels:  math
asciimath-rs
Mathematical expression parser and evaluator
Stars: ✭ 16 (-55.56%)
Mutual labels:  math
react-katex
Display math in TeX with KaTeX and ReactJS
Stars: ✭ 135 (+275%)
Mutual labels:  math
Fourier-and-Images
Fourier and Images
Stars: ✭ 81 (+125%)
Mutual labels:  math
cds-for-code
VSCode extension for working with Microsoft Common Data Service (CDS)
Stars: ✭ 22 (-38.89%)
Mutual labels:  visual-studio-code
maskmath
An Explorable Essay on How Masks Can End COVID-19
Stars: ✭ 109 (+202.78%)
Mutual labels:  math
BigFraction
Java class that represents a fraction as a ratio of two BigIntegers, reduced to lowest terms.
Stars: ✭ 35 (-2.78%)
Mutual labels:  math
vector-math
Shader-math in haxe: library for GLSL vector operations, complete with swizzles and all
Stars: ✭ 30 (-16.67%)
Mutual labels:  math
Pycraft
Pycraft is the OpenGL, open world, video game made entirely with Python. This project is a game to shed some light on OpenGL programming in Python as it is a seldom touched area of Python's vast amount of uses. Feel free to give this project a run, and message us if you have any feedback!
Stars: ✭ 39 (+8.33%)
Mutual labels:  visual-studio-code
vscode-insertdatestring
An extension for Visual Studio Code that provides a configurable command for inserting the current date and time
Stars: ✭ 58 (+61.11%)
Mutual labels:  visual-studio-code
trac-nghiem-online
Xây dựng hệ thống trắc nghiệm online cho các trường THCS, THPT một cách nhanh chóng và dễ dàng. Không cần phải là lập trình viên
Stars: ✭ 64 (+77.78%)
Mutual labels:  math
Linear-Algebra-and-Its-Applications-notes
《线性代数及其应用》笔记
Stars: ✭ 196 (+444.44%)
Mutual labels:  math
elmmet
VS Code extension to compile emmet snippets to composition of elm functions
Stars: ✭ 17 (-52.78%)
Mutual labels:  visual-studio-code

C/C++ math formula viewer

Motivation

We can utilize useful mathematical functions in C/C++ by including math.h or cmath library. However, it is hard to recognize the full functionality of the function at a glance if the function call is deep and complex. The indirect function signature also reduces cognition. For example, it is hard to know the mathematical meaning of the following code:

log(sinf(atan2f(hypot(abs(a + b), abs(c)), d + f)).

This is inefficient!! It will be better to show the functionality with common math formula form:

Therefore, I implemented the plugin in which the users can directly see the following formula, driven by the overlapped math function.

Features

Hovering math formula

image

Quite intuitive. First, write the c or c++ code with the functions & constants from c math libraries. And if you point the math function with the mouse, the plugin parses the function and its arguments recursively and hovers the generated Unicode-style math formula.

Supporting cmath function

Absolute

abs labs llabs fabs fabsf fabsl cabs cabsf cabsl

Exponential

exp expf expl exp2 exp2f exp2l expm1 expm1f expm1l ldexp ldexpf ldexpl

Logarithm

log logf logl log2 log2f log2l log10 log10f log10l log1p log1pf log1pl

Nearest Integer

ceil ceilf ceill floor floorf floorl trunc truncf truncl round roundf roundl lround lroundf lroundl llround llroundf llroundl

Power

sqrt sqrtf sqrtl cbrt cbrtf cbrtl

Hypotenues

hypot hypotf hypotl

Trigonometric

sin sinf sinl cos cosf cosl tan tanf tanl asin asinf asinl acos acosf acosl atan atanf atanl sinh sinhf sinhl cosh coshf coshl tanh tanhf tanhl csinh csinhf csinhl ccosh ccoshf ccoshl ctanh ctanhf ctanhl asinh asinhf asinhl acosh acoshf acoshl atanh atanhf atanhl casinh casinhf casinhl cacosh cacoshf cacoshl catanh catanhf catanhl atan2 atan2f atan2l

Error

erf erff erfl erfc erfcf erfcl

Gamma

tgamma tgammaf tgammal lgamma lgammaf lgammal

Release Notes

1.0.0

Initial release of the plugin Hovers generated math formula when the user points certain math function

1.0.4

Real Ready for the release (cleanup code, add logo, eliminate unneccesary functionalities)

Future plan

  • viewing latex style formula
  • Support more language (java, python...)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].