Skip to content

Commit

Permalink
Add first basic OSQPMatrix type
Browse files Browse the repository at this point in the history
  • Loading branch information
bstellato committed May 10, 2018
1 parent b6aef90 commit 8b04e67
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/osqp.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,27 @@ extern "C" {
# include "cs.h"
# endif // ifndef EMBEDDED


/********************
* Main Solver API *
********************/


/**
* @name Main solver types
* @{
*/


/**
* OSQP Matrix in different representation formats
*/
typedef struct {
csc * csc; ///< matrix in CSC format
} OSQPMatrix;

/** @} */

/**
* @name Main solver API
* @{
Expand Down

0 comments on commit 8b04e67

Please sign in to comment.