Giter VIP home page Giter VIP logo

Comments (2)

abt8601 avatar abt8601 commented on August 22, 2024

I guess using #pragma once and #include guards together is from a habit I picked up several years ago. I learnt somewhere that using #pragma once could decrease compilation time, so I started to use it (although the gain should be marginal for a project of this scale). At the same time, #pragma once is non-standard, so I use a regular #include guard as a backup. I guess I'll stick with regular #include guards in the future.

The Python API will pretty much be what's stated in the proposal with some minor changes. Pytest will be used to test the whole algorithm on simple datasets to see if the result makes sense – or, at the very least, doesn't return an array of NaNs. They should be pushed to the repository within a few days.

from diffusion-maps.

yungyuc avatar yungyuc commented on August 22, 2024

I guess using #pragma once and #include guards together is from a habit I picked up several years ago. I learnt somewhere that using #pragma once could decrease compilation time, so I started to use it (although the gain should be marginal for a project of this scale). At the same time, #pragma once is non-standard, so I use a regular #include guard as a backup. I guess I'll stick with regular #include guards in the future.

Either is OK. Having said that, I have not encountered a modern compiler that does not make #pragma once work perfectly for a while.

The Python API will pretty much be what's stated in the proposal with some minor changes. Pytest will be used to test the whole algorithm on simple datasets to see if the result makes sense – or, at the very least, doesn't return an array of NaNs. They should be pushed to the repository within a few days.

I look forward to it and will come back to take a look when I have time. Feel free to tag me if you want me to see anything.

from diffusion-maps.

Related Issues (1)

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.