Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P project00
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cs3-19sp
  • project00
  • Merge requests
  • !2

An error occurred while fetching the assigned milestone of the selected merge_request.
The source project of this merge request has been removed.
Merged
Created 6 years ago by Caleb C. Sander@csanderMaintainer

Rename vector to Vector

  • Overview 0
  • Changes 1
  • Adam Blank @blank merged 6 years ago

    merged

  • Adam Blank @blank mentioned in commit 1867c8d9 6 years ago

    mentioned in commit 1867c8d9

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    24c8f7d5
    1 commit, 6 years ago

1 file
+ 7
- 5

    Preferences

    File browser
    Compare changes
vector.h
+ 7
- 5
  • View file @ 24c8f7d5

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
#define VECTOR_H
#define VECTOR_H
/**
/**
* A structure to represent 2d vectors
* A structure to represent 2D vectors.
 
* Note that this line declares a "struct vector" type
 
* and aliases it to "Vector".
*/
*/
typedef struct vector vector;
typedef struct vector Vector;
/** @brief Allocates memory for and initializes a vector
/** @brief Allocates memory for and initializes a vector
* to have x-component x and y-component y
* to have x-component x and y-component y
Show 20 lines Show all unchanged lines Show 20 lines
* @param y the character to print
* @param y the character to print
* @return a new vector that represents <x, y>
* @return a new vector that represents <x, y>
*/
*/
vector *vec_init(double x, double y);
Vector *vec_init(double x, double y);
/** @brief Frees the memory associated with vec
/** @brief Frees the memory associated with vec
*
*
* @param vec the vector to free
* @param vec the vector to free
* @return Void.
* @return Void.
*/
*/
void vec_free(vector *vec);
void vec_free(Vector *vec);
/** @brief Returns a new vector that represents the sum of v1 and v2
/** @brief Returns a new vector that represents the sum of v1 and v2
*
*
Show 20 lines Show all unchanged lines Show 20 lines
* @param v2 a vector
* @param v2 a vector
* @return a vector that represents the sum of v1 and v2
* @return a vector that represents the sum of v1 and v2
*/
*/
vector *vec_add(vector *v1, vector *v2);
Vector *vec_add(Vector *v1, Vector *v2);
#endif
#endif
 
\ No newline at end of file
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: master

Menu

Projects Groups Snippets
Help