Giter Club home page Giter Club logo

Comments (4)

ryant26 avatar ryant26 commented on August 16, 2024

This goes with #3

from ece420lab4.

ryant26 avatar ryant26 commented on August 16, 2024

Didn't make these signatures correctly when opened the issue.

double get_element(double*A, int row_size, int i, int j);
void set_element(double*A, int row_size, int i, int j, double value);

// The matrix argument would be just a pointer
// That is, it has not already been malloc'd
// mallocing the memory would be the job of create_matrix
void create_matrix(double ***matrix, int height, int width);

from ece420lab4.

ryant26 avatar ryant26 commented on August 16, 2024

I did a quick and dirty implementation of this right in utilities.Needs some cleaning up and documentation but you can take a look at it if you are stuck at all.

Also this version of "init_edge_matrix" inserts the number of outgoing edges.

utilities.c

from ece420lab4.

ryant26 avatar ryant26 commented on August 16, 2024

I apologize if you got very far on this, I didn't mean to step on your toes. But I pretty much had to implement this to move forward with testing the algorithm so I'm just going to close this.

from ece420lab4.

Related Issues (5)

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.