Giter Club home page Giter Club logo

sampleproject's Introduction

Hi, I'm Philip ๐Ÿ‘‹

Twitter Google Scholar

I'm a researcher in soft matter physics working on electrostatics โœจ in aqueous systems ๐ŸŒŠ using machine learning and molecular simulations ๐Ÿ’ป

PicoCentauri's GitHub stats

sampleproject's People

Contributors

atugushev avatar dansondergaard avatar di avatar dmtucker avatar gtback avatar hugovk avatar hulbert avatar ionelmc avatar ivoz avatar kapyshin avatar lepistone avatar makdon avatar marcelm avatar mgedmin avatar mizux avatar ncoghlan avatar pfmoore avatar pganssle avatar picocentauri avatar pradyunsg avatar qwcode avatar rbricheno avatar richardbronosky avatar rnetonet avatar ryanlong1004 avatar svisser avatar therealphildini avatar thisisparker avatar utkonos avatar xflr6 avatar

Stargazers

 avatar

Forkers

agoscinski

sampleproject's Issues

`inverse` function results 0 for any number different than 1

When trying to use the inverse function. I get a 0 for every value except when using 1 as an input.

from sample.simple import inverse 
a = 5
inverse(a)

Looking into the code I found that instead of the floating division $1/a$ integer divsion is used $\lfloor 1/a \rfloor$

def inverse(number):
return 1 // number

The operation should either be changed from integer divison // to floating / division.

`inverse` function results 0 for any number different than 1

When trying to use the inverse function. I get a 0 for every value except when using 1 as an input.

from sample.simple import inverse 
a = 5
inverse(a)

Looking into the code I found that instead of the floating division $1/a$ integer division is used $\lfloor 1/a \rfloor$

def inverse(number):
return 1 // number

The operation should either be changed from integer division // to floating / division.

`inverse` function results 0 for any number different than 1

When trying to use the inverse function. I get a 0 for every value except when using 1 as an input.

from sample.simple import inverse 
a = 5
inverse(a)

Looking into the code I found that instead of the floating division $1/a$ integer divsion is used $\lfloor 1/a \rfloor$

def inverse(number):
return 1 // number

The operation should either be changed from integer divison // to floating / division.

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.